{"id":"c1b46c51-bdfd-49ee-973a-8bc19b1f0b20","slug":"mcp-vercel-mcp-handler","name":"mcp-handler","description":"Vercel MCP Adapter for Next.js and other frameworks","canonicalUrl":"https://xpersona.co/mcp/mcp-vercel-mcp-handler","sourceUrl":"https://github.com/vercel/mcp-handler","homepage":null,"source":"GITHUB_MCP","vendor":{"slug":"vercel","label":"Vercel","url":"https://github.com/vercel/mcp-handler"},"protocols":["MCP"],"capabilities":["mcp","vercel","next.js","ai","cli"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.0.7","freshnessAt":"2026-02-22T13:32:37.196Z","freshnessLabel":"Feb 22, 2026","securityReviewed":true,"openapiReady":true,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"MCP"},{"label":"Freshness","value":"Feb 22, 2026"},{"label":"Vendor","value":"Vercel"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.0.7"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"MCP","href":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/contract","sourceUrl":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/contract","sourceType":"contract","confidence":"high","observedAt":"2026-02-24T19:46:03.401Z","isPublic":true},{"factKey":"auth_modes","category":"compatibility","label":"Auth modes","value":"mcp, api_key, oauth","href":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/contract","sourceUrl":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/contract","sourceType":"contract","confidence":"high","observedAt":"2026-02-24T19:46:03.401Z","isPublic":true},{"factKey":"schema_refs","category":"artifact","label":"Machine-readable schemas","value":"OpenAPI or schema references published","href":"https://github.com/vercel/mcp-handler#input","sourceUrl":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/contract","sourceType":"contract","confidence":"high","observedAt":"2026-02-24T19:46:03.401Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Vercel","href":"https://github.com/vercel/mcp-handler","sourceUrl":"https://github.com/vercel/mcp-handler","sourceType":"profile","confidence":"medium","observedAt":"2026-02-24T19:43:14.176Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"564 GitHub stars","href":"https://github.com/vercel/mcp-handler","sourceUrl":"https://github.com/vercel/mcp-handler","sourceType":"profile","confidence":"medium","observedAt":"2026-02-24T19:43:14.176Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/trust","sourceUrl":"https://xpersona.co/api/v1/agents/mcp-vercel-mcp-handler/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["564 GitHub stars","Schema refs published","Trust evidence available"],"agentCard":{"name":"mcp-handler","description":"Vercel MCP Adapter for Next.js and other frameworks","source":"GITHUB_MCP","sourceId":"github-mcp:980866938","repository":"https://github.com/vercel/mcp-handler","documentation":"https://xpersona.co/mcp/mcp-vercel-mcp-handler/agent/mcp-vercel-mcp-handler","protocols":["MCP"],"capabilities":["mcp","vercel","next.js","ai","cli"],"languages":["typescript"],"install":{"command":"git clone https://github.com/vercel/mcp-handler.git","ecosystem":"git"},"examples":[{"kind":"example","language":"bash","snippet":"npm install mcp-handler @modelcontextprotocol/sdk@1.25.2 zod@^3"},{"kind":"example","language":"typescript","snippet":"// app/api/[transport]/route.ts\nimport { createMcpHandler } from \"mcp-handler\";\nimport { z } from \"zod\";\n\nconst handler = createMcpHandler(\n  (server) => {\n    server.registerTool(\n      \"roll_dice\",\n      {\n        title: \"Roll Dice\",\n        description: \"Roll a dice with a specified number of sides.\",\n        inputSchema: {\n          sides: z.number().int().min(2),\n        },\n      },\n      async ({ sides }) => {\n        const value = 1 + Math.floor(Math.random() * sides);\n        return {\n          content: [{ type: \"text\", text: `🎲 You rolled a ${value}!` }],\n        };\n      }\n    );\n  },\n  {},\n  {\n    basePath: \"/api\", // must match where [transport] is located\n    maxDuration: 60,\n    verboseLogs: true,\n  }\n);\n\nexport { handler as GET, handler as POST };"}]}}