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.)
İlgili Sunucular
Kone.vc
sponsorMonetize your AI agent with contextual product recommendations
Todoist
Full implementation of Todoist Rest API for MCP server
Jira MCP Server
An MCP server for interacting with the Jira API to manage projects, issues, and workflows.
Blender AI MCP
Modular MCP Server + Blender Addon for AI-Driven 3D Modeling.
jCodeMunch-MCP
Token-efficient MCP server for GitHub source code exploration via tree-sitter AST parsing
PromptThin
The invisible savings layer for AI Agents. Save 70% on tokens with zero code changes
Feishu/Lark OpenAPI
Connect AI agents to Feishu/Lark APIs for automating tasks like document processing, conversation management, and calendar scheduling.
Deckbuilder
Generate intelligent PowerPoint presentations using a content-first design philosophy.
QuickBooks Time
Access all QuickBooks Time API functionality through a single MCP server interface.
ActivityWatch MCP Server (Swift)
Provides structured access to ActivityWatch time tracking data for AI assistants.
Brightspace MCP Server
MCP server for Brightspace (D2L): check grades, due dates, announcements, rosters & more using Claude, ChatGPT, Cursor, or any MCP client.