(context: McpAuthContext)
| 12 | * pre-bound to the session's project/organization context. |
| 13 | */ |
| 14 | export function createMcpServer(context: McpAuthContext): McpServer { |
| 15 | const server = new McpServer( |
| 16 | { |
| 17 | name: SERVER_NAME, |
| 18 | version: SERVER_VERSION, |
| 19 | }, |
| 20 | { |
| 21 | capabilities: { |
| 22 | tools: {}, |
| 23 | }, |
| 24 | }, |
| 25 | ); |
| 26 | |
| 27 | registerAllTools(server, context); |
| 28 | |
| 29 | return server; |
| 30 | } |
no test coverage detected