mcp-server

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

README ΒΆ

deploybase MCP Server

Go Report Card Go Version

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
  1. Sign up at deploybase.eu
  2. Go to Settings β†’ API Keys
  3. 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:

  1. Validate the git repository
  2. Create a new project
  3. Trigger the initial deployment
  4. Monitor the build status
Migrate from Vercel
"Migrate my Vercel project to deploybase"

The AI agent will:

  1. Analyze your vercel.json configuration
  2. Create a deploybase project with equivalent settings
  3. Trigger the deployment
  4. 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 projects
  • get_project β€” Get detailed project configuration
  • create_project β€” Create a new project
  • update_project β€” Update project settings
  • delete_project β€” Permanently delete a project
  • check_subdomain β€” Check subdomain availability
  • validate_git_repo β€” Validate git repository access
Deployments
  • list_deployments β€” List deployments with filters
  • get_deployment β€” Get deployment status and details
  • get_build_logs β€” Retrieve build logs for debugging
  • trigger_deployment β€” Trigger a new build
  • cancel_deployment β€” Cancel an in-progress build
  • promote_deployment β€” Promote to production (also for rollbacks)
Domains
  • list_domains β€” List custom domains
  • get_domain_status β€” Get DNS and SSL status
  • add_domain β€” Add a custom domain
  • verify_domain β€” Trigger DNS verification
  • get_dns_instructions β€” Get DNS configuration instructions
  • remove_domain β€” Remove a custom domain
Migrations
  • analyze_project_config β€” Parse vercel.json/netlify.toml/wrangler.toml
  • migrate_from_vercel β€” One-shot Vercel migration
  • migrate_from_netlify β€” One-shot Netlify migration
  • migrate_from_cloudflare β€” One-shot Cloudflare Pages migration
Team & Billing
  • list_team_members β€” List team members
  • list_team_invitations β€” List pending invitations
  • get_billing_plan β€” Get subscription and usage information
  • create_share_link β€” Create a preview link for stakeholders
  • revoke_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.

πŸ’¬ Support

🌟 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL