mcp-postgres-server

agentforge-ru/mcp-postgres-server
★ 0 stars Python 🗄️ Database Updated 1d ago
MCP server for PostgreSQL — read/write tools with safety guards against destructive operations. psycopg 3, three-layer safety model.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-postgres-server": {
      "command": "uvx",
      "args": [
        "mcp-postgres-server"
      ]
    }
  }
}

Or install with pip: pip install mcp-postgres-server

README Excerpt

A **production-safe MCP server for PostgreSQL** — lets Claude introspect your schema, run parameterized read queries, and (opt-in) perform writes, with safety guards against destructive operations. > Built on `psycopg[binary]` 3.x. Use it on a read-replica or a sanitized dev database first; never point it at unfiltered production without auditing the audit log.

Tools (1)

REVOKE

Topics

aiclaudeclaude-desktopdatabasemcppostgrespostgresqlpython