如何将 Vercel 远程 MCP 连接到 VS Code

约 1 分钟即可把 Vercel 的远程 MCP 服务端接入 VS Code。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~506 tok16 tools
Streamable HTTPhttps://mcp.vercel.com
Install in VS Code →

Or add to .vscode/mcp.json:

{
  "servers": {
    "vercel": {
      "type": "http",
      "url": "https://mcp.vercel.com"
    }
  }
}

接入步骤

  1. 打开 MCP 配置 — 使用本页 vscode: deeplink 一键安装,或在项目根目录创建 .vscode/mcp.json。
  2. 添加服务端 — 写入 { "servers": { "vercel": { "type": "http", "url": https://mcp.vercel.com } } }。
  3. 完成认证 — 首次调用时客户端会打开 Vercel 的 OAuth 授权页面——点击允许后工具即可用。
  4. 验证 — 重启 Copilot Chat 选择 Agent 模式后可看到工具。在 在线 Inspector 中粘贴 https://mcp.vercel.com 并运行 initialize + tools/list 验证连通性。

🧰 工具预览(16)

ToolSafetyDescriptionParameters
list_teams
~32 tok
🟢 ReadList Vercel teams accessible to the user.—
get_team
~29 tok
🟢 ReadGet details of a Vercel team.—
list_projects
~28 tok
🟢 ReadList Vercel projects.—
get_project
~30 tok
🟢 ReadGet details of a Vercel project.—
create_project
~30 tok
🟠 WriteCreate a new Vercel project.—
list_deployments
~31 tok
🟢 ReadList deployments of a project.—
get_deployment
~30 tok
🟢 ReadGet details of a deployment.—
get_deployment_build_logs
~33 tok
🟢 ReadGet build logs of a deployment.—
deploy_to_vercel
~30 tok
🟠 WriteDeploy a project to Vercel.—
cancel_deployment
~31 tok
🔴 DestructiveCancel a running deployment.—
list_domains
~27 tok
🟢 ReadList Vercel domains.—
get_domain
~28 tok
🟢 ReadGet details of a domain.—
list_env_vars
~33 tok
🟢 ReadList environment variables of a project.—
create_env_var
~32 tok
🟠 WriteCreate a project environment variable.—
search_vercel_documentation
~33 tok
🟢 ReadSearch Vercel documentation.—
delete_project
~29 tok
🔴 DestructiveDelete a Vercel project.—

更多连接指南