MCPLow riskUnclaimed

pg-readonly-mcp

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

les-kles-k/pg-readonly-mcpUpdated Oct 2, 2026

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.les-k/pg-readonly-mcp",
  "description": "A read-only Postgres MCP server that parses SQL rather than pattern-matching it.",
  "repository": {
    "url": "https://github.com/les-k/pg-readonly-mcp",
    "source": "github"
  },
  "version": "0.1.1",
  "websiteUrl": "https://les-k.github.io/field-notes.html",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "pg-readonly-mcp",
      "version": "0.1.1",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Postgres connection string for a role that holds only SELECT. The server refuses to start otherwise.",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "PG_READONLY_MCP_DSN"
        }
      ]
    }
  ]
}

Permissions

DeclaredDetected
Runs code—python
Installs—pypi:pg-readonly-mcp@0.1.1
Runs install scripts—None
NetworkNoneNone
Needs credentialsPG_READONLY_MCP_DSNPG_READONLY_MCP_DSN
Outside the workspace—None
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

Versions

  1. #10.1.1latestOct 7, 2026