{"version":3,"file":"mcp.mjs","names":[],"sources":["../../src/commands/mcp.ts"],"sourcesContent":["/** Run the Explorers MCP server over stdio */\nimport { defineCommand } from \"citty\";\n\nexport default defineCommand({\n  meta: {\n    name: \"mcp\",\n    description: \"Run the Explorers MCP server over stdio\",\n  },\n  async run() {\n    // The SDK and its zod schemas cost more than a megabyte to parse, so they wait until the\n    // server actually starts instead of loading for every `--help`.\n    const [{ StdioServerTransport }, { createMcpServer }] = await Promise.all([\n      import(\"@modelcontextprotocol/sdk/server/stdio.js\"),\n      import(\"../mcp.js\"),\n    ]);\n    const server = createMcpServer();\n    await server.connect(new StdioServerTransport());\n  },\n});\n"],"mappings":";AAGA,IAAA,cAAe,cAAc;CAC3B,MAAM;EACJ,MAAM;EACN,aAAa;CACf;CACA,MAAM,MAAM;EAGV,MAAM,CAAC,EAAE,wBAAwB,EAAE,qBAAqB,MAAM,QAAQ,IAAI,CACxE,OAAO,8CACP,OAAO,aACT,CAAC;EAED,MADe,gBACJ,CAAC,CAAC,QAAQ,IAAI,qBAAqB,CAAC;CACjD;AACF,CAAC"}