# vercel

Manage Vercel deployments and inspect build or runtime logs from an AI coding agent. Useful when checking releases or tracing application failures.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 81
- Author: pulsemcp
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pulsemcp/mcp-servers/tree/HEAD/experimental/vercel
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/mcp/vercel

## What it does

This MCP server connects an agent to the Vercel REST API. It can list projects and deployments, inspect a deployment by ID or URL, read build events, and query runtime application logs with filters.

Tools are split into `readonly` and `readwrite` groups. Read-only access covers projects, deployments, and logs; write access adds deployment creation, cancellation, deletion, promotion, and rollback. Set `VERCEL_ENABLED_TOOLGROUPS` to control the groups, and use `VERCEL_TEAM_ID` or `VERCEL_TEAM_SLUG` for team-scoped operations.

You need a Vercel account, an API token in `VERCEL_TOKEN`, and Node.js 18+. Without `VERCEL_TOKEN`, the server cannot call the API. For runtime debugging, find the project ID with `list_projects`, then narrow results by time, level, source, or error status.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `VERCEL_TOKEN`, `VERCEL_TEAM_ID`, `VERCEL_TEAM_SLUG`, `VERCEL_ENABLED_TOOLGROUPS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env VERCEL_TOKEN=<VERCEL_TOKEN> --env VERCEL_TEAM_ID=<VERCEL_TEAM_ID> --env VERCEL_TEAM_SLUG=<VERCEL_TEAM_SLUG> --env VERCEL_ENABLED_TOOLGROUPS=<VERCEL_ENABLED_TOOLGROUPS> --transport stdio vercel -- npx -y vercel-platform-mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add vercel --env VERCEL_TOKEN=<VERCEL_TOKEN> --env VERCEL_TEAM_ID=<VERCEL_TEAM_ID> --env VERCEL_TEAM_SLUG=<VERCEL_TEAM_SLUG> --env VERCEL_ENABLED_TOOLGROUPS=<VERCEL_ENABLED_TOOLGROUPS> -- npx -y vercel-platform-mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vercel": {
            "command": "npx",
            "args": [
                "-y",
                "vercel-platform-mcp-server"
            ],
            "env": {
                "VERCEL_TOKEN": "<VERCEL_TOKEN>",
                "VERCEL_TEAM_ID": "<VERCEL_TEAM_ID>",
                "VERCEL_TEAM_SLUG": "<VERCEL_TEAM_SLUG>",
                "VERCEL_ENABLED_TOOLGROUPS": "<VERCEL_ENABLED_TOOLGROUPS>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vercel": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "vercel-platform-mcp-server"
            ],
            "env": {
                "VERCEL_TOKEN": "<VERCEL_TOKEN>",
                "VERCEL_TEAM_ID": "<VERCEL_TEAM_ID>",
                "VERCEL_TEAM_SLUG": "<VERCEL_TEAM_SLUG>",
                "VERCEL_ENABLED_TOOLGROUPS": "<VERCEL_ENABLED_TOOLGROUPS>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e VERCEL_TOKEN=<VERCEL_TOKEN> -e VERCEL_TEAM_ID=<VERCEL_TEAM_ID> -e VERCEL_TEAM_SLUG=<VERCEL_TEAM_SLUG> -e VERCEL_ENABLED_TOOLGROUPS=<VERCEL_ENABLED_TOOLGROUPS> vercel npx -y vercel-platform-mcp-server
```
Replace <…> with your own values

## When to use it
- check the state of recent deployments
- trace failures in build logs
- filter runtime application logs
- promote a preview deployment to production
- roll back to an earlier deployment

## Example prompts
- Show the latest Vercel deployments and filter for failed ones.
- Find runtime errors in the latest deployment of `my-app` from the last 24 hours.
- Roll back project `prj_xyz789` to the previous deployment.

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Oh My Posh Validator](https://affpapa.org/en/nevibecode/mcp/oh-my-posh-validator.md) — MCP server · ★ 23643
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Coder](https://affpapa.org/en/nevibecode/mcp/coder.md) — MCP server · ★ 17160
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12109

From the same set: [pulsemcp/mcp-servers](https://affpapa.org/en/nevibecode/by/pulsemcp/mcp-servers.md) — 28 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
