AutomataGet Started

Supabase MCP vs Automata: Which One Should Your AI Use?

Supabase MCP or Automata? The official server builds and runs Supabase projects; Automata gives AI clients read-only access to only the tables you choose.

By , Founder & CEO, Operational Intelligence Inc.

10 min read

The official Supabase MCP server and Automata both let an AI client work with a Supabase database over the Model Context Protocol, but they answer different questions. Supabase MCP is for building and operating a Supabase project with an AI agent. Automata is for letting an AI client query part of that database, read-only and limited to the tables you name.

We build Automata, so read this with that in mind. Every claim about the official server comes from Supabase's own docs, repository, and blog, checked on November 23, 2026, and the sources are listed at the end. Where the official server is the better tool, and for most development work it is, this post says so. Our own summary lives on the Automata Supabase MCP page.

What each product is

The official Supabase MCP server is built and maintained by Supabase, licensed Apache 2.0 (GitHub), and hosted at https://mcp.supabase.com/mcp. To connect, you sign in to your Supabase account in a browser and grant the MCP client access to your organization. Interactive use doesn't need a personal access token. Its tools come in groups:

  • database (list_tables, list_migrations, apply_migration, execute_sql)
  • debugging (query_logs, get_advisors)
  • development (get_project_url, get_publishable_keys, generate_typescript_types)
  • edge functions, account management, docs search, experimental branching, and storage

It is an operator's toolkit for the whole project.

Automata is an open-source (MIT) MCP server for PostgreSQL, WhatsApp, Telegram, and email over IMAP. For Supabase, it connects to your project's Postgres database with a connection string, as a database role you create. Each AI client gets a connector token, and the token carries a table allowlist. Every query is checked against its plan before it runs, and tables that aren't on the list never show up. New Postgres tokens start read-only. Automata does nothing outside the database: no migrations, no functions, no project settings.

Supabase MCP server vs Automata at a glance

Official Supabase MCP serverAutomata
Built forBuilding and operating a Supabase projectLetting an AI client query chosen tables
Hosted URLhttps://mcp.supabase.com/mcphttps://mcp.getautomata.app/mcp
AuthOAuth: sign in to Supabase and grant access to your organization; a personal access token as a bearer header for CIConnector token as a bearer header or in the URL path; shown once, stored as a SHA-256 hash; can expire, be rotated, or be revoked
Read-only?read_only=true runs queries as a read-only Postgres user; you add itOn by default for new Postgres tokens
ScopingBy project (?project_ref=), read-only mode, and feature group (?features=)By table: an allowlist on each token, checked against every query plan, on top of the database role
Tables the AI can seeEvery table in the projectOnly tables on the token's allowlist
Write surfaceSQL, migrations, edge function deploys, branches, project settingsRead tools; run-statement (INSERT, UPDATE, DELETE, MERGE) only if you enable it, rolled back over the row limit
Sharing with a teammate or clientThey sign in with a Supabase account that can reach the project; revoke by removing project accessSend a scoped token; no Supabase account needed; revoke that one token
Customers and end usersSupabase says not to give it to customers, since it runs with your developer permissionsBuilt around scoped tokens; the role and allowlist set the limit
Documented clientsClaude Code, Codex, Grok, Gemini CLI, GitHub Copilot, Cursor, VS Code, Goose, Claude.ai and ChatGPT via their connector directories, and othersClaude, ChatGPT, Cursor, Grok, Meta Muse, Hermes Agent, and any client with remote MCP over streamable HTTP, added as a custom connector
WhatsApp, Telegram, emailNoYes; email is read-only IMAP plus drafts
LicenseApache 2.0MIT
PriceNo separate MCP price documented; branching requires a paid Supabase planFree to self-host; hosted free for one connection; Pro $19/month after a 7-day trial
Self-hostingLocal CLI at http://localhost:54321/mcp and self-hosted Supabase offer a subset of tools and no OAuth 2.1The full product, free, including a one-click Railway template

The Supabase MCP page covers the Automata side of this table in full, with setup.

When to choose the official Supabase MCP server

If the person driving the AI is a developer with access to the project, the official server is the right default, and Automata can't replace it. Choose it when:

  • You are building. The agent can write and apply migrations with apply_migration, check history with list_migrations, generate TypeScript types, and deploy edge functions. Automata does none of this.
  • You are debugging. query_logs and get_advisors bring logs and Supabase's advisors into the same conversation as the code.
  • You work with branches. Branch tools let an agent create, reset, rebase, and merge branches. They are experimental and require a paid plan.
  • You want answers from the docs. search_docs lets the agent look up Supabase documentation without leaving the session.
  • You manage projects. With account tools on, the agent can list, create, pause, and restore projects, and check costs before creating one.
  • You want the smoothest sign-in. OAuth means no connection strings, no database roles, and no tokens to copy. The official server is also in the Claude.ai and ChatGPT connector directories. Automata is not, so you add it as a custom connector.

It also ships real safety controls: project scoping, read-only mode, feature groups, and SQL results wrapped in instructions that discourage the model from following commands found in the data.

When to choose Automata

Automata fits when the AI should see a slice of the data, not the whole project. Choose it when:

  • Only some tables should be visible. You want analysis on orders, subscriptions, and events, but not on auth.users or payment details. Official read-only mode stops changes, not reads, so every table in the project is still in view. Automata's allowlist hides everything else.
  • You are sharing access. Give a teammate, contractor, or client a token for just the tables they need. They don't need a seat in your Supabase organization, and revoking their token leaves everyone else connected.
  • The client isn't a coding agent. Analysts and operators often work in ChatGPT, Claude.ai, Grok Bot, or Meta Muse. We have step-by-step guides for Claude, ChatGPT, Grok Bot, and Meta Muse.
  • You want writes off unless you turn them on. New tokens start with read tools on and run-statement off, and disabled tools are never registered.
  • The same assistant needs your messages too. One account can also connect WhatsApp, Telegram, and email, each scoped chat by chat and folder by folder.

Automata has real costs:

  • You create a Postgres role and paste a connection string, which is more work than an OAuth click.
  • Only the Session pooler has been tested.
  • The hosted free plan keeps telemetry on.
  • It is a small, young project, competing with a platform vendor's own server.

The same split applies to Neon. Neon's official MCP server is the tool for branches and migrations, and Automata is the tool for table-scoped reads. See Automata for Neon, or Automata for any Postgres database.

Security, fairly

Supabase is direct about the risks. Its docs say "connecting an LLM to your Supabase projects carries security risks" and call prompt injection "the primary attack vector unique to LLMs." The server wraps SQL results with extra instructions to discourage the model from obeying commands in the data, and Supabase adds that "this is not foolproof." Its guidance:

  • Keep manual approval on and review each tool call.
  • Connect to production only when the task requires production evidence. Use project scoping, read-only mode, restricted feature groups, and the narrowest query that answers the question.
  • Don't give the server to customers or end users, because it runs with your developer permissions.

Supabase's October 2025 announcement leaned toward development projects. The current docs allow production with those controls.

Automata stacks three limits:

  1. The database role. Automata connects as the role in your connection string, so Postgres grants and row-level security apply unless that role bypasses RLS. The dashboard warns when the role is a superuser or bypasses RLS. The role is the real security boundary.
  2. The table allowlist. Each token names its tables, and every query is checked against its plan before it runs.
  3. Read-only by default. Writes need run-statement, which is off on new tokens and rolls back any change over its row limit.

None of this makes prompt injection impossible. Text in an allowed table can still carry instructions, and your AI client may have other tools that act on them. The limits shrink what an injected instruction can reach through Automata: tables off the list and tables the role can't read stay out of reach. Keep tool approvals on in your client either way.

How to connect Supabase to Automata

Step 1: Create a read-only role

In the Supabase SQL Editor, create a role that can only SELECT the tables you want the AI to analyze. Don't connect as postgres: the role is the real security boundary.

create role automata_reader login password '<strong-password>';
grant usage on schema public to automata_reader;
grant select on public.orders, public.subscriptions, public.events to automata_reader;

Step 2: Copy the Session pooler string

In the dashboard, open Connect and copy the Session pooler connection string. Then swap in your role as the user, such as automata_reader.<project-ref>. Direct db.<ref>.supabase.co hosts are IPv6-only and fail on hosts like Railway.

Step 3: Create a scoped token and add it to your client

Paste the string into Automata, create a connector token with a table allowlist, and add the URL to Claude, ChatGPT, or Cursor. Start with get-database-info.

claude mcp add --transport http automata https://mcp.getautomata.app/mcp/<connector-token>

In Claude.ai or Claude Desktop, go to Settings → Customize → Connectors → Add → Add custom connector and paste the same URL. Clients that prefer headers can use /mcp with Authorization: Bearer. Use the Session pooler on port 5432, not the Transaction pooler on port 6543, which has not been tested with Automata.

For the official server, follow Supabase's MCP guide. To limit it to one project and read-only queries, add both parameters to the URL: https://mcp.supabase.com/mcp?project_ref=<your-project-ref>&read_only=true.

Frequently asked questions

What is the difference between the official Supabase MCP server and Automata?

The official server builds and operates a Supabase project: SQL, migrations, branches, edge functions, logs, advisors, and docs. Automata only queries the database, through a table allowlist on each token, and is read-only by default. It can also connect WhatsApp, Telegram, and email.

Can I use both?

Yes. Use the official server for development in Cursor or Claude Code, and use Automata when an AI client or another person should see only some tables.

Does Supabase MCP read-only mode hide tables?

No. read_only=true runs queries as a read-only Postgres user, so it stops changes, not reads. Official scoping works by project, read-only mode, and feature group, not by table, so every table in the project is still visible.

How do I keep auth.users private?

With Automata, leave auth.users off the token's allowlist and don't grant the role access to it. The allowlist hides the table from the AI. Because the role has no grant on it, Postgres also refuses any read that gets past the allowlist.

Should I use the Session pooler or the Transaction pooler?

Use the Session pooler on port 5432. The Transaction pooler on port 6543 has not been tested with Automata. Direct db.<ref>.supabase.co hosts are IPv6-only and fail on hosts like Railway.

Can the AI write to my database through Automata?

Only if you allow it. New tokens start with read tools on and run-statement off. When enabled, run-statement accepts only INSERT, UPDATE, DELETE, or MERGE, and rolls back changes over the row limit.

How much do they cost?

Supabase doesn't document a separate price for its MCP server, and branching requires a paid plan. Automata is MIT licensed and free to self-host. The hosted version is free for one connection, with telemetry always on. Pro is $19/month after a 7-day trial and includes unlimited connections and connector tokens, with telemetry off by default.

Does either one prevent prompt injection?

No. Supabase wraps SQL results with instructions that discourage the model from following commands in the data, and says that isn't foolproof. Automata limits an injected instruction to the role's grants and the token's tables. With either one, keep approvals on in your client.

Try Automata with your Supabase database

Keep the official Supabase MCP server for building. When an AI client, teammate, or client should see only some tables, read-only and without a Supabase login, see the Automata Supabase MCP setup or create a free account and connect your first database.

Sources

All checked on November 23, 2026.

Supabase

Automata

Supabase ships often, and its MCP server, docs, and limits will change. If something here is out of date or unfair to Supabase, tell us and we will correct it.

Comments

Questions, corrections, or your own setup? Join in below. Pick any name to post.