Vercel MCP Pro

io.github.helbertparanhos由 GitHub 账号 helbertparanhos 发布v1.0.0更新于 Oct 24, 2026

Complete Vercel MCP: deploys, logs, projects, env, domains, DNS, certs via the full REST API

发布方自己的服务:Agent Permissions Index

概览

AI 生成的概览

本地 MCP 服务器,让助手通过 Vercel REST API 管理部署、项目、环境变量、域名、DNS、证书、日志等资源。

可以做什么
管理部署:列出、查看、创建、取消、删除、提升、回滚,并读取构建或运行时日志及部署文件。管理项目与环境变量:创建、更新、删除、暂停项目,批量创建环境变量。管理域名、DNS 记录、别名与证书:添加、验证、分配、签发、上传和移除。管理检查、Webhook、Edge Config、日志 drains、集成、团队与用户信息。通过原始调用入口访问未被具名工具覆盖的任意 Vercel REST 端点。
适用场景
适合希望在任何 MCP 客户端中无需 OAuth 流程即可查看或操作 Vercel 账户的场景,例如排查部署失败、将预览提升为生产、快速回滚,或管理环境变量、域名和 DNS。只读模式适合审计与探索。
运行要求
通过 npx(Node.js)或本地构建在本地运行。需要在 VERCEL_TOKEN 中提供 Vercel 访问令牌。可选设置:VERCEL_TEAM_ID 或 VERCEL_TEAM_SLUG 指定默认团队范围,以及 VERCEL_READONLY、VERCEL_DISABLE_RAW、VERCEL_TIMEOUT_MS、VERCEL_MAX_RETRIES。需要访问 Vercel API 的网络连接。
安装前请注意
令牌拥有与你的 Vercel 账户或团队相同的权限,应使用最小权限的限定令牌,并避免粘贴到聊天中。许多工具会写入、删除、提升、回滚,或修改 DNS、证书和环境变量。只读模式只阻止变更,不阻止读取密钥:环境变量和 Edge Config 工具可返回解密后的值。团队 ID 只是默认范围,不是安全边界,调用方可传入其他团队。原始调用入口在未禁用时可访问任意 Vercel 端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vercel MCP Pro,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Vercel MCP Pro ▲

The most complete Vercel MCP server — 70 tools covering the entire Vercel REST API (deployments, projects, env vars, domains, DNS, aliases, certs, logs, checks, webhooks, edge config, teams) plus a vercel_raw escape hatch and a readonly safety mode.

[npm version] [License: MIT] [GitHub Stars] [GitHub Forks] [GitHub Issues] [Glama Quality]

[TypeScript] [Node.js] [MCP] [Claude Code] [Cursor] [Claude Desktop]

[Instagram] [YouTube] [LinkedIn] [Buy Me A Coffee] [Strat Academy]

Works in any MCP client — Claude Code, Claude Desktop, Cursor, ChatGPT — using a Vercel access token (no OAuth flow required). Ships with an optional /vercel skill that drives the Vercel CLI for terminal deploys.

Why this and not the official one?

Official mcp.vercel.comvercel-mcp-pro
AuthOAuth (approved clients only)Token (works everywhere, self-hosted)
CoverageDocs search, manage projects/deployments, analyze logsFull REST API: env, domains, DNS, aliases, certs, webhooks, edge config, checks, log drains…
Escape hatch—vercel_raw → any endpoint, 100% coverage
Safety—VERCEL_READONLY=true blocks all writes

Install

bash
npx -y vercel-mcp-pro

Or clone and build locally:

bash
git clone https://github.com/helbertparanhos/vercel-mcp-procd vercel-mcp-pronpm install && npm run build

Configuration

  1. Create a token at https://vercel.com/account/settings/tokens.
  2. Copy .env.example → .env and fill it in:
VariableRequiredDescription
VERCEL_TOKEN✅Personal or team access token.
VERCEL_TEAM_ID—Default team scope (injected as ?teamId). Leave empty for personal account.
VERCEL_TEAM_SLUG—Scope by team slug (alternative to VERCEL_TEAM_ID).
VERCEL_READONLY—true blocks all write/delete tools (and only allows vercel_raw GETs).
VERCEL_DISABLE_RAW—true removes the vercel_raw escape hatch.
VERCEL_TIMEOUT_MS—Request timeout (default 60000).
VERCEL_MAX_RETRIES—Retries on 429/5xx/network (default 3).

Add to your client

Claude Code

bash
claude mcp add vercel-mcp-pro -- npx -y vercel-mcp-pro

Or in this project's .claude/settings.json → mcpServers:

