@access-mcp/affinity-groups
Version:
MCP server for ACCESS-CI Affinity Groups API
12 lines (11 loc) • 415 B
JavaScript
import { AffinityGroupsServer } from "./server.js";
async function main() {
const server = new AffinityGroupsServer();
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);
});