The deploybase MCP (Model Context Protocol) server lets AI coding assistants manage deployments, projects, and domains through natural language. It exposes 26 tools that map to the deploybase REST API.
Transport Auth Use Case stdio (default)API key Local IDE integration (Claude Code, Cursor, etc.) HTTP OAuth JWT Remote/hosted MCP server
Add to your project’s .mcp.json:
"command" : " deploybase-mcp " ,
"args" : [ " --transport " , " stdio " ],
"DEPLOYBASE_API_KEY" : " dbk_your_api_key " ,
"DEPLOYBASE_API_URL" : " https://api.deploybase.eu "
The MCP server binary is deploybase-mcp. It reads configuration from environment variables:
Variable Required Description DEPLOYBASE_API_KEYYes (stdio) API key with dbk_ prefix DEPLOYBASE_API_URLNo API base URL. Default: https://api.deploybase.eu
Tool Type Description list_projectsRead List all projects. Supports search filter by name. Returns name, slug, framework, production URL, latest deployment status. get_projectRead Get full project details: git URL, framework, build command, output directory, production URL, live deployment ID. create_projectWrite Create a new project. Accepts: name, framework, git_repo_url, git_provider, git_token, build_command, output_dir, default_branch. update_projectWrite Partial update of project settings. Only provided fields are changed. delete_projectDestructive Permanently delete a project and all its deployments, domains, and share links. Irreversible. check_subdomainRead Check if a subdomain is available for sites.deploybase.eu. validate_git_repoRead Test whether a git repository is accessible with given credentials. Run before creating a project.
Tool Type Description list_deploymentsRead List deployments, filtered by project_id and/or status. Supports pagination. get_deploymentRead Full deployment details: status, branch, commit, CDN URL, build times. Poll every 5–10s after triggering to track progress. get_build_logsRead Full build log output. Available for building, deployed, or failed deployments. Errors appear near the end. trigger_deploymentWrite Trigger a build from a git branch. Returns immediately with deployment_id. Default branch deploys auto-promote to production. cancel_deploymentWrite Cancel a pending, queued, or building deployment. Returns 409 for terminal statuses. promote_deploymentDestructive Promote a deployment to production (instant re-alias). Also how rollback works. Only deployed status allowed.
Tool Type Description list_domainsRead List custom domains with verification and SSL status. get_domain_statusRead Full domain details including DNS verification instructions and TXT record value. add_domainWrite Add a custom domain to a project. Returns verification token for DNS TXT record. verify_domainWrite Trigger DNS verification. Rate limited: once per 60s per domain. SSL provisioned automatically after success. get_dns_instructionsRead Get DNS records to configure: TXT for verification, CNAME for traffic routing. remove_domainDestructive Remove domain, SSL certificate, and CDN mapping. Traffic falls back to default URL.
Tool Type Description create_share_linkWrite Create a proxied share URL for any deployment. Optional password (min 8 chars) and expiry (24h, 7d, 30d). revoke_share_linkDestructive Instantly revoke a share link. Viewers lose access immediately.
Tool Type Description analyze_project_configRead Parse a hosting platform config file (vercel.json, netlify.toml, wrangler.toml) and return deploybase-equivalent settings. migrate_from_vercelWrite One-step migration: parse config, create project, trigger first deployment. migrate_from_netlifyWrite One-step migration: parse config, create project, trigger first deployment. migrate_from_cloudflareWrite One-step migration: parse config, create project, trigger first deployment.
Migration tools return analysis results, project info, deployment info, and any manual steps needed (e.g. environment variables to set, unsupported features).
Tool Type Description get_billing_planRead Current plan, usage (bandwidth, build minutes, project count), limits, and billing period dates.
1. validate_git_repo → confirm access
2. create_project → get project_id
3. trigger_deployment → get deployment_id
4. get_deployment (poll) → wait for status=deployed
5. get_build_logs → inspect if failed
1. analyze_project_config → preview migration (optional)
2. migrate_from_vercel → creates project + triggers deployment
3. get_deployment (poll) → track build
4. add_domain → set up custom domain
1. list_deployments (project_id, status=deployed) → find previous
2. promote_deployment → instant rollback