Skip to main content
Glama

Universal SQL MCP Server

by Wunrry
docker-compose.debug.yml1.88 kB
version: '3.8' services: # Universal SQL MCP Server - Debug Configuration mcp-server: build: context: . dockerfile: Dockerfile container_name: sql-mcp-server-debug ports: - "8000:8000" environment: # Database configuration DB_HOST: mysql DB_PORT: 3306 DB_USER: mcpuser DB_PASSWORD: mcppassword DB_NAME: mcp_database # Connection pool settings DB_POOL_SIZE: 5 DB_MAX_OVERFLOW: 10 # Connection timeout settings DB_CONNECT_TIMEOUT: 10 DB_READ_TIMEOUT: 30 DB_WRITE_TIMEOUT: 30 # Write operations control ENABLE_WRITE_OPERATIONS: true # Debug logging configuration ENABLE_REQUEST_LOGGING: true ENABLE_DETAILED_REQUEST_LOGGING: true REQUEST_LOG_LEVEL: DEBUG MAX_PAYLOAD_LOG_LENGTH: 5000 # General logging level LOG_LEVEL: DEBUG depends_on: mysql: condition: service_healthy restart: unless-stopped networks: - mcp-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s # MySQL Database (for development/testing) mysql: image: mysql:8.0 container_name: sql-mcp-db-debug environment: MYSQL_ROOT_PASSWORD: rootpassword MYSQL_DATABASE: mcp_database MYSQL_USER: mcpuser MYSQL_PASSWORD: mcppassword ports: - "3306:3306" volumes: - mysql_debug_data:/var/lib/mysql restart: unless-stopped networks: - mcp-network healthcheck: test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"] interval: 10s timeout: 5s retries: 5 start_period: 30s volumes: mysql_debug_data: driver: local 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