vercel-mcp
An MCP server that connects to Vercel API.
Usage
Cursor
- To install in a project, add the MCP server to your
.cursor/mcp.json
:
{
"mcpServers": {
"vercel": {
"command": "npx",
"args": ["vercel-mcp VERCEL_API_KEY=<YOUR_API_KEY>"]
}
}
}
- To install globally, add this command to your Cursor settings:
npx vercel-mcp VERCEL_API_KEY=<your-vercel-api-key>
Windsurf
- Add the MCP server to your
~/.codeium/windsurf/mcp_config.json
file:
{
"mcpServers": {
"vercel": {
"command": "npx",
"args": ["vercel-mcp VERCEL_API_KEY=<YOUR_API_KEY>"]
}
}
}
Tools
This MCP server provides the following tools for interacting with the Vercel API:
Deployments
getVercelDeploymentEvents
- Get deployment events by deployment ID and build IDgetVercelDeployment
- Get a deployment by ID or URLcancelVercelDeployment
- Cancel a deploymentlistVercelDeploymentFiles
- List deployment filesgetVercelDeploymentFileContents
- Get deployment file contentsgetVercelDeployments
- List deploymentsdeleteVercelDeployment
- Delete a deployment
DNS
getVercelDNSRecords
- List DNS records for a domaincreateVercelDNSRecord
- Create a DNS record for a domainupdateVercelDNSRecord
- Update a DNS recorddeleteVercelDNSRecord
- Delete a DNS record
Domains
getVercelDomainConfig
- Get a Domain's configurationgetVercelDomain
- Get information for a single domaingetVercelDomains
- List all domains for the authenticated user or team
Projects
getVercelProjects
- Retrieve a list of projectsupdateVercelProject
- Update an existing projectgetVercelProjectDomains
- Retrieve project domains by project id or namegetVercelProjectDomain
- Get a project domainupdateVercelProjectDomain
- Update a project domainremoveVercelProjectDomain
- Remove a domain from a projectaddVercelProjectDomain
- Add a domain to a projectverifyVercelProjectDomain
- Verify project domain
Environment Variables
filterVercelProjectEnvs
- Retrieve the environment variables of a projectgetVercelProjectEnv
- Retrieve the decrypted value of an environment variablecreateVercelProjectEnv
- Create one or more environment variablesremoveVercelProjectEnv
- Remove an environment variableeditVercelProjectEnv
- Edit an environment variable