Skip to content

MCP servers and agent skills for postgres

27 MCP servers and 1 agent skill for postgres in databases, including Supabase rls policies, Midplane and Lorebase, most popular first. 13 of the 28 are listed as free or open source. Each one is written up from its own site or README, with pricing, platforms and alternatives.

Showing 1–12 of 12

  1. Writes and tests Supabase row level security so users cannot access each other's rows

    • Open source
    • 41.3K GitHub stars
    • Databases
  2. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  3. Lorebase

    MCP server

    Lets agents read and change a governed, versioned Postgres knowledge graph

    Runs locally
    • Open source
    • Knowledge and memory
  4. Open source database MCP server with prebuilt tools and a framework for custom ones

    Not checked yet
    • 2 tools
    • Remote
    • Open source
    • Databases
  5. MCP wrapper that holds database writes until a second person approves them on their phone

    Runs locally
    • Open source
    • Databases
  6. Rebase

    MCP server

    Schema, database, document, user and dev-server tools for a Rebase Postgres backend

    Runs locally
    • Open source
    • Databases
  7. rowstile

    MCP server

    Check, test and review row-level security policies for Postgres from a coding agent

    Runs locally
    • 4 tools
    • Open source
    • Databases
  8. Local Postgres and REST stand-ins that refuse out-of-contract calls and write a report

    Runs locally
    • Open source
    • Databases
  9. Generate multi-table synthetic data that provably meets the rules you declare

    Runs locally
    • Open source
    • Databases
  10. Airlock RLS

    MCP server

    Scan a deployed site for an exposed Supabase service_role key and audit its RLS

    Runs locally
    • 10 tools
    • Open source
    • Security
  11. Pg Readonly MCP

    MCP server

    Read-only Postgres access for agents that parses SQL and refuses write-capable roles

    Runs locally
    • Open source
    • Databases
  12. Read-only Postgres access with four enforcement layers and a shared business-context file

    Runs locally
    • 4 tools
    • Open source
    • Databases