MCP.so
登录

MCP On Vercel

@xarical

基本信息

分类

云与基础设施

许可证

MIT license

传输方式

stdio

作者

xarical

关于 MCP On Vercel

MCP Server on Vercel template

MCP On Vercel 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP On Vercel 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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.

评论

云与基础设施 分类下的更多 MCP 服务器