Update api/server.ts
with your tools, prompts, and resources following the MCP TypeScript SDK documentation.
vercel.json
and adjust max duration to 800 if you using a Vercel Pro or Enterprise accountscript/test-client.mjs
contains a sample client to try invocations.
node scripts/test-client.mjs https://mcp-on-vercel.vercel.app
Run an MCP server on Vercel.
Update api/server.ts
with your tools, prompts, and resources following the MCP TypeScript SDK documentation.
vercel.json
and adjust max duration to 800 if you using a Vercel Pro or Enterprise accountscript/test-client.mjs
contains a sample client to try invocations.
node scripts/test-client.mjs https://mcp-on-vercel.vercel.app