Vercel MCP
Connect Claude Code or Codex to Vercel, diagnose a failed build, call a second model, and set up team access with Claude Enterprise-managed auth.
Published

When a Vercel build fails, you can give your coding agent the deployment URL and ask it to find the error, explain it against the code, and propose a fix. Vercel MCP gives the agent access to the build record. Since December 2, the same connection can also ask another model for a second opinion or generate and score images through AI Gateway.
Connect your coding agent to Vercel
Vercel MCP is Vercel's official remote server for the Model Context Protocol, an open standard that lets an assistant call tools. Think of the connection as a project badge. Claude Code or Codex can use it to inspect a deployment, but the badge only opens projects your account and the connection can access.
Run the command from Vercel's December 2 changelog in your terminal:
npx -y add-mcp https://mcp.vercel.com -gThe installer detects your AI clients. The -g flag makes the connection available across projects. Next, authorize the client. In Claude Code, type /mcp to authenticate. Codex CLI opens the browser for authorization. Sign in with the Vercel account that owns or can access the project, then grant the client access to the relevant team. For the rest of the terminal workflow, see how to use Claude Code.
A good first request is “List the teams and projects you can see.” If the project is missing, check the account and team grant before debugging the build. Your client's tool list tells you which actions it can actually take. The list and the parameters can vary by client, server configuration and permissions. Vercel's tools reference

Which tools should you reach for?
Start with a failed preview build. Give the agent the exact deployment URL and ask, “Which build step failed? Quote the error and show me the smallest code change that would address it.” The build-log tool accepts a deployment ID or URL and can filter to failing lines. If the error needs context, ask for the surrounding output. The MCP tool supplies the evidence. Your coding agent can then work on the repository, show you the patch and check the next deployment after you apply the fix. Build-log and deployment tools
A successful build with a broken checkout calls for a different request. An on-call developer could give the agent the route and deployment, ask for grouped runtime errors, then inspect the log entries around the failing request. A release reviewer could fetch a protected preview to check the content it serves before signing off. Each starts with the particular deployment under review.
Four new AI Gateway tools on December 2
Your coding agent can delegate a particular task to a model you choose. All four tools use your existing Vercel MCP sign-in, so you can make the call without creating a separate Gateway API key. December 2 release notes
Cost. Vercel MCP is available on all Vercel plans. Each Gateway model call draws on the designated team's AI Gateway credits, including every image generated. A team-bound connection bills that team. Gateway tool and billing reference
Four mug thumbnails, one keeper
In Vercel's example, a developer needs a thumbnail of a matte black ceramic mug against white. The agent asks the image tool for four candidates. It then asks a decision model to judge each candidate against the same description and keeps the highest-scoring image. Both jobs happen in one session, and the brief doubles as the scoring criterion.

That distinction matters for a storefront. A thumbnail can match “matte black ceramic mug” beautifully and still have the wrong handle for the mug you sell. Use the score to shortlist a concept. Have someone who knows the product check its likeness before publishing.
Give a Claude organization access
On Claude Team or Enterprise, an admin can set up Vercel once for eligible members. In Organization settings → Connectors, choose Set up auto-connect for Vercel, select Claude-issued, and connect the Vercel team. A Vercel owner, or a member with settings and app-installation permissions, selects the projects and installs the app. Back in Claude, run the connector test, choose the roles that get access, and save. Claude Enterprise-managed auth announcement
A confirmed Vercel team member connects automatically when their primary or verified secondary email matches their Claude account. Claude vouches for that identity. Vercel issues a short-lived token limited by the member's role, project access and the app's permissions. Claude renews it automatically. For a pilot, an admin could select one project and check that an eligible developer sees it before extending the rollout.
Two workflows worth building
My first pick is a thumbnail review tool for storefront teams. A merchandising lead could supply a product brief and get a contact sheet with one recommended thumbnail and the criterion used to select it. The smallest version worth trying adds a human approval step to Vercel's mug example and records which recommendation the merchandiser actually chose. Its value depends on how often the shortlist survives that check.
A failed-build report could serve an agency maintaining several client projects. Start with one deployment URL and return the failing log line, the proposed patch and the status of the subsequent build. I'd try it inside an agency that already handles these incidents. A standalone product would have to earn its place over a saved prompt, perhaps by preserving a consistent handoff between developers. Teams organizing their existing agent instructions can start with Claude skills by job.
Where MCP fits in the Vercel stack
Choose MCP when the person doing the work already has a coding agent open. Choose the AI SDK when you're writing a model-powered feature into a TypeScript application. AI Gateway is the service that routes model requests across providers and tracks spending. The MCP tools give your agent a way to use that service. For application setup and billing, see the Vercel AI Gateway guide. If the job is handing that work to a teammate, Vercel Board gives people and agents shared threads and tasks.
What does Vercel MCP do?
It lets a connected assistant work with Vercel resources. A developer can ask it to read build logs, check a preview or call a model. The available tools and projects depend on the connection.
How is MCP different from an API?
An API describes how software can request an operation from a service. MCP gives assistants a standard way to discover the tools a server offers and call them. Here, Vercel exposes tools such as “read this deployment's logs” through that standard.
How does Vercel MCP authentication work?
For an individual connection, complete the Vercel sign-in in your browser and authorize the relevant team. For Claude auto-connect, an admin installs the connector and eligible members receive access under their own Vercel permissions.
Choosing where your coding agents should send model requests? Compare the best AI gateways for coding agents.
- Published
- Category
- Build







