Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Databases - official Supabase server

Supabase Postgrest MCP server

Local stdio MCP server that lets an LLM perform CRUD operations against a Supabase project or any PostgREST server through its REST API, and convert SQL to PostgREST syntax. It runs locally from @supabase/mcp-server-postgrest (npm) with API key auth.

Last verified 2 tools3 sources

Install

Generic

JSON
{
  "mcpServers": {
    "todos": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-postgrest@latest",
        "--apiUrl",
        "https://your-project-ref.supabase.co/rest/v1",
        "--apiKey",
        "your-anon-key",
        "--schema",
        "public"
      ]
    }
  }
}

Tools

postgrestRequest
Performs an HTTP request to a configured PostgREST server.
sqlToRest
Converts a SQL query to the equivalent PostgREST syntax (as method and path).

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Listed under 'Other MCP servers' in the supabase/mcp repo; intended for connecting your own users to your app via REST API.
  • The generic snippet is the Claude Desktop config from the package README. apiKey is optional (anon key, service role, or user JWT).
  • Also usable programmatically as a library.
  • No GA or beta wording found.

FAQ

What does the Supabase Postgrest MCP server do?

Local stdio MCP server that lets an LLM perform CRUD operations against a Supabase project or any PostgREST server through its REST API, and convert SQL to PostgREST syntax. The vendor documents 2 tools, including postgrestRequest and sqlToRest.

How do I add the Supabase Postgrest MCP server to an MCP client?

Supabase documents a Generic config; copy it from the Generic section of this page.

Does the Supabase Postgrest MCP server need authentication?

Yes, API key. Transport: stdio. Status: Unlabelled, last checked October 17, 2026.

Sources

Last verified against 3 Supabase pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.