Skip to main content
Glama

MCP PostgreSQL Operations

.env.exampleβ€’1.59 kB
# Commons PYTHONPATH=/app/src # MCP Server Configuration # Transport μ„€μ • : streamable-http λͺ¨λ“œ FASTMCP_TYPE=streamable-http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 # λ‘œκΉ… 레벨 μ„€μ • MCP_LOG_LEVEL=INFO # ============================================================================= # Remote Authentication Settings (for streamable-http mode) # ============================================================================= # Enable Bearer token authentication for streamable-http transport # Default: false (if not defined or empty, defaults to false) # Values: true/false, 1/0, yes/no, on/off (case insensitive) # WARNING: If REMOTE_AUTH_ENABLE=false, the server will accept requests without authentication! REMOTE_AUTH_ENABLE=false # Secret key for Bearer token authentication (required when REMOTE_AUTH_ENABLE=true) # Default: empty string (if not defined, authentication will be disabled even if REMOTE_AUTH_ENABLE=true) # Recommendation: Use strong, randomly generated secret keys (32+ characters) REMOTE_SECRET_KEY=my-test-secret-key-12345 ### PostgreSQL Configuration PGSQL_VERSION=16 PGDATA=/data/db ### Don't change... POSTGRES_MAX_CONNECTIONS=200 #### PostgreSQL Host Configuration: #-------------------------------------------- POSTGRES_HOST=host.docker.internal POSTGRES_PORT=15432 POSTGRES_USER=postgres POSTGRES_PASSWORD=changeme!@34 POSTGRES_DB=ecommerce #-------------------------------------------- # Docker Env. DOCKER_EXTERNAL_PORT_OPENWEBUI=3003 DOCKER_EXTERNAL_PORT_MCP_SERVER=18003 DOCKER_EXTERNAL_PORT_MCPO_PROXY=8003 DOCKER_INTERNAL_PORT_POSTGRESQL=5432

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/call518/MCP-PostgreSQL-Ops'

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