This is a Model Context Protocol (MCP) server template that you can deploy and use with any MCP-compatible client.
Deploy your MCP server to Vercel by clicking the "Publish" button in the top right corner.
In your Vercel project settings, add NEXT_PUBLIC_VERCEL_URL with your production URL as the value.
https://your-app.vercel.app/mcpTo create a new tool, simply prompt this template with the new tool you would like to create.
Example prompt:
Create a new tool in /app/mcp/route.ts that gets the first 3 pokemon from https://pokeapi.co/Important:
After adding a new tool, you need to push the tool to production by redeploying your app to Vercel. Your MCP clients will then be able to use the new tool.