Vercel MCP Server for Claude
Manage deployments, analyze logs, and control Vercel projects
Author
Vercel
Added
2025-09-18
Setup time
1 minute
Difficulty
beginner
Quick use
Install command
1 linesclaude mcp add --transport http vercel https://mcp.vercel.com && claude mcp listClaude config
.claude/settings.json
6 lines{
"vercel": {
"url": "https://mcp.vercel.com",
"transport": "http"
}
}Source asset
json
6 lines{
"vercel": {
"url": "https://mcp.vercel.com",
"transport": "http"
}
}Section
Content
Expand
Section
Content
Control Vercel deployments and infrastructure through Claude for seamless deployment management. Deploy new versions, analyze build logs, debug failures, manage environment variables, configure custom domains, monitor deployment performance, roll back failed deployments, and manage team projects—all through natural language commands. Supports OAuth/Bearer token authentication, team tokens for collaboration, and comprehensive deployment operations.
Section
Features
Expand
Section
Features
- Search and navigate Vercel documentation (knowledge base access)
- Manage projects and deployment configurations (project lifecycle management)
- Analyze deployment logs and build outputs (debugging and monitoring)
- Monitor build status and performance (deployment tracking)
- Configure environment variables and domains (project configuration)
- Manage deployments and rollbacks (deployment operations)
- View project analytics and metrics (performance monitoring)
- Configure custom domains and SSL certificates (domain management)
- Advanced Vercel deployment and project management with build automation, edge function configuration, and analytics integration
- Batch operations support for efficient bulk deployment operations, project management, and build automation with automatic rate limit handling and retry logic
- Real-time deployment synchronization capabilities with webhook integration support for monitoring Vercel events and triggering automated workflows
Section
Use Cases
Expand
Section
Use Cases
- Deploy new versions to production (automated deployments)
- Debug build failures and errors (troubleshooting)
- Analyze deployment logs for issues (log analysis)
- Manage environment variables across projects (configuration management)
- Configure custom domains and redirects (domain configuration)
- Monitor deployment performance and metrics (analytics)
- Roll back failed deployments (deployment recovery)
- Manage team projects and access (collaboration)
- Build automated deployment workflows that sync external systems with Vercel for real-time site management and build automation
Section
Installation
Expand
Section
Installation
Claude Code
- Run: claude mcp add --transport http vercel https://mcp.vercel.com
- Verify installation: claude mcp list
- Test connection: claude mcp status vercel
- Authenticate with your Vercel account (OAuth flow)
- Grant required permissions (project access, deployment permissions)
Claude CodeDetails
- Run: claude mcp add --transport http vercel https://mcp.vercel.com
- Verify installation: claude mcp list
- Test connection: claude mcp status vercel
- Authenticate with your Vercel account (OAuth flow)
- Grant required permissions (project access, deployment permissions)
Claude DesktopDetails
- Open Claude Desktop configuration file (see configPath below)
- Add the Vercel server configuration with HTTP transport and URL
- Restart Claude Desktop
- Authenticate with your Vercel account (OAuth flow)
- Grant required permissions (project access, deployment permissions)
- Verify connection in Claude Desktop
Section
Requirements
Expand
Section
Requirements
- Vercel account (free or paid plan)
- OAuth/Bearer token authentication (for mcp.vercel.com MCP connection)
- Vercel Access Token (created in Dashboard Settings > Tokens)
- Network access to mcp.vercel.com (HTTPS required, HTTP transport)
- Understanding of Vercel deployment concepts (projects, deployments, builds, domains)
- Vercel Dashboard access (for token management and project configuration)
- Claude Desktop 0.7.0+ or Claude Code with MCP support
- Understanding of Vercel rate limits (varies by endpoint, check X-RateLimit headers)
- Understanding of build quotas (plan-specific build time/memory limits)
- Optional: Team membership (for team projects and shared resources)
Section
Examples
Expand
Section
Examples
Deploy the latest commit to production
Common usage pattern for this MCP server
Deploy the latest commit to productionDetails
Common usage pattern for this MCP server
Ask Claude: "Deploy the latest commit to production"
Show me the build logs for the failed deploymentDetails
Common usage pattern for this MCP server
Ask Claude: "Show me the build logs for the failed deployment"
Update the API_KEY environment variableDetails
Common usage pattern for this MCP server
Ask Claude: "Update the API_KEY environment variable"
List all recent deploymentsDetails
Common usage pattern for this MCP server
Ask Claude: "List all recent deployments"
Deploy ProjectDetails
Deploy a project to Vercel with files and configuration
// Deploy project to Vercel
const deployment = await vercel.deployments.create({
name: "my-project",
files: [
{ file: "index.html", data: "<html>...</html>" },
{ file: "package.json", data: JSON.stringify({ ... }) }
]
});
Section
Security
Expand
Section
Security
- OAuth/Bearer token authentication required for secure access
- Use team tokens for shared projects (team-level access control)
- Monitor deployment permissions carefully (review before production deploys)
- Review changes before production deploys (prevent accidental deployments)
- API token security (store tokens securely, never commit to git)
- Vercel API tokens and access tokens must be securely stored and never exposed in client-side code or public repositories - use environment variables and secure credential management
- Vercel OAuth access tokens should be used for third-party integrations to ensure proper access control, token lifecycle management, and automatic token refresh
- Vercel project, deployment, and team IDs may expose infrastructure architecture and deployment patterns - ensure Vercel resource identifiers are kept private and not shared in public configurations
- Rate limiting and API quota management are critical for Vercel MCP servers - implement proper rate limit handling, retry logic, and quota monitoring to prevent service disruption
- Vercel webhook configurations and payloads may contain sensitive deployment data and project information - ensure webhook endpoints are properly secured with authentication and HTTPS encryption
Section
Troubleshooting
Expand
Section
Troubleshooting
Build quota exceeded or deployment fails from quota limits
Vercel plans have specific build time and memory limits. Check quota usage at vercel.com/dashboard/usage to see current consumption. Plans have different limits: Hobby (100 build minutes/month), Pro (included build minutes), Enterprise (custom limits). Upgrade plan for higher quotas. Optimize build scripts to reduce build time (remove unnecessary dependencies, use build caching, parallelize builds). Review vercel.com/docs/limits for detailed plan limits. Consider using Vercel's build cache to speed up builds. Monitor build logs to identify slow build steps.
Build quota exceeded or deployment fails from quota limitsDetails
Vercel plans have specific build time and memory limits. Check quota usage at vercel.com/dashboard/usage to see current consumption. Plans have different limits: Hobby (100 build minutes/month), Pro (included build minutes), Enterprise (custom limits). Upgrade plan for higher quotas. Optimize build scripts to reduce build time (remove unnecessary dependencies, use build caching, parallelize builds). Review vercel.com/docs/limits for detailed plan limits. Consider using Vercel's build cache to speed up builds. Monitor build logs to identify slow build steps.
Deployment fails with missing environment variablesDetails
Add environment variables in Project Settings > Environment Variables in Vercel Dashboard. Set correct environment scope: Production (production deployments), Preview (preview deployments), Development (local development). Redeploy after adding variables (environment variables are injected at build time). Check .env.local not committed to git (use .env.example for documentation). Verify variable names match exactly (case-sensitive). For sensitive variables, use Vercel's encrypted environment variables. Note: Total environment variables cannot exceed 64 KB per deployment (all variables combined).
API rate limit errors from third-party servicesDetails
Vercel API rate limits vary by endpoint and are communicated via response headers: X-RateLimit-Limit (max requests), X-RateLimit-Remaining (remaining requests), X-RateLimit-Reset (reset time in UTC epoch seconds). When exceeded, API returns 429 status with too_many_requests error. Implement exponential backoff for retries (wait time increases with each retry). Monitor X-RateLimit-Remaining header to track available requests. Check X-RateLimit-Reset to know when to retry. For third-party API rate limits, implement rate limiting with Vercel WAF. Use Vercel KV/Redis for rate limit tracking. Add delays between API calls. Use edge functions for caching to reduce API calls.
Authentication failed or insufficient project permissionsDetails
Verify Vercel API token has required scopes (project:read, project:write, deployment:read, etc.). Check token created in Dashboard Settings > Tokens. Ensure token not expired or revoked. Check team membership and project access in Dashboard (verify you're a member of the team that owns the project). Use team tokens for shared projects (team-level tokens). Re-authenticate OAuth connection if using OAuth flow. Verify Bearer token format: Authorization: Bearer <TOKEN>. Check token has permissions for specific project (some tokens are project-scoped). Review project settings to ensure user has required role (Owner, Developer, etc.).
Vercel MCP server authentication errors with API tokensDetails
Verify API token is valid and not expired. Check token permissions match required operations. Ensure token format is correct (Bearer token in Authorization header). For OAuth integrations, verify token refresh logic is working correctly.
Vercel rate limit errors when processing multiple deployment requestsDetails
Implement exponential backoff retry logic with jitter. Use Vercel API rate limit headers to monitor usage. Reduce concurrent requests. Cache frequently accessed project data. Vercel allows 100 requests per minute per API token.
Vercel project or deployment access denied errorsDetails
Verify API token has access to the project. Check project permissions and team membership. Ensure API token has required permissions for target operations.
Vercel MCP server connection timeouts or network errorsDetails
Check network connectivity and firewall settings. Verify Vercel API endpoints are accessible. Increase request timeout values. Implement connection pooling and retry mechanisms with exponential backoff.
0% complete