MCP server
PostgreSQL (hardened, read-only)
io.github.Eszetael/postgres-mcp-hardened
Checked 26 Oct 2026, 08:31 UTC · Still published on its registry; checked against OSV.dev; never run by us
Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add postgres-mcp-hardened --env DATABASE_URL=YOUR_VALUE -- npx -y postgres-mcp-hardened@0.1.10
Claude Desktop
{"mcpServers":{"postgres-mcp-hardened":{"command":"npx","args":["-y","postgres-mcp-hardened@0.1.10"],"env":{"DATABASE_URL":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.postgres-mcp-hardened]
command = "npx"
args = ["-y","postgres-mcp-hardened@0.1.10"]
env = { DATABASE_URL = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"postgres-mcp-hardened":{"command":"npx","args":["-y","postgres-mcp-hardened@0.1.10"],"env":{"DATABASE_URL":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"postgres-mcp-hardened":{"command":"npx","args":["-y","postgres-mcp-hardened@0.1.10"],"env":{"DATABASE_URL":"YOUR_VALUE"}}}}
VS Code
{"servers":{"postgres-mcp-hardened":{"type":"stdio","command":"npx","args":["-y","postgres-mcp-hardened@0.1.10"],"env":{"DATABASE_URL":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own DATABASE_URL.
Browse
Related MCP servers
- pg.ddx.io: the PostgreSQL community's memory
Every PostgreSQL mailing list since 1991, linked to the commits, code, commitfest and docs. - Duvera Gateway
Governed AI actions with signed, verifiable receipts: free keyless reads, human-approved writes. - Googleapis
Create, manage, and query your Google Cloud SQL resources. - fline
Hosting for apps you build with AI. Tested with Claude Code and Codex. Private beta: ask for access. - Kaiva Postgres MCP
Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres. - Postgres MCP
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults. - Read Only Local Postgres
MCP server for read-only PostgreSQL database queries in Claude Desktop - Database Postgres
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
Badge for your README
[](https://aptlynx.net/servers/io.github.Eszetael/postgres-mcp-hardened)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents