Overview
Manage Vercel deployments, projects, domains, and analytics through AI.
Setup
Run with npx:
npx -y @modelcontextprotocol/server-vercelConfiguration
VERCEL_TOKEN environment variableDocumentation
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
- Go to Vercel Dashboard
- Navigate to Settings → Tokens
- Click Create Token
- Copy the token and add it to your MCP configuration
Available Tools
| Tool | Description |
|---|---|
list_projects | List all Vercel projects |
get_project | Get details of a specific project |
create_deployment | Create a new deployment |
list_deployments | List deployments for a project |
get_deployment | Get details of a specific deployment |
get_preview_url | Get preview URL for a branch or PR |
list_domains | List domains for a project |
add_domain | Add a custom domain to a project |
get_analytics | Get analytics data for a project |
get_environment_variables | List environment variables for a project |
Usage Examples
Deploy a Project
Deploy my project to Vercel
The MCP server will:
- List your projects
- Ask which project to deploy
- Create a new deployment
- 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
-
Open Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the Vercel MCP server configuration:
{
"mcpServers": {
"vercel": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-vercel"],
"env": {
"VERCEL_TOKEN": "your-vercel-api-token-here"
}
}
}
}
- 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
