Provides Docker support for containerized deployment through Docker Compose, simplifying installation and environment setup.
Supports environment variable configuration via .env files for storing database connection details and API keys.
Provides tools for connecting to, querying, and exploring PostgreSQL databases, including schema discovery, query execution, and analysis of execution plans.
Uses YAML for defining extension context information, providing detailed knowledge about PostgreSQL extensions like PostGIS and pgvector.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pg-mcpshow me the schema for the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pg-mcp
This repository hosts the static documentation site for pg-mcp-server, available live at:
π https://stuzero.github.io/pg-mcp/
If you're looking for the source code for pg-mcp-server, it's been moved to:
π https://github.com/stuzero/pg-mcp-server
pg-mcp-client can be found here:
π https://github.com/stuzero/pg-mcp-client