Deployment guide1-minute readEN · DE · IT

Distribuire AnythingMCP su AWS (EC2)

Distribuisci AnythingMCP su un'istanza AWS EC2 con Docker Compose e SSL automatico tramite Caddy. Configurazione pronta per la produzione del tuo gateway MCP.

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

Distribuisci AnythingMCP su un'istanza AWS EC2 con Docker Compose e SSL automatico tramite Caddy. Configurazione pronta per la produzione del tuo gateway MCP.

Prerequisiti

  • Un account AWS con permessi EC2
  • Un nome di dominio da puntare al tuo server
  • Una coppia di chiavi SSH nella tua regione AWS

Avviare un'istanza EC2

  1. Apri la Dashboard EC2 e clicca Launch Instance
  2. Scegli l'AMI Ubuntu 24.04 LTS
  3. Tipo di istanza: t3.small (2 vCPU, 2 GB) o t3.medium per carichi di lavoro più pesanti
  4. Storage: almeno 20 GB gp3
  5. Security group — aggiungi queste regole in entrata:
PortaProtocolloOrigineScopo
22TCPIl tuo IPSSH
80TCP0.0.0.0/0HTTP (reindirizzamento Caddy)
443TCP0.0.0.0/0HTTPS
  1. Avvia e assegna un Elastic IP all'istanza

Installare Docker

ssh -i ~/.ssh/your-key.pem ubuntu@ELASTIC_IP
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
newgrp docker

Configurare il DNS

Crea un record A che punta il tuo dominio all'Elastic IP (Route 53 o DNS esterno):

RecordTipoValore
mcp.example.comAELASTIC_IP

Distribuire AnythingMCP

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

Inserisci il tuo dominio quando richiesto. Lo script configura Caddy per il SSL automatico e avvia tutti i servizi.

Verifica e prossimi passi

Apri https://mcp.example.com. Registra il tuo account amministratore — il primo utente diventa amministratore.

Il tuo endpoint MCP: https://mcp.example.com/mcp

# Aggiornare all'ultima versione
git pull && docker compose up -d --build

Questa guida ti è stata utile?

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.

Guide correlate