/ 目录 / 演练场 / Vercel MCP Handler
● 官方 vercel ⚡ 即开即用

Vercel MCP Handler

作者 vercel · vercel/mcp-handler

Easily spin up an MCP Server on Next.js, Nuxt, Svelte, and more — first-class MCP tooling from Vercel.

Vercel MCP Handler is a MCP server maintained by vercel. Easily spin up an MCP Server on Next.js, Nuxt, Svelte, and more — first-class MCP tooling from Vercel. See README for installation and configuration: https://github.com/vercel/mcp-handler

为什么要用

核心特性

实时演示

实际使用效果

vercel-mcp-handler.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "vercel-mcp-handler": {
      "command": "npx",
      "args": [
        "-y",
        "@vercel/vercel-mcp-handler"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "vercel-mcp-handler": {
      "command": "npx",
      "args": [
        "-y",
        "@vercel/vercel-mcp-handler"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "vercel-mcp-handler": {
      "command": "npx",
      "args": [
        "-y",
        "@vercel/vercel-mcp-handler"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "vercel-mcp-handler": {
      "command": "npx",
      "args": [
        "-y",
        "@vercel/vercel-mcp-handler"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "vercel-mcp-handler",
      "command": "npx",
      "args": [
        "-y",
        "@vercel/vercel-mcp-handler"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "vercel-mcp-handler": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@vercel/vercel-mcp-handler"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add vercel-mcp-handler -- npx -y @vercel/vercel-mcp-handler

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: Vercel MCP Handler

Use Vercel MCP Handler for its primary workflow

👤 Claude Code / MCP client users ⏱ ~20 min intermediate

何时使用: See repo README for canonical use cases.

前置条件
  • Repo cloned or package installed — See https://github.com/vercel/mcp-handler
步骤
  1. Install
    Install Vercel MCP Handler per README.✓ 已复制
    → Tool/skill registered with client
  2. Configure
    Provide credentials/config as instructed.✓ 已复制
    → Successful auth/init
  3. Use
    Run a sample task with Vercel MCP Handler.✓ 已复制
    → Expected output

结果: You can drive the documented workflow end-to-end.

注意事项
  • Skipping README — Read the repo README and CHANGELOG before shipping to prod.

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
primary see README Primary action free

成本与限制

运行它的成本

API 配额
None of its own; bounded by upstream provider quotas if any
每次调用 Token 数
Depends on usage
费用
Open source — check repo LICENSE
提示
Review upstream API costs (if any) before automating.

安全

权限、密钥、影响范围

最小权限: Whatever the upstream provider requires
凭据存储: Env vars or local config — never commit secrets
数据出站: Forwards data per its README
切勿授予: Full admin to untrusted prompts

故障排查

常见错误与修复

Auth fails

Verify credentials and required scopes match README.

验证: Re-read repo README auth section.
Tool not found by client

Ensure MCP client config points to correct command/path.

验证: Restart the client after editing config.

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills