Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
MCPpedia last refreshed this data
io.github.Eszetael/postgres-mcp-hardened is an MCP server that read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction. Its tool list has not been published yet over stdio and http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"postgres": {
"env": {
"DATABASE_URL": "postgres://readonly_user:YOUR_PASSWORD@localhost:5432/mydb"
},
"args": [
"--stdio"
],
"command": "postgres-mcp-hardened"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The official Postgres MCP server was deprecated in 2024 and still gets ~440k downloads a month. Its entire defence is one database-level read-only transaction — and that alone does not stop every write. This is a maintained Rust replacement with defence in depth.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'postgres-mcp-hardened' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked postgres-mcp-hardened against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data / finance
Manage Supabase projects — databases, auth, storage, and edge functions
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
DataForSEO API modelcontextprotocol server
MCP Security Weekly
Get CVE alerts and security updates for io.github.Eszetael/postgres-mcp-hardened and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.