如何将 Vercel 远程 MCP 连接到 OpenAI Codex CLI

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

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

Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:

[mcp_servers.vercel]
url = "https://mcp.vercel.com"

接入步骤

  1. 编辑 TOML 配置 — 打开 ~/.codex/config.toml,加入 [mcp_servers.vercel] 与 url = "https://mcp.vercel.com"。
  2. 配置凭据 — 首次调用时客户端会打开 Vercel 的 OAuth 授权页面——点击允许后工具即可用。
  3. 验证 — 在 在线 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.—

更多连接指南