MCP.so
Sign In

MCP On Vercel

@xarical

Basic information

Category

Cloud & Infrastructure

License

MIT license

Transports

stdio

Author

xarical

About MCP On Vercel

MCP Server on Vercel template

MCP On Vercel config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-on-vercel": {
      "command": "node",
      "args": [
        "scripts/test-sse-client.mjs",
        "YOUR_MCP_SERVER_URL"
      ]
    }
  }
}

MCP On Vercel tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is mcp-on-vercel?

A template Model Context Protocol (MCP) server built with the TypeScript SDK, designed for deployment on Vercel. It lets developers define custom tools, prompts, and resources and test them locally or on Vercel’s infrastructure.

How to use mcp-on-vercel?

Install dependencies with npm install, then run the dev server with vercel dev. Edit api/server.ts to add your tools, prompts, and resources. Test using the provided SSE or streamable HTTP client scripts.

Key features of mcp-on-vercel

  • Ready‑to‑deploy MCP server template for Vercel
  • Supports Server‑Sent Events (SSE) and streamable HTTP transports
  • Includes test client scripts for both transports
  • Uses standard TypeScript SDK for tool/resource definitions
  • Environment variables accessible via process.env

Use cases of mcp-on-vercel

  • Deploying an MCP server with minimal setup on Vercel
  • Prototyping and testing MCP tools, prompts, and resources locally
  • Building a lightweight, serverless MCP endpoint with Redis/Upstash

Frequently asked questions

1

What runtime or dependencies does it require?

Node.js, the Vercel CLI, and a Redis or Upstash database connected to the Vercel project. Fluid Compute is recommended.

2

How do I run the server locally?

Run `npm install`, then `vercel dev` to start the development server.

3

How do I deploy the server?

Use the “Deploy to Vercel” button in the README, or manually import the repository and follow Vercel’s prompts.

4

What transports are supported?

SSE and streamable HTTP. Test scripts are provided in the `scripts/` directory.

5

Where can I define my MCP tools, prompts, and resources?

In the `api/server.ts` file, following the MCP TypeScript SDK documentation.

Comments

More Cloud & Infrastructure MCP servers