@access-mcp/compute-resources
Version:
MCP server for ACCESS-CI Compute Resources API
12 lines (11 loc) • 419 B
JavaScript
import { ComputeResourcesServer } from "./server.js";
async function main() {
const server = new ComputeResourcesServer();
const port = process.env.PORT ? parseInt(process.env.PORT, 10) : undefined;
await server.start(port ? { httpPort: port } : undefined);
}
main().catch(() => {
// Log errors to a file instead of stderr to avoid interfering with JSON-RPC
process.exit(1);
});