MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / createMcpServer

Function createMcpServer

packages/mcp/src/server.ts:14–30  ·  view source on GitHub ↗
(context: McpAuthContext)

Source from the content-addressed store, hash-verified

12 * pre-bound to the session's project/organization context.
13 */
14export 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}

Callers 1

processRequestFunction · 0.90

Calls 1

registerAllToolsFunction · 0.90

Tested by

no test coverage detected