README
ΒΆ
deploybase MCP Server
Manage European static site hosting from AI agents via the Model Context Protocol (MCP)
The deploybase MCP Server enables AI coding assistants like Claude Code, Cursor, and Windsurf to deploy and manage static sites on deploybase β the EU-hosted, GDPR-compliant static site hosting platform.
β¨ Features
- π Deploy sites via natural language commands
- π¦ Manage projects β create, update, delete, and configure
- π CI/CD workflows β trigger deployments, view build logs, promote releases
- π Custom domains β add domains, verify DNS, manage SSL certificates
- π€ Share previews β create password-protected preview links
- π Easy migrations β migrate from Vercel, Netlify, or Cloudflare Pages
- π° Billing insights β check build minute usage and plan limits
π¦ Installation
Using go install
go install codeberg.org/deploybase/mcp-server@latest
Download Pre-built Binary
Download the latest release for your platform from the releases page.
Build from Source
git clone https://codeberg.org/deploybase/mcp-server.git
cd mcp-server
go build -o deploybase-mcp .
π§ Configuration
Getting an API Key
- Sign up at deploybase.eu
- Go to Settings β API Keys
- Create a new API key
Claude Code (.mcp.json)
Create or update .mcp.json in your project root:
{
"mcpServers": {
"deploybase": {
"command": "deploybase-mcp",
"args": ["--transport", "stdio"],
"env": {
"DEPLOYBASE_API_KEY": "dbk_your_api_key_here"
}
}
}
}
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"deploybase": {
"command": "deploybase-mcp",
"args": ["--transport", "stdio"],
"env": {
"DEPLOYBASE_API_KEY": "dbk_your_api_key_here"
}
}
}
}
Environment Variables
| Variable | Default | Required | Description |
|---|---|---|---|
DEPLOYBASE_API_KEY |
β | β (stdio) | Your deploybase API key |
DEPLOYBASE_API_URL |
https://api.deploybase.eu |
β | API endpoint URL |
TRANSPORT |
stdio |
β | Transport mode: stdio or http |
PORT |
8082 |
β | HTTP server port (HTTP mode only) |
ZITADEL_ISSUER_URL |
https://auth.deploybase.eu |
β | OAuth issuer (HTTP mode) |
MCP_PUBLIC_URL |
https://mcp.deploybase.eu |
β | Public URL (HTTP mode) |
π Usage Examples
Deploy a New Site
"Deploy my Next.js site to deploybase"
The AI agent will:
- Validate the git repository
- Create a new project
- Trigger the initial deployment
- Monitor the build status
Migrate from Vercel
"Migrate my Vercel project to deploybase"
The AI agent will:
- Analyze your
vercel.jsonconfiguration - Create a deploybase project with equivalent settings
- Trigger the deployment
- Report any manual steps needed
Manage Production
"Show me all my deploybase projects"
"Promote the previous deployment to production"
"Add www.example.com to my project"
"Get the build logs for the failed deployment"
π οΈ Available Tools
Projects
list_projectsβ List all your projectsget_projectβ Get detailed project configurationcreate_projectβ Create a new projectupdate_projectβ Update project settingsdelete_projectβ Permanently delete a projectcheck_subdomainβ Check subdomain availabilityvalidate_git_repoβ Validate git repository access
Deployments
list_deploymentsβ List deployments with filtersget_deploymentβ Get deployment status and detailsget_build_logsβ Retrieve build logs for debuggingtrigger_deploymentβ Trigger a new buildcancel_deploymentβ Cancel an in-progress buildpromote_deploymentβ Promote to production (also for rollbacks)
Domains
list_domainsβ List custom domainsget_domain_statusβ Get DNS and SSL statusadd_domainβ Add a custom domainverify_domainβ Trigger DNS verificationget_dns_instructionsβ Get DNS configuration instructionsremove_domainβ Remove a custom domain
Migrations
analyze_project_configβ Parse vercel.json/netlify.toml/wrangler.tomlmigrate_from_vercelβ One-shot Vercel migrationmigrate_from_netlifyβ One-shot Netlify migrationmigrate_from_cloudflareβ One-shot Cloudflare Pages migration
Team & Billing
list_team_membersβ List team memberslist_team_invitationsβ List pending invitationsget_billing_planβ Get subscription and usage information
Share Links
create_share_linkβ Create a preview link for stakeholdersrevoke_share_linkβ Revoke a share link
π³ Docker
Run as a container:
docker run -e DEPLOYBASE_API_KEY=dbk_your_key deploybase/mcp-server:latest
Or use in HTTP mode:
docker run -p 8082:8082 \
-e TRANSPORT=http \
-e DEPLOYBASE_API_URL=https://api.deploybase.eu \
deploybase/mcp-server:latest
ποΈ Development
Prerequisites
- Go 1.25 or later
- A deploybase API key (for testing)
Build
make build
Run Tests
make test
Run Locally (stdio mode)
DEPLOYBASE_API_KEY=dbk_your_key make run
Run Locally (HTTP mode)
DEPLOYBASE_API_KEY=dbk_your_key make run-http
Cross-compile for All Platforms
make build-all
π€ Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
π License
This project is licensed under the Apache License 2.0 β see LICENSE for details.
π Related Projects
- deploybase CLI β Command-line interface
- deploybase Platform β The main SaaS platform
π¬ Support
- π Documentation
- π Issue Tracker
- π¬ Discord Community
π Why deploybase?
Unlike most static hosting platforms:
- πͺπΊ EU-hosted β GDPR-compliant by default
- π Privacy-first β No tracking, no analytics
- π Green hosting β Running on renewable energy
- π Developer-friendly β Git-based deployments, instant previews
Built with β€οΈ in Europe
Documentation
ΒΆ
Overview ΒΆ
deploybase MCP Server β manage European static site hosting from AI agents.