json
"vercel": {  "command": "node",  "args": ["projects/vercel-mcp-pro/dist/index.js"],  "env": {    "VERCEL_TOKEN": "your_token",    "VERCEL_TEAM_ID": "team_xxx"  }}

Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json (Windows) / ~/Library/Application Support/Claude/claude_desktop_config.json (Mac):

json
{  "mcpServers": {    "vercel": {      "command": "npx",      "args": ["-y", "vercel-mcp-pro"],      "env": { "VERCEL_TOKEN": "your_token", "VERCEL_TEAM_ID": "team_xxx" }    }  }}

Cursor

Paste the same config into .cursor/mcp.json.

Tools (70)

Deployments (11)

list_deployments · get_deployment · create_deployment · cancel_deployment · delete_deployment · get_deployment_events · list_deployment_files · get_deployment_file_contents · promote_deployment · rollback_deployment · get_promote_aliases

Projects (7)

list_projects · get_project · create_project · update_project · delete_project · pause_project · unpause_project

Environment Variables (6)

list_env_vars · get_env_var · create_env_var · bulk_create_env_vars · update_env_var · delete_env_var

Domains (9)

list_domains · get_domain · get_domain_config · add_domain · verify_domain · remove_domain · list_project_domains · add_project_domain · remove_project_domain

DNS (4)

list_dns_records · create_dns_record · update_dns_record · delete_dns_record

Aliases (4)

list_aliases · get_alias · assign_alias · delete_alias

Certificates (4)

get_cert · issue_cert · upload_cert · remove_cert

Logs (2)

get_build_logs · get_runtime_logs

Checks (5)

list_checks · get_check · create_check · update_check · rerequest_check

Webhooks (3)

list_webhooks · create_webhook · delete_webhook

Edge Config (6)

list_edge_configs · get_edge_config · get_edge_config_items · create_edge_config · update_edge_config_items · delete_edge_config

Teams & User (4)

get_user · list_teams · get_team · list_team_members

Integrations & Log Drains (4)

list_integrations · list_log_drains · create_log_drain · delete_log_drain

Escape hatch (1)

vercel_raw — call any Vercel REST endpoint (method + full versioned path + params + body). Guarantees 100% coverage even for niche/new endpoints (marketplace, sandboxes, feature-flags, access-groups, rolling-release…). Auto-injects your team scope; honored by readonly mode for GETs.

Common recipes

Diagnose a failed deploy

list_deployments(projectId:"my-app", state:"ERROR")  →  get_build_logs(idOrUrl:"dpl_...")

Ship a preview to production (no rebuild)

promote_deployment(projectId:"my-app", deploymentId:"dpl_...")

Roll back fast

rollback_deployment(projectId:"my-app", deploymentId:"dpl_previous")

Add an env var to all environments

create_env_var(projectId:"my-app", key:"API_KEY", value:"…", target:["production","preview","development"])

Anything not covered

vercel_raw(method:"GET", path:"/v1/security/firewall/config", params:{ projectId:"my-app" })

The /vercel CLI skill (bundled)

For terminal-driven deploys, this repo also ships a Claude Code skill in skill/ that drives the official Vercel CLI (vercel deploy, vercel logs, vercel env, vercel rollback). The MCP gives full API coverage in any client; the skill gives the smoothest git push → deploy loop in the terminal. They complement each other — see skill/SKILL.md.

Safety

  • VERCEL_READONLY=true blocks every write/delete tool — only reads and vercel_raw GETs run. Ideal for audits and exploration.
  • The vercel_raw path is sanitized (must start with a version segment like /v9/…; no scheme/host/traversal/control chars) and constrained to api.vercel.com.
  • Auth, retries (429 with Retry-After, 5xx, network) and rate-limiting are handled for you. The token only ever travels in the Authorization header — never in a query string or log.

Security model — read this before trusting the guards

  • VERCEL_READONLY blocks mutations, not reads of secrets. Read tools like list_env_vars (with decrypt:true), get_env_var and get_edge_config_items return decrypted values and still run in readonly mode — that's their purpose. If your environment must never surface secrets to the model, don't expose those tools / run against a least-privilege token.
  • VERCEL_TEAM_ID is a convenience scope, not a security boundary. It sets the default team, but a caller can pass a different teamId/slug per call (including via vercel_raw). The real boundary is the token's own scope — use a token limited to the team/projects you intend to automate.
  • Treat the token as production credentials. It grants the same access as your Vercel account/team. Prefer a scoped token, keep it in .env (gitignored) or your client's secret store, and rotate it if it's ever shared or pasted into a chat.

License

MIT © Helbert Paranhos / Strat Academy

来源:README.md,提交 619738e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Vercel 集成