postgres-mcp-hardened
postgres-mcp-hardened is an MCP server, listed under databases. It reaches postgres and postgresql. It needs MCP_BEARER_TOKEN to authenticate. Its repository has 3 GitHub stars and is licensed under MIT; we last read it on 2026-10-23.
This repository provides a secure read-only PostgreSQL MCP server implemented in Rust, serving as a hardened alternative to the deprecated @modelcontextprotocol/server-postgres.
Install
Read from postgres-mcp-hardened’s own README, close to verbatim -- not written by us, and not guessed.
npx postgres-mcp-hardened --validate "SELECT * FROM orders WHERE id = 1"
What it reaches, and what it needs
Maintenance
Secure read-only PostgreSQL MCP server in Rust — a hardened alternative to the deprecated @modelcontextprotocol/server-postgres.
postgres-mcp-hardened compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| postgres-mcp-hardened (this page) | postgres, postgresql | MCP_BEARER_TOKEN | 3 | 2026-10-18 | MIT |
| Easy-Postgres-MCP | postgres, postgresql(2 shared) | None listed | 13 | 2025-06-15 | — |
| dbhub | mysql, postgres, sqlite(1 shared) | None listed | 3,702 | 2026-10-21 | MIT |
| mcp-alchemy | mysql, postgresql, sqlite(1 shared) | None listed | 422 | 2026-10-15 | MPL-2.0 |
| tiger-cli | postgres(1 shared) | None listed | 126 | 2026-10-24 | Apache-2.0 |
| pluggedin-app | next, nextauth, pluggedin, postgres, redis(1 shared) | NEXTAUTH_SECRET, NEXT_SERVER_ACTIONS_ENCRYPTION_KEY, PLUGGEDIN_API_KEY, POSTGRES_PASSWORD, REDIS_PASSWORD | 103 | 2026-10-21 | MIT |
Ranked by services in common with postgres-mcp-hardened, then by stars. Figures are from each repository when we last read it.
Common questions about postgres-mcp-hardened
- What does postgres-mcp-hardened do?
- This repository provides a secure read-only PostgreSQL MCP server implemented in Rust, serving as a hardened alternative to the deprecated @modelcontextprotocol/server-postgres.
- How do I install postgres-mcp-hardened?
- Its own README gives this command: npx postgres-mcp-hardened --validate "SELECT * FROM orders WHERE id = 1". Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- What does postgres-mcp-hardened connect to, and what does it need?
- It reaches postgres and postgresql. The credentials we found in its source are MCP_BEARER_TOKEN.
- Is postgres-mcp-hardened official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 3 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-18.
- What licence does postgres-mcp-hardened use?
- The repository declares the MIT licence.
More MCP servers for databases
- CodeGraphContext4,360 stars
- dbhub3,702 stars
- mcp-server-mysql2,173 stars
- mysql_mcp_server1,402 stars
- server874 stars
- supabase-mcp-server833 stars