Skip to content

feat: add PostgreSQL MCP server definition - #61

Merged
its-mash merged 7 commits into
mainfrom
fix/postgresql
Feb 20, 2026
Merged

feat: add PostgreSQL MCP server definition#61
its-mash merged 7 commits into
mainfrom
fix/postgresql

Conversation

@its-mash

Copy link
Copy Markdown
Member

$(cat <<'PREOF'

Add PostgreSQL local stdio server via npx @modelcontextprotocol/server-postgres.
Read-only access to PostgreSQL databases with schema inspection and SQL queries.

https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
Replace @modelcontextprotocol/server-postgres (archived, read-only only)
with postgres-mcp from Crystal DBA which adds index tuning, workload
analysis, EXPLAIN plans, slow query detection, and health checks.

- Transport: uvx (Python package) instead of npx
- Env var: DATABASE_URI (matches upstream convention)
- Supports both restricted (read-only) and unrestricted access modes

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
- community.postgresql.json -> community.postgresql-uvx.json (id: community.postgresql-uvx)

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
- community.postgresql-uvx -> crystaldba.postgres-mcp-uvx

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
Add Docker transport variant using the official crystaldba/postgres-mcp
Docker Hub image with unrestricted access mode.

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
@its-mash
its-mash merged commit dd00251 into main Feb 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant