tpmjs/apps
Ajax Davis 828801f463 feat: add MCP endpoint for collections
Add Model Context Protocol (MCP) server endpoint for collections,
allowing users to connect Claude Desktop, Cursor, and other MCP
clients to use tools from their collections.

- POST /api/collections/[id]/mcp - JSON-RPC endpoint for MCP
- GET /api/collections/[id]/mcp - Server info for discovery
- Tool name conversion (e.g., @tpmjs/hello → tpmjs-hello--helloWorldTool)
- Handlers for initialize, tools/list, tools/call methods
- Executes tools via existing sandbox executor

Only public collections are accessible (no auth required).
2026-01-02 04:25:33 +10:00
..
playground fix: add biome-ignore comments and config overrides for lint issues 2026-01-02 01:51:46 +10:00
railway-executor fix: add biome-ignore comments and config overrides for lint issues 2026-01-02 01:51:46 +10:00
tutorial fix: use 'tpmjs' keyword instead of deprecated 'tpmjs-tool' 2025-12-31 20:28:37 +10:00
web feat: add MCP endpoint for collections 2026-01-02 04:25:33 +10:00