- Home
- MCP servers
- Vercel
Vercel
- typescript
0
GitHub Stars
typescript
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
This MCP server runs on Vercel and provides a lightweight dice-rolling tool you can access from any MCP client. It serves a simple API endpoint that evaluates dice rolls and returns the result, making it easy to integrate into chat apps, assistants, or automation workflows.
How to use
Connect to the MCP endpoint from your MCP client using either the HTTP URL or a local stdio runner. When you query the server with a roll request, you will receive a structured response that conveys the dice result in a readable format for display in your app or chat interface.
How to install
Prerequisites you need before starting: a modern Node.js runtime with npm installed.
Local development steps you can follow to run the MCP server on your machine:
Install dependencies
npm install
Run the development server
npm run dev
Access the MCP endpoint locally at: http://localhost:3000/api/mcp
Deploying to production on Vercel follows a standard workflow: push your code to a GitHub repository, connect it to Vercel, and deploy. After deployment, the MCP endpoint will be available at your project URL under /api/mcp.
Additional content
Server connection methods shown in this guide include both an HTTP endpoint and a local stdio runner. The HTTP URL is the primary access point for remote clients, while the stdio configuration enables running the MCP server as a local process that your MCP client can fetch from.
Available tools
roll_dice
Rolls an N-sided die and returns the result. Specify the number of sides with the sides parameter (minimum 2).