Vercel
STDIOVercel部署管理MCP服务器
Vercel部署管理MCP服务器
🔥 A powerful Model Context Protocol (MCP) server that provides full administrative control over your Vercel deployments through both Cursor's Composer and Codeium's Cascade. This tool enables seamless project management with comprehensive features for deployments, domains, environment variables, and more.
# Clone the repository git clone https://github.com/Quegenx/vercel-mcp-server.git cd vercel-mcp-server # Install dependencies npm install # Build the project npm run build
Install dependencies and build the project:
npm install npm run build
Set up your Vercel access token:
Go to https://vercel.com/account/tokens to generate your access token
Update the token in both of these files:
In src/config/constants.ts:
export const DEFAULT_ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"; // Replace with your actual token
In src/index.ts:
export const DEFAULT_ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"; // Replace with your actual token
In Cursor's MCP settings, add the server with this command:
For macOS:
# Default installation /usr/local/bin/node /path/to/vercel-mcp/dist/index.js # Homebrew installation /opt/homebrew/bin/node /path/to/vercel-mcp/dist/index.js # NVM installation ~/.nvm/versions/node/v18.x.x/bin/node /path/to/vercel-mcp/dist/index.js
For Windows:
# Default installation C:\Program Files\nodejs\node.exe C:\path\to\vercel-mcp\dist\index.js # NVM for Windows C:\nvm4w\nodejs\node.exe C:\path\to\vercel-mcp\dist\index.js # Scoop installation C:\Users\username\scoop\apps\nodejs\current\node.exe C:\path\to\vercel-mcp\dist\index.js
For Linux:
# Default installation /usr/bin/node /path/to/vercel-mcp/dist/index.js # NVM installation ~/.nvm/versions/node/v18.x.x/bin/node /path/to/vercel-mcp/dist/index.js
Replace /path/to/vercel-mcp or C:\path\to\vercel-mcp with your actual installation path.
To find your Node.js path:
# macOS/Linux which node # Windows where node
Note: Keep your Vercel access token secure and never commit it to version control.
create_team, delete_team, get_team, list_teams, update_teamlist_team_members, invite_team_member, remove_team_member, update_team_memberlist_projects, create_project, delete_project, update_project, pause_projectadd_project_member, list_project_members, remove_project_memberrequest_project_transfer, accept_project_transfercreate_deployment, cancel_deployment, get_deployment, delete_deployment, list_deploymentget_deployment_events, update_deployment_integrationlist_deployment_files, upload_deployment_files, get_deployment_filepromote_deployment, get_promotion_aliasesadd_domain, remove_domain, get_domain, list_domains, get_project_domaindomain_check, domain_price, domain_config, domain_registry, domain_get, domain_list, domain_buy, domain_register, domain_remove, domain_updatecreate_dns_record, delete_dns_record, list_dns_records, update_dns_recordget_cert, issue_cert, remove_cert, upload_certadd_env, update_env, delete_env, get_env, list_envcreate_edge_config, update_edge_config, delete_edge_config, get_edge_config, list_edge_configslist_edge_config_items, get_edge_config_item, update_edge_config_itemsget_edge_config_schema, update_edge_config_schema, delete_edge_config_schemacreate_edge_config_token, get_edge_config_token, list_edge_config_tokens, delete_edge_config_tokenslist_edge_config_backups, get_edge_config_backupcreate_access_group, delete_access_group, update_access_group, get_access_group, list_access_groupscreate_access_group_project, delete_access_group_project, get_access_group_project, list_access_group_projectslist_access_group_memberscreate_auth_token, delete_auth_token, get_auth_token, list_auth_tokens, sso_token_exchangecreate_firewall_bypass, delete_firewall_bypass, get_firewall_bypass, get_attack_status, update_attack_mode, get_firewall_config, update_firewall_config, put_firewall_configlogdrain_create, logdrain_createIntegration, logdrain_delete, logdrain_deleteIntegration, logdrain_get, logdrain_list, logdrain_listIntegrationcreate_webhook, delete_webhook, list_webhooks, get_webhooksend_web_vitalsdelete_user, get_user, list_user_eventscreate_marketplace_event, get_marketplace_account, get_marketplace_invoice, get_marketplace_member, import_marketplace_resource, submit_marketplace_billing, submit_marketplace_invoice, update_marketplace_secrets, marketplace_sso_token_exchange, submit_marketplace_balance, marketplace_invoice_actionint_delete, int_list, int_gitns, int_searchRepo, int_get, int_updateActioncreate_environment, delete_environment, get_environment, list_environments, update_environmentcreate_secret, update_secret_name, delete_secret, get_secret, list_secretscheck_artifact, download_artifact, get_artifact_status, query_artifacts, record_artifact_events, upload_artifactassign_alias, delete_alias, get_alias, list_aliases, list_deployment_aliasesOnce configured, the MCP server provides all Vercel management tools through Cursor's Composer. Simply describe what you want to do with your Vercel projects, and the AI will use the appropriate commands.
Examples:
Node.js Path Issues
which node to find the correct pathwhere node to find the correct pathAccess Token Issues
MCP Not Detecting Tools
Add DEBUG=true before your command to see detailed logs:
# macOS/Linux DEBUG=true /usr/local/bin/node /path/to/vercel-mcp/dist/index.js # Windows set DEBUG=true && "C:\Program Files\nodejs\node.exe" "C:\path\to\vercel-mcp\dist\index.js"
If you're still experiencing issues, please open an issue with:
node --version)Contributions are welcome! Please feel free to submit a Pull Request.