---
title: How to connect Vercel MCP to Claude Code
description: Run claude mcp add with https://mcp.vercel.com, then sign in with /mcp. Project-scoped URLs, the main tools, deploy approvals and sharing with a team.
canonical: https://mcp1.com/blog/vercel-mcp-claude-code
last-updated: 2026-11-21
---

# How to connect Vercel MCP to Claude Code

Run claude mcp add with https://mcp.vercel.com, then sign in with /mcp. Project-scoped URLs, the main tools, deploy approvals and sharing with a team.

![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite

 Terminal

$ claude mcp add --transport http vercel mcp.vercel.com

vercelConnected

 Terminal

$ claude mcp add --transport http vercel mcp.vercel.com

vercelConnected

To connect Vercel to Claude Code, run `claude mcp add --transport http vercel https://mcp.vercel.com`, start Claude Code, run `/mcp` and choose Authenticate. You sign in to Vercel in the browser and pick which teams Claude Code can reach. It can then list deployments, read build and runtime logs, search Vercel’s docs and, if you let it, deploy.

## How do I add the Vercel MCP server to Claude Code?

Vercel hosts the server on every plan, so there is nothing to install or run. Three steps:

1. 1Add the server from your terminal:  
Terminal  
```  
claude mcp add --transport http vercel https://mcp.vercel.com  
```
2. 2Start `claude`, run `/mcp`, select `vercel` and choose Authenticate.
3. 3Sign in to Vercel in the browser tab that opens and grant access to the teams you want. Your Vercel role still applies: the agent can do what your account can, and no more.

The most useful first prompt is usually a failed build, because the logs are where the time goes:

Prompt

```
The latest preview deployment of this branch failed.
Read its build logs, find the error, and fix it in this repository.
```

Check the URL

Vercel’s docs ask you to confirm you are connecting to `https://mcp.vercel.com`, especially when a third-party page offers a one-click install. The server gets the same access as your Vercel account.

## How do I scope Vercel MCP to one project?

Use the project URL, `https://mcp.vercel.com/<team>/<project>`. The session is then bound to that team and project, so the agent doesn’t have to ask which one you mean, and it can’t wander into the others. The Vercel CLI writes the entry for you from a linked directory:

Terminal

```
vercel link
vercel mcp --clients "Claude Code" --project
```

A project-scoped connection also leaves out `deploy_to_vercel` and `get_git_deployment_context`, which matters if you only want the agent reading a project that already deploys from Git.

## Which Vercel MCP tools can Claude Code use?

Vercel lists tools across many areas, and which ones appear depends on the URL, your grant and the client. These are the ones you’ll use most. Vercel doesn’t mark them read or write in its docs; the split below is from what each tool does.

ToolWhat it does

`list_deployments`

Lists a project’s deployments with their state. Read.

`get_deployment_build_logs`

Returns a deployment’s build log, the tail by default, with an errors-only option. Read.

`get_runtime_logs`

Function logs, the last 50 minutes by default, up to 100 lines a call. Read.

`get_runtime_errors`

Runtime errors for a project. Read.

`web_fetch_vercel_url`

Fetches a deployment URL, including protected previews. Read.

`search_vercel_documentation`

Searches Vercel’s docs. Read.

`deploy_to_vercel`

Deploys files sent inline, up to 300 files and 4 MiB in all. Write.

`update_project`

Changes a project’s settings. Write.

`update_project_deployment_protection`

Turns deployment protection on or off. Write.

`get_access_to_vercel_url`

Creates a shareable link that bypasses protection on a deployment. Write.

Deleting a project is the exception: `get_project_deletion_link` only returns a dashboard link, and a person confirms the deletion there.

## How do I stop Claude Code deploying without asking?

Claude Code names MCP tools `mcp__<server>__<tool>`, and permission rules in `.claude/settings.json` decide which run freely, which ask and which never run. Allow the log readers, make deploys ask, and deny the tools that weaken protection on your previews:

.claude/settings.json

```
{
  "permissions": {
    "allow": [
      "mcp__vercel__list_deployments",
      "mcp__vercel__get_deployment",
      "mcp__vercel__get_deployment_build_logs",
      "mcp__vercel__get_runtime_logs",
      "mcp__vercel__get_runtime_errors",
      "mcp__vercel__search_vercel_documentation"
    ],
    "ask": [
      "mcp__vercel__deploy_to_vercel",
      "mcp__vercel__create_deployment",
      "mcp__vercel__update_project"
    ],
    "deny": [
      "mcp__vercel__update_project_deployment_protection",
      "mcp__vercel__update_project_protection_bypass"
    ]
  }
}
```

Tools you don’t list keep Claude Code’s default and ask before running. For what makes a tool risky and how other clients handle it, see [how to stop agents from running destructive MCP tools](https://mcp1.com/blog/stop-destructive-mcp-tools).

## How do I share the Vercel server with my team?

Add it at project scope and commit `.mcp.json`. The file holds only the URL, because each teammate signs in to Vercel with their own account and gets their own team access:

Terminal

```
claude mcp add --transport http --scope project vercel https://mcp.vercel.com/<team>/<project>
```

Teammates approve the project server the first time Claude Code loads it, then authenticate through `/mcp`. Commit the permission rules above in the same repository and everyone gets the same allow and ask lists.

## What if Vercel MCP doesn’t connect?

Terminal

```
claude mcp list
claude mcp get vercel
```

- `vercel` isn’t listed. You added it at local scope in another directory. Add it again here, or with `--scope user`.
- Listed but not connected. Run `/mcp`, select it and authenticate again.
- A team or project is missing. Your grant covers only the teams you picked at sign-in. Authenticate again and grant the team.
- Sign-in is refused in another client. Vercel accepts clients it has reviewed or that identify themselves with a client ID metadata document. Claude Code, Cursor, Codex, VS Code and Gemini CLI are on its list.
- Runtime logs come back empty. The default window is the last 50 minutes; ask for a wider range, within your plan’s log retention.

## Vercel for the whole team, in every client

Everything above is per person and per client, and nobody sees what an agent did in Vercel across the team. MCP1 is a gateway that does it once: an admin installs [Vercel](https://mcp1.com/servers/vercel) in the workspace, adds it to a gateway with GitHub, Sentry and the other servers the team uses, and grants it to groups with full or read-only access. Each person connects once:

Terminal

```
claude mcp add --transport http mcp1 https://mcp1.com/mcp/<workspace>/<gateway>
```

Vercel’s tools appear as `vercel__<tool>`, a rule like `vercel__deploy_*` can ask first or require a minimum role, and every call lands in the audit log. Vercel approves which apps can sign in to its server, so if the connection is refused, ask Vercel to allow MCP1\. The [docs](https://mcp1.com/docs) cover gateways and groups, and the Individual plan is free to [start with](https://mcp1.com/signup).

## Common questions

### Is the Vercel MCP server free?

Yes. Vercel’s remote MCP server is available on all plans, Hobby included. Tools act with your account’s access, so plan limits like log retention still apply.

### Can I use a Vercel token instead of OAuth?

Vercel documents only OAuth sign-in for its MCP server, and says MCP and the Vercel CLI authenticate separately. For CI, run the Vercel CLI with a token instead.

### Can Claude Code deploy to Vercel through MCP?

Yes. deploy\_to\_vercel deploys files sent inline and create\_deployment starts one for a project. Put both on ask in .claude/settings.json so a person approves each deploy.

### How do I connect Vercel MCP to Cursor instead?

Add a vercel entry with the URL https://mcp.vercel.com under mcpServers in .cursor/mcp.json, then sign in when Cursor prompts. Cursor is one of the clients Vercel allows.

Give your team one URL

Create a workspace, install your servers and share a gateway with a group. Free for individuals.

[Start with MCP1](https://mcp1.com/signup)[Read the docs](https://mcp1.com/docs)

## More from the blog

[ Terminal$ claude mcp add --transport http github api.githubcopilot.com/mcp/githubConnectedHow to connect GitHub MCP to Claude CodeRun claude mcp add with https://api.githubcopilot.com/mcp/ and a fine-grained token. Read-only mode, toolsets, permission rules and team setup.![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite](https://mcp1.com/blog/github-mcp-claude-code)[ SupportIntercomRead-onlyLinearRead-onlyNotionRead-onlyStripeRead-onlyMCP servers for support teams: what to connect firstStart with your helpdesk, Linear, Notion and Stripe, read-only first. What they answer together, which writes to hold back and a shared setup.![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite](https://mcp1.com/blog/mcp-servers-for-support-teams)

---

This is the markdown copy of https://mcp1.com/blog/vercel-mcp-claude-code. Site index for agents: https://mcp1.com/llms.txt
