Skip to main content
Glama

Hello World MCP Server

by ai-mcpx
docker-compose.yml972 B
version: '3.8' services: mcp-hello: build: context: . dockerfile: Dockerfile image: mcp-hello:latest container_name: mcp-hello-server restart: unless-stopped environment: - MCP_HOST=0.0.0.0 - MCP_PORT=8000 - PYTHONUNBUFFERED=1 - PYTHONDONTWRITEBYTECODE=1 ports: - "8000:8000" deploy: resources: limits: cpus: '0.5' memory: 512M reservations: cpus: '0.1' memory: 128M healthcheck: test: ["CMD", "python3", "-c", "import mcp_hello; print('OK')"] interval: 30s timeout: 10s retries: 3 start_period: 10s logging: driver: "json-file" options: max-size: "10m" max-file: "3" security_opt: - no-new-privileges:true read_only: true tmpfs: - /tmp:rw,noexec,nosuid,size=50m - /var/tmp:rw,noexec,nosuid,size=50m networks: default: driver: bridge

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-mcpx/mcp-hello'

If you have feedback or need assistance with the MCP directory API, please join our Discord server