PostgreSQL (hardened, read-only)
Rank #7,755io.github.Eszetael/postgres-mcp-hardened
Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
PostgreSQL (hardened, read-only) is a Model Context Protocol (MCP) server published by Eszetael. It ranks #7,755 of 132,046 servers tracked on MCP Toplist, and its repository has 3 GitHub stars. PostgreSQL (hardened, read-only) is listed across 2 registries — Official MCP and Glama, with 6 tracked versions. It was first listed on Aug 9, 2026 and most recently updated on Sep 4, 2026.
Ranks ahead of 124,291 of 132,046 servers on MCP Toplist.
Use PostgreSQL (hardened, read-only)
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add postgres-mcp-hardened -e "DATABASE_URL=<your DATABASE_URL>" -e "MCP_STATEMENT_TIMEOUT=<your MCP_STATEMENT_TIMEOUT>" -e "MCP_ALLOW_TABLES=<your MCP_ALLOW_TABLES>" -e "MCP_AUDIT_LOG=<your MCP_AUDIT_LOG>" -- npx -y --stdio postgres-mcp-hardenedReplace each placeholder with your own value before saving.
claude mcp add postgres-mcp-hardened -e "DATABASE_URL=<your DATABASE_URL>" -e "MCP_ADDR=<your MCP_ADDR>" -- docker run -i --rm ghcr.io/eszetael/postgres-mcp-hardened:0.1.10Replace each placeholder with your own value before saving.
[mcp_servers.postgres-mcp-hardened]
command = "npx"
args = ["-y", "--stdio", "postgres-mcp-hardened"]
[mcp_servers.postgres-mcp-hardened.env]
DATABASE_URL = "<your DATABASE_URL>"
MCP_STATEMENT_TIMEOUT = "<your MCP_STATEMENT_TIMEOUT>"
MCP_ALLOW_TABLES = "<your MCP_ALLOW_TABLES>"
MCP_AUDIT_LOG = "<your MCP_AUDIT_LOG>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
[mcp_servers.postgres-mcp-hardened]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/eszetael/postgres-mcp-hardened:0.1.10"]
[mcp_servers.postgres-mcp-hardened.env]
DATABASE_URL = "<your DATABASE_URL>"
MCP_ADDR = "<your MCP_ADDR>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "npx",
"args": [
"-y",
"--stdio",
"postgres-mcp-hardened"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_STATEMENT_TIMEOUT": "<your MCP_STATEMENT_TIMEOUT>",
"MCP_ALLOW_TABLES": "<your MCP_ALLOW_TABLES>",
"MCP_AUDIT_LOG": "<your MCP_AUDIT_LOG>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eszetael/postgres-mcp-hardened:0.1.10"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_ADDR": "<your MCP_ADDR>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "npx",
"args": [
"-y",
"--stdio",
"postgres-mcp-hardened"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_STATEMENT_TIMEOUT": "<your MCP_STATEMENT_TIMEOUT>",
"MCP_ALLOW_TABLES": "<your MCP_ALLOW_TABLES>",
"MCP_AUDIT_LOG": "<your MCP_AUDIT_LOG>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eszetael/postgres-mcp-hardened:0.1.10"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_ADDR": "<your MCP_ADDR>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"postgres-mcp-hardened": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"--stdio",
"postgres-mcp-hardened"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_STATEMENT_TIMEOUT": "<your MCP_STATEMENT_TIMEOUT>",
"MCP_ALLOW_TABLES": "<your MCP_ALLOW_TABLES>",
"MCP_AUDIT_LOG": "<your MCP_AUDIT_LOG>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"servers": {
"postgres-mcp-hardened": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eszetael/postgres-mcp-hardened:0.1.10"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_ADDR": "<your MCP_ADDR>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "npx",
"args": [
"-y",
"--stdio",
"postgres-mcp-hardened"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_STATEMENT_TIMEOUT": "<your MCP_STATEMENT_TIMEOUT>",
"MCP_ALLOW_TABLES": "<your MCP_ALLOW_TABLES>",
"MCP_AUDIT_LOG": "<your MCP_AUDIT_LOG>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eszetael/postgres-mcp-hardened:0.1.10"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_ADDR": "<your MCP_ADDR>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "npx",
"args": [
"-y",
"--stdio",
"postgres-mcp-hardened"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_STATEMENT_TIMEOUT": "<your MCP_STATEMENT_TIMEOUT>",
"MCP_ALLOW_TABLES": "<your MCP_ALLOW_TABLES>",
"MCP_AUDIT_LOG": "<your MCP_AUDIT_LOG>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp-hardened": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/eszetael/postgres-mcp-hardened:0.1.10"
],
"env": {
"DATABASE_URL": "<your DATABASE_URL>",
"MCP_ADDR": "<your MCP_ADDR>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.Eszetael%2Fpostgres-mcp-hardened)<a href="https://mcptoplist.com/server/io.github.Eszetael%2Fpostgres-mcp-hardened"><img src="https://mcptoplist.com/badge/io.github.Eszetael%2Fpostgres-mcp-hardened.svg" alt="MCP Toplist: Top 10% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries
Eszetael
Available versions (6)
| Version | Published |
|---|---|
| 0.1.10 | Sep 4, 2026 |
| 0.1.9 | Aug 18, 2026 |
| 0.1.8 | Aug 18, 2026 |
| 0.1.7 | Aug 18, 2026 |
| 0.1.6 | Aug 15, 2026 |
| 0.1.5 | Aug 9, 2026 |
Frequently asked questions
- Who maintains PostgreSQL (hardened, read-only)?
- PostgreSQL (hardened, read-only) is maintained by Eszetael, which publishes 1 MCP server (6 total versions) tracked on MCP Toplist.
- Is PostgreSQL (hardened, read-only) listed on the Official MCP Registry?
- Yes — PostgreSQL (hardened, read-only) is listed on the Official MCP Registry, alongside Glama.
- How many versions does PostgreSQL (hardened, read-only) have?
- MCP Toplist tracks 6 versions of PostgreSQL (hardened, read-only), most recently published on Sep 4, 2026.
- Where can I find the source code for PostgreSQL (hardened, read-only)?
- The source code for PostgreSQL (hardened, read-only) is hosted at github.com/Eszetael/postgres-mcp-hardened.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.