We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/enderekici/trading212-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
services:
trading212-mcp:
build:
context: .
dockerfile: Dockerfile
target: production
container_name: trading212-mcp
# Expose MCP HTTP port
ports:
- "3012:3012"
# Environment variables
environment:
- TRADING212_API_KEY=${TRADING212_API_KEY:?TRADING212_API_KEY environment variable is required}
- TRADING212_ENVIRONMENT=${TRADING212_ENVIRONMENT:-demo}
- TRADING212_TRANSPORT=http
- TRADING212_MCP_PORT=3012
- LOG_LEVEL=${LOG_LEVEL:-info}
- NODE_ENV=production
# Restart policy for production reliability
restart: unless-stopped
# Resource limits for production stability
deploy:
resources:
limits:
cpus: '1.0'
memory: 1G
reservations:
cpus: '0.25'
memory: 256M
# Health check against the HTTP endpoint
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://localhost:3012/health').then(r=>{if(!r.ok)throw 1})"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
# Security options
security_opt:
- no-new-privileges:true
# Read-only root filesystem (app writes to /tmp if needed)
read_only: true
tmpfs:
- /tmp:noexec,nosuid,size=64m
# Logging configuration
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"