Skip to main content
Glama

Universal SQL MCP Server

by Wunrry
docker-compose.prod.yml1.97 kB
version: '3.8' services: # Universal SQL MCP Server - Production Configuration mcp-server: build: context: . dockerfile: Dockerfile container_name: sql-mcp-server-prod ports: - "8000:8000" environment: # Database configuration - Use external MySQL in production DB_HOST: ${DB_HOST} DB_PORT: ${DB_PORT:-3306} DB_USER: ${DB_USER} DB_PASSWORD: ${DB_PASSWORD} DB_NAME: ${DB_NAME} # Connection pool settings DB_POOL_SIZE: ${DB_POOL_SIZE:-10} DB_MAX_OVERFLOW: ${DB_MAX_OVERFLOW:-20} # Connection timeout settings DB_CONNECT_TIMEOUT: ${DB_CONNECT_TIMEOUT:-10} DB_READ_TIMEOUT: ${DB_READ_TIMEOUT:-30} DB_WRITE_TIMEOUT: ${DB_WRITE_TIMEOUT:-30} # Write operations control ENABLE_WRITE_OPERATIONS: ${ENABLE_WRITE_OPERATIONS:-false} # Request logging configuration ENABLE_REQUEST_LOGGING: ${ENABLE_REQUEST_LOGGING:-true} ENABLE_DETAILED_REQUEST_LOGGING: ${ENABLE_DETAILED_REQUEST_LOGGING:-false} REQUEST_LOG_LEVEL: ${REQUEST_LOG_LEVEL:-INFO} MAX_PAYLOAD_LOG_LENGTH: ${MAX_PAYLOAD_LOG_LENGTH:-2000} # General logging level LOG_LEVEL: ${LOG_LEVEL:-INFO} restart: unless-stopped networks: - mcp-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s deploy: resources: limits: cpus: '1.0' memory: 512M reservations: cpus: '0.5' memory: 256M restart_policy: condition: on-failure delay: 5s max_attempts: 3 window: 120s logging: driver: "json-file" options: max-size: "10m" max-file: "3" security_opt: - no-new-privileges:true read_only: true tmpfs: - /tmp:noexec,nosuid,size=100m networks: mcp-network: 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/Wunrry/Universal-SQL-MCP-Server'

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