MCP.so
Sign In

mcp-on-vercel

@xarical

About mcp-on-vercel

MCP Server on Vercel template

Basic information

Category

Cloud & Infrastructure

License

MIT license

Runtime

node

Transports

stdio

Publisher

xarical

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"
      ]
    }
  }
}

Tools

No tools detected

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

FAQ from mcp-on-vercel

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.

How do I run the server locally?

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

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.

What transports are supported?

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

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