Skip to main content
Glama
docker-compose.yml2.01 kB
services: trino: image: trinodb/trino:latest ports: - "8080:8080" networks: - trino-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/v1/info"] interval: 10s timeout: 5s retries: 5 # MCP Server with Streamable HTTP transport (recommended for web/remote access) # Usage: docker-compose up mcp-trino-http mcp-trino-http: build: . command: ["--transport", "streamable-http"] ports: - "8000:8000" environment: - TRINO_HOST=trino - TRINO_PORT=8080 - TRINO_USER=trino - TRINO_CATALOG=tpch - TRINO_SCHEMA=tiny - MCP_HOST=0.0.0.0 - MCP_PORT=8000 depends_on: trino: condition: service_healthy networks: - trino-network restart: unless-stopped # MCP Server with SSE transport (legacy HTTP transport) # Usage: docker-compose --profile sse up mcp-trino-sse mcp-trino-sse: build: . command: ["--transport", "sse"] ports: - "8001:8000" environment: - TRINO_HOST=trino - TRINO_PORT=8080 - TRINO_USER=trino - TRINO_CATALOG=tpch - TRINO_SCHEMA=tiny - MCP_HOST=0.0.0.0 - MCP_PORT=8000 depends_on: trino: condition: service_healthy networks: - trino-network profiles: - sse restart: unless-stopped # MCP Server with stdio transport (for testing with docker exec) # Usage: docker-compose --profile stdio run --rm mcp-trino-stdio mcp-trino-stdio: build: . command: ["--transport", "stdio"] environment: - TRINO_HOST=trino - TRINO_PORT=8080 - TRINO_USER=trino - TRINO_CATALOG=tpch - TRINO_SCHEMA=tiny depends_on: trino: condition: service_healthy networks: - trino-network profiles: - stdio stdin_open: true tty: true networks: trino-network: driver: bridge

Latest Blog Posts

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/alaturqua/mcp-trino-python'

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