Deployment guide1-minute readEN · DE · IT

Deploy AnythingMCP on DigitalOcean

Deploy AnythingMCP on a DigitalOcean Droplet with Docker Compose and automatic HTTPS. Quick setup for your MCP gateway.

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Deploy AnythingMCP on a DigitalOcean Droplet with Docker Compose and automatic HTTPS. Quick setup for your MCP gateway.

Prerequisites

Create a Droplet

In the DigitalOcean console:

SettingRecommended
ImageUbuntu 24.04 LTS
PlanBasic — 2 GB RAM / 1 vCPU (minimum)
RegionClosest to your users
AuthenticationSSH key

You can select the Docker image from the Marketplace to get Docker pre-installed, or install it manually:

ssh root@DROPLET_IP
curl -fsSL https://get.docker.com | sh

Configure DNS

Create an A record pointing to the Droplet IP:

TypeNameValue
Amcp (or @)DROPLET_IP

You can manage DNS in Networking > Domains on DigitalOcean or use your external DNS provider.

Deploy AnythingMCP

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp
bash setup.sh

The setup script handles everything:

  1. Generates .env with secure secrets
  2. Asks for your domain and configures Caddy for automatic SSL
  3. Starts all services via docker compose

Firewall

In Networking > Firewalls, create a Cloud Firewall:

PortProtocolDescription
22TCPSSH
80TCPHTTP (Caddy redirect)
443TCPHTTPS

Attach it to your Droplet.

Verify & Next Steps

Open https://mcp.example.com. Register your admin account — the first user becomes administrator.

Your MCP endpoint: https://mcp.example.com/mcp

# Update to latest version
git pull && docker compose up -d --build

Was this guide helpful?

Ready to ship

Ship MCP to your stack in 60 seconds.

Spin up AnythingMCP on managed Cloud or self-host it on your infrastructure. Free for 7 days, no credit card.

Related guides