mcpField
V
vercel

vercel

Local
github.com/pulsemcpCloud & Infra81Updated 8w ago

About vercel

An MCP server that manages Vercel deployments and exposes build and runtime application logs through the Vercel REST API. It suits developers and teams who want to inspect and debug deployments from an MCP client. Tool groups can restrict it to read-only access.

Key features

  1. 01Deployment list, inspect, create, cancel, delete, promote, rollback
  2. 02Build log retrieval for deployments
  3. 03Runtime log filtering by level, source, and time
  4. 04Readonly or readwrite tool groups via environment variable
  5. 05Team-scoped operations via team ID or slug

Use cases

  1. 01Check recent deployment states and find failed builds
  2. 02Read build output to diagnose deployment errors
  3. 03Promote a preview deployment to production or roll back
  4. 04Filter runtime logs for 500 errors or edge function issues

MCP support

This is an MCP server that exposes Vercel deployment and log operations as tools to MCP clients. Setting VERCEL_ENABLED_TOOLGROUPS=readonly disables all write operations.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-pulsemcp-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>"
}
}
}
}
Run commandnpx -y vercel-platform-mcp-server
Environment variables to set
VERCEL_TOKENSecretVercel API token for authentication.
VERCEL_TEAM_IDTeam ID for team-scoped operations.
VERCEL_TEAM_SLUGTeam URL slug for team-scoped operations.
VERCEL_ENABLED_TOOLGROUPSComma-separated list of tool groups to enable (readonly, readwrite).

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmvercel-platform-mcp-server0.1.3

Tools

10

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
appstringNoFilter by deployment name (the project name used in the URL). Example: "my-app"
limitnumberNoMaximum number of deployments to return (1-100). Default: 20. Use with pagination to page through results.
stateenumNoFilter by deployment state. Options: "BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED". Omit to return deployments in any state.BUILDING | ERROR | INITIALIZING | QUEUED | READY | CANCELED
untilnumberNoReturn deployments created before this timestamp (milliseconds since epoch). Used for pagination: pass the "next" value from a previous response.
targetenumNoFilter by deployment target environment. Options: "production", "preview". Omit to return deployments for all targets.production | preview
projectIdstringNoFilter by project ID or name (e.g., "prj_abc123" or "my-app"). When set, only deployments for this project are returned.

Details

From the project README

Vercel MCP Server

An MCP server for managing Vercel deployments and viewing application runtime logs through the Vercel REST API.

Highlights

  • Deployment Management - List, inspect, create, cancel, delete, promote, and rollback deployments
  • Build & Runtime Logs - View build logs (events) and runtime application logs for debugging
  • Fine-grained Access Control - Enable readonly or readwrite tool groups via environment variables
  • Team Support - Scope operations to a specific Vercel team

Capabilities

Tools
ToolGroupDescription
list_deploymentsreadonlyList deployments with filtering by project, target, and state
get_deploymentreadonlyGet detailed deployment information by ID or URL
list_projectsreadonlyList projects in the account/team
get_deployment_eventsreadonlyGet build logs for a deployment
get_runtime_logsreadonlyGet runtime application logs with filtering
create_deploymentreadwriteCreate a new deployment or redeploy
cancel_deploymentreadwriteCancel an in-progress deployment
delete_deploymentreadwriteDelete a deployment permanently
promote_deploymentreadwritePromote a deployment to production
rollback_deploymentreadwriteRollback to a previous deployment

Setup

Prerequisites
Configuration
VariableRequiredDescription
VERCEL_TOKENYesVercel API token
VERCEL_TEAM_IDNoTeam ID for team-scoped operations
VERCEL_TEAM_SLUGNoTeam URL slug (alternative to team ID)
VERCEL_ENABLED_TOOLGROUPSNoComma-separated tool groups: readonly, readwrite (default: all)
Manual Setup
# Clone the repository
git clone https://github.com/pulsemcp/mcp-servers.git
cd mcp-servers/experimental/vercel

# Install dependencies
npm install

# Build
npm run build

# Set environment variables
export VERCEL_TOKEN="your-token-here"

# Run
npm start

Usage Tips

  • Use list_projects first to find project IDs needed by promote_deployment, rollback_deployment, and get_runtime_logs
  • Runtime log retention varies by plan: Hobby=1h, Pro=1d, Enterprise=3d (up to 30d with Observability Plus)
  • Use get_runtime_logs with since/until to query historical logs, search to find specific errors, and level/source to filter results
  • Set VERCEL_ENABLED_TOOLGROUPS=readonly to prevent any write operations
  • Use list_deployments with the state filter to quickly find failed or in-progress deployments

Examples

Check deployment status

"What's the status of my latest deployments?"

Uses list_deployments to show recent deployments with their states.

Debug a failed build

"Show me the build logs for deployment dpl_abc123"

Uses get_deployment_events to display the build output and error messages.

Promote a preview to production

"Promote deployment dpl_abc123 to production for project prj_xyz789"

Uses promote_deployment to make a preview deployment serve production traffic.

View runtime errors

"Show me the runtime logs for my-app's latest deployment"

Uses list_projects to find the project ID, then get_runtime_logs to show recent application logs.

Search for specific errors in logs

"Find all 500 errors in the last 24 hours for my-app"

Uses get_runtime_logs with statusCode: 500 and since set to 24 hours ago to filter server errors.

Debug edge function issues

"Show me warning and error logs from edge functions for dpl_abc123"

Uses get_runtime_logs with source: "edge-function" and level: "error" to narrow down issues.

Development

# Install dependencies
npm install

# Build
npm run build

# Run functional tests
npm test

# Run integration tests
npm run test:integration

# Run manual tests (requires .env with VERCEL_TOKEN)
npm run test:manual

# Lint
npm run lint

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.