tpmjs/apps/web/src/lib
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
..
ai-agent feat: add comprehensive stats dashboard with D3 charts 2025-12-28 17:08:19 +10:00
health-check refactor: rename exportName to name across entire codebase 2025-12-17 17:19:21 +10:00
mcp feat: add MCP endpoint for collections 2026-01-02 04:25:33 +10:00
og fix: remove unused error variable in cache.ts 2025-12-29 21:56:48 +10:00
auth-client.ts fix: simplify auth client and use window.location for redirects 2026-01-01 23:33:44 +10:00
auth.ts fix: improve auth sign-in handling and cookie configuration 2026-01-02 01:04:29 +10:00
email.ts fix: lazy init Resend to avoid build-time errors 2026-01-01 22:43:39 +10:00
rate-limit.ts feat: add HN launch readiness features 2025-12-14 11:56:42 +10:00
rate-limiter.ts feat: add interactive tool playground with AI-powered execution 2025-11-30 00:36:05 +10:00
schema-extraction.ts refactor: rename exportName to name across entire codebase 2025-12-17 17:19:21 +10:00