Railway
One-click deploy
Skip local setup entirely. Provision the full stack, including Postgres, Redis, and volumes, on Railway in a few minutes.
- No local Docker required
- Managed Postgres, Redis, and volumes
- Add or remove connectors anytime
100% Free· Open source · Self-host or hosted
Example of the Claude chat app using the Automata PostgreSQL MCP server. The user asks Claude how monthly recurring revenue changed by plan over the last six months. Claude checks the database, lists the three tables in scope, is refused when it tries to query user_profiles because that table is outside the token's scope, then queries subscriptions and reports that Team revenue grew 76 percent while Starter has slipped since July.
The gap
The official Supabase MCP server is built for building. It manages tables, migrations, branches, edge functions, and logs, and you can limit it to one project and turn on read-only mode. What it cannot do is limit which tables the AI sees: read-only mode stops changes, not reads, so every table in the project is still fair game.
Automata connects to the same Supabase Postgres database with a connection string and adds a table allowlist to each connector token. Every query is checked against its plan before it runs, and tables off the list never show up at all. Keep the official server for development; use Automata when the AI should only see part of your data.
When you need it
auth.users, payment details, and internal notes never reach the model. Tables off the token are hidden from list-tables, and any query that touches one is refused before it runs.
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.
Old schemas, backup copies, and orders_v2 tables send the model to the wrong place. Scope the token to the tables that matter, and the AI works from a clean schema.
Compared
Both connect Claude and ChatGPT to Supabase over a remote endpoint. They differ in what the AI can reach and who you can safely hand it to.
| Capability | Official Supabase MCP | Automata |
|---|---|---|
| Which tables the AI can read | Every table in the project | Only the tables on the token allowlist |
| Sharing with someone else | They sign in with a Supabase account that can reach the project | Send a scoped token; no Supabase account needed |
| Revoking access | Remove their access to the Supabase project | Revoke one token; other clients keep working |
| What the AI can do | SQL, migrations, edge functions, branches, and project settings | Read queries; writes only if you enable them, capped by row count |
| Query checks | Read-only mode, if you turn it on | Read-only by default, and every plan checked against the allowlist |
Comparing more servers? See the best PostgreSQL MCP servers in 2026, compared.
Token scope
automata_reader · pooler.supabase.com
public.orders
Commerce · 312k rows
public.subscriptions
Billing · 48k rows
public.events
Product analytics · 9.4M rows
auth.users
Emails and sign-in data
public.orders_v1_backup
Legacy · unused since 2023
Out-of-scope query refused
auth.users · table_outside_token_scope
Run it your way
The control layer protecting your messages and data should not be a black box. Read the code, verify the checks, and deploy Automata wherever your security model requires.
One-click deploy
Skip local setup entirely. Provision the full stack, including Postgres, Redis, and volumes, on Railway in a few minutes.
Free, forever
Run the Nuxt control plane and Postgres on your machine, VPS, or homelab. Add the WhatsApp or Telegram services only when you need those connectors.
Free tier available
Use the same connector and permission model without operating the services yourself. Free for one connection; Pro is $19/month after a 7-day trial.
Comparing Automata with other tools? Read Muse vs Grok Bot, Best WhatsApp MCPs, Best Postgres MCPs, Automata vs Nango, Automata vs Composio, or see all comparisons.
Reference
The same tools as the PostgreSQL MCP, each limited to the tables on the token. Disabled tools are never registered, so the AI cannot even try them.
get-database-inforeadReturns the server version, database name, connecting role, and the token table scope.
list-tablesreadLists only the tables in scope, with schema and name filters.
describe-tablereadReturns columns, keys, constraints, indexes, and comments for one in-scope table.
run-queryreadRuns one SELECT, WITH, VALUES, or TABLE statement in a read-only transaction, with paged results and a timeout, or returns its plan without running it.
run-statementwriteRuns one INSERT, UPDATE, DELETE, or MERGE. Disabled by default; oversized changes roll back in full.
Full parameters are in the MCP tools reference.
Setup
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;In the dashboard, open Connect and copy the Session pooler connection string, then swap in your role as automata_reader.<project-ref>. Direct db.<ref>.supabase.co hosts are IPv6-only and fail on hosts like Railway.
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 to confirm it works.
claude mcp add --transport http automata \
https://mcp.getautomata.app/mcp/<connector-token>In Claude.ai or Claude Desktop, open Settings → Customize → Connectors → Add → Add custom connector and paste the same URL. Clients that prefer headers can use /mcp with Authorization: Bearer. See all clients.
Use the Session pooler on port 5432, not the Transaction pooler on port 6543, which has not been tested with Automata.
Guides
Use cases
FAQ
No. It can be limited to one project and switched to read-only, but it has no table allowlist, so the AI can read every table in the project. Automata adds that allowlist per connector token.
Yes. They do different jobs. Use the official server while you build, for migrations, branches, and edge functions. Use Automata to give Claude or ChatGPT, or another person, read access to specific tables.
Leave them off the token’s table list, and don’t grant your database role access to them. Automata hides tables outside the token from list-tables and refuses any query whose plan touches one.
Yes. Create a separate connector token for them with only the tables they need. They paste the URL into their own AI client, never see your connection string or your other tables, and you can revoke their token without affecting anyone else.
Automata connects as the role in your connection string, so your RLS policies apply to that role unless it bypasses RLS. The connection’s dashboard warns when the role is a superuser or bypasses RLS.
The Session pooler string from Connect in the Supabase dashboard, with your own role as the user name, such as automata_reader.<project-ref>. The direct database host is IPv6-only, so it fails on deployments without outbound IPv6 unless you buy Supabase’s IPv4 add-on.
Only if you allow it. New tokens start with read tools enabled and run-statement disabled. When you enable it, it accepts only INSERT, UPDATE, DELETE, or MERGE, and rolls back changes over the row limit.
Yes. Automata is MIT licensed and free to self-host, including a one-click Railway template. The hosted version at mcp.getautomata.app is free for one connection, with telemetry always on; Pro is $19/month after a 7-day trial.
Deploy the free MCP server in minutes and scope each token to exactly the tables it should read.