MCP Server Template

This is a Model Context Protocol (MCP) server template that you can deploy and use with any MCP-compatible client.

Setup Guide

1

Publish this app to production

Deploy your MCP server to Vercel by clicking the "Publish" button in the top right corner.

2

Add the Vercel production URL as an environment variable

In your Vercel project settings, add NEXT_PUBLIC_VERCEL_URL with your production URL as the value.

3

Copy and paste your MCP URL in your agent of choice

https://your-app.vercel.app/mcp

Available Tools

Add New Tools

To 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.