🔌

Vercel MCP

DevOps420

Manage Vercel deployments, projects, domains, and analytics through AI.

Claude DesktopCursorWindsurf

Overview

Manage Vercel deployments, projects, domains, and analytics through AI.

Setup

Run with npx:

npx -y @modelcontextprotocol/server-vercel

Configuration

VERCEL_TOKEN environment variable

Documentation

Vercel MCP

Overview

Vercel MCP is a Model Context Protocol server that enables AI assistants to interact with the Vercel platform directly. It provides access to Vercel's deployment, preview, domain, and analytics capabilities, allowing developers to manage their Vercel projects through natural language commands.

This MCP server is particularly useful for developers who use Vercel for hosting and want to streamline their workflow by having AI assistants handle deployment tasks, check deployment status, manage domains, and analyze performance metrics.

Features

  • Deployment Management: Create, list, and manage Vercel deployments
  • Preview URL Generation: Get preview URLs for pull requests and branches
  • Domain Configuration: Manage custom domains and SSL certificates
  • Analytics Access: Retrieve performance metrics and analytics data
  • Project Management: List and manage Vercel projects
  • Environment Variables: Manage project environment variables
  • Team Collaboration: Access team-level resources and permissions

Installation

npx -y @modelcontextprotocol/server-vercel

Or install globally:

npm install -g @modelcontextprotocol/server-vercel

Configuration

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "vercel": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-vercel"],
      "env": {
        "VERCEL_TOKEN": "your-vercel-api-token"
      }
    }
  }
}

Getting a Vercel Token

  1. Go to Vercel Dashboard
  2. Navigate to SettingsTokens
  3. Click Create Token
  4. Copy the token and add it to your MCP configuration

Available Tools

ToolDescription
list_projectsList all Vercel projects
get_projectGet details of a specific project
create_deploymentCreate a new deployment
list_deploymentsList deployments for a project
get_deploymentGet details of a specific deployment
get_preview_urlGet preview URL for a branch or PR
list_domainsList domains for a project
add_domainAdd a custom domain to a project
get_analyticsGet analytics data for a project
get_environment_variablesList environment variables for a project

Usage Examples

Deploy a Project

Deploy my project to Vercel

The MCP server will:

  1. List your projects
  2. Ask which project to deploy
  3. Create a new deployment
  4. Return the deployment URL

Check Deployment Status

What's the status of my latest deployment for my-blog?

Get Preview URL

Get the preview URL for the feature/new-design branch

Manage Domains

Add example.com as a custom domain to my-site project

View Analytics

Show me the performance analytics for my-site for the last 7 days

Claude Desktop Setup

  1. Open Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the Vercel MCP server configuration:

{
  "mcpServers": {
    "vercel": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-vercel"],
      "env": {
        "VERCEL_TOKEN": "your-vercel-api-token-here"
      }
    }
  }
}
  1. Restart Claude Desktop

Integration with Other Tools

The Vercel MCP server works well with:

  • GitHub MCP: For seamless CI/CD workflows
  • Linear MCP: For project management integration
  • Sentry MCP: For error tracking alongside deployments

Pros

  • Direct Platform Access: Manage Vercel without leaving your AI assistant
  • Natural Language Interface: Complex operations with simple prompts
  • Real-time Status: Get instant deployment and project status
  • Multi-project Support: Manage multiple projects from one interface
  • Secure Token Handling: Credentials stay local

Cons

  • Vercel Specific: Only works with Vercel platform
  • API Token Required: Need to manage API tokens securely
  • Limited to Vercel Features: Doesn't cover all Vercel capabilities
  • Rate Limits: Subject to Vercel API rate limits

When to Use

Ideal for:

  • Vercel users who want to streamline deployment workflows
  • Teams managing multiple Vercel projects
  • Developers who want AI-assisted deployment management
  • Projects needing frequent preview deployments

Not ideal for:

  • Projects hosted on other platforms (Netlify, AWS, etc.)
  • Users without Vercel accounts
  • Simple projects with infrequent deployments

Resources