vercel-api-mcp
by: zueai
Lightweight MCP server to give your Cursor Agent access to the Vercel API.
📌Overview
Purpose: The Vercel MCP framework serves as a server that connects users to the Vercel API, enabling seamless management of deployments, DNS, domains, projects, and environment variables.
Overview: Vercel MCP provides an integrated solution for developers to interact with the Vercel platform efficiently. It facilitates deployment management, DNS configuration, project customization, and environment variable handling through a comprehensive set of tools, enhancing workflow and productivity.
Key Features:
-
Deployment Management: Tools like
getVercelDeployments
,cancelVercelDeployment
, anddeleteVercelDeployment
streamline the entire deployment process, allowing users to manage deployments easily and effectively. -
DNS Configuration: With features such as
createVercelDNSRecord
andupdateVercelDNSRecord
, users can manage domain DNS settings directly via the API, simplifying domain management. -
Project Handling: Users can retrieve and manage their projects with commands like
getVercelProjects
andupdateVercelProject
, providing straightforward solutions for project administration. -
Environment Variables Management: The framework includes functions such as
createVercelProjectEnv
andfilterVercelProjectEnvs
that facilitate the management of environment variables, ensuring that projects are configured correctly and securely.
vercel-mcp
An MCP server that connects to the 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 a 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