Vercel MCP Server
An MCP server deployed on Vercel that provides a dice rolling tool.
Vercel MCP Server
A Model Control Protocol (MCP) server deployed on Vercel that provides a dice rolling tool.
Getting Started
Local Development
-
Install dependencies:
npm install -
Run the development server:
npm run dev -
Your MCP server will be available at
http://localhost:3000/api/mcp
Deploy to Vercel
- Push your code to a GitHub repository
- Connect your repository to Vercel
- Deploy with a single click
- Your MCP server will be available at
https://your-project.vercel.app/api/mcp
Available Tools
roll_dice
Rolls an N-sided die and returns the result.
Parameters:
sides(number): The number of sides on the die (minimum 2)
Example Response:
{
"content": [
{
"type": "text",
"text": "🎲 You rolled a 4!"
}
]
}
Connecting to MCP Hosts
Claude Desktop
Add the following to your Claude Desktop configuration:
{
"mcpServers": {
"vercel-mcp": {
"command": "npx",
"args": [
"@modelcontextprotocol/server-fetch",
"https://your-project.vercel.app/api/mcp"
]
}
}
}
Cursor
In Cursor, you can connect to your MCP server through the MCP settings by adding:
- Server URL:
https://your-project.vercel.app/api/mcp
Testing
You can test your MCP server by making HTTP requests to the endpoint. The server accepts MCP protocol messages over HTTP.
Project Structure
vercel-mcp/
├── app/
│ └── api/
│ └── mcp/
│ └── route.ts # MCP handler implementation
├── package.json
├── next.config.js
├── tsconfig.json
└── README.md
Next Steps
- Add more tools to your MCP server
- Customize the dice rolling tool
- Deploy to production on Vercel
- Connect to your favorite MCP host (Claude, Cursor, etc.)
관련 서버
Kone.vc
스폰서Monetize your AI agent with contextual product recommendations
QrVerloz MCP Server
Instantly generate QR codes without an account — active for 90 days, claimable forever, with destination retargeting and scan analytics.
Strateegia
Integrates with the Strateegia API, allowing AI assistants to access and interact with Strateegia projects.
Clawdentials
Trust layer for AI agent commerce: escrow payments, verifiable reputation, and bounty marketplace with USDC/USDT/BTC Lightning support.
n8n Workflow Builder
An MCP server for managing n8n workflows through its API.
Quire
This server allows AI assistants to interact with your Quire projects, tasks, and data securely.
CognitiveCompass MCP
A cognitive framework selector to help choose the right mental models and thinking frameworks for any situation.
Work Memory MCP Server
Manages work memories and shares context between AI tools using a local SQLite database.
Pandoc
A server for converting document formats using Pandoc.
Attio MCP Server
Interact with data in Attio, the AI-native CRM, enabling AI assistants to access and manage your customer relationship information.
iTop MCP Server
An MCP server for interacting with iTop ITSM systems via its REST API.