Skip to main content
Glama

Example MCP Server

by nykznykz
docker-compose.ymlโ€ข702 B
version: '3.8' services: mcp-server: build: context: . dockerfile: Dockerfile container_name: mcp-server ports: - "8000:8000" environment: - PYTHONPATH=/app/src - LOG_LEVEL=INFO volumes: - ./src:/app/src - ./tests:/app/tests restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import sys; sys.exit(0)"] interval: 30s timeout: 10s retries: 3 start_period: 10s # Optional: Redis for caching (if needed) # redis: # image: redis:7-alpine # container_name: mcp-redis # ports: # - "6379:6379" # restart: unless-stopped networks: default: name: mcp-network

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/nykznykz/mcp_example'

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