Back to Browse

Pg Readonly MCP Server

by Les K
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

A read-only Postgres MCP server that parses SQL rather than pattern-matching it.

About

A read-only Postgres MCP server that parses SQL rather than pattern-matching it.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

9 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.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Postgres connection string for a role that holds only SELECT. The server refuses to start otherwise.Required

Environment variable: PG_READONLY_MCP_DSN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-les-k-pg-readonly-mcp": {
      "env": {
        "PG_READONLY_MCP_DSN": "your-pg-readonly-mcp-dsn-here"
      },
      "args": [
        "pg-readonly-mcp"
      ],
      "command": "uvx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!