Back to Browse

Postgresql MCP Server

Data & AnalyticsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Python MCP server for PostgreSQL database inspection and querying

About

Python MCP server for PostgreSQL database inspection and querying

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 4 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

6 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Unverified package source

We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.

What You'll Need

Set these up before or after installing:

PostgreSQL hostOptional

Environment variable: POSTGRES_HOST

PostgreSQL portOptional

Environment variable: POSTGRES_PORT

PostgreSQL usernameOptional

Environment variable: POSTGRES_USER

PostgreSQL passwordRequired

Environment variable: POSTGRES_PASSWORD

PostgreSQL database nameOptional

Environment variable: POSTGRES_DB

Maximum rows returned by read queriesOptional

Environment variable: POSTGRES_READ_QUERY_LIMIT

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-musaddiq-dev-postgresql-mcp-server": {
      "env": {
        "POSTGRES_DB": "your-postgres-db-here",
        "POSTGRES_HOST": "your-postgres-host-here",
        "POSTGRES_PORT": "your-postgres-port-here",
        "POSTGRES_USER": "your-postgres-user-here",
        "POSTGRES_PASSWORD": "your-postgres-password-here",
        "POSTGRES_READ_QUERY_LIMIT": "your-postgres-read-query-limit-here"
      },
      "args": [
        "mdev-postgresql-mcp-server"
      ],
      "command": "uvx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!