AutomataGet Started

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

Neon MCP or Automata? The official Neon MCP server manages branches and migrations; Automata gives AI clients read-only access to only the tables you choose.

By , Founder & CEO, Operational Intelligence Inc.

10 min read

The official Neon MCP server and Automata both connect an AI client to a Neon Postgres database over the Model Context Protocol, but they are built for different jobs. Neon MCP is for building and operating a Neon project with an agent: branches, migrations, query tuning, and the Neon API. Automata is for letting an AI client query part of the 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 Neon's own docs, hosted tool list, and repository, all checked on November 24, 2026. 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 is on the Automata Neon MCP page.

What each product is

The official Neon MCP server is built and maintained by Neon, MIT licensed (GitHub), and hosted at https://mcp.neon.tech/mcp over Streamable HTTP. You can authorize with OAuth in the browser, which Neon calls "best for local IDEs." You can also send a Neon API key as a bearer token, which Neon calls "best for headless and remote agents." Running npx neon@latest mcp asks which agents to install into and how to authenticate, then writes the config for you. The hosted tool list is large and grouped into categories: querying and migrations, schema, projects, branches, compute endpoints, snapshots, Neon Auth, Data API, observability, docs, Functions, storage, and Realtime. It is an operator's toolkit for the whole Neon account.

Automata is an open-source (MIT) MCP server for PostgreSQL, WhatsApp, Telegram, and email over IMAP. For Neon, it connects to your database with a connection string, using a 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 off the list never show up at all. Its tools are get-database-info, list-tables, describe-table, and run-query, plus run-statement for writes, which is off by default. On the Neon side, Automata does nothing outside the database: no branches, no migrations, no project settings.

Neon MCP server vs Automata at a glance

Official Neon MCP serverAutomata
Built forBuilding and operating a Neon projectRead-only analytics on live data, limited to chosen tables
Hosted URLhttps://mcp.neon.tech/mcphttps://mcp.getautomata.app/mcp
AuthOAuth in the browser, or a Neon API key as a bearer tokenConnector token as a bearer header or in the URL path; stored as a SHA-256 hash; can expire, be rotated, or be revoked
Read-only?readonly=true, or uncheck Allow writes when authorizing; run_sql then runs in a READ ONLY transactionOn by default for new Postgres tokens
ScopingProject (?projectId=), tool category (?category=), read-only mode, and an optional Postgres role (?roleName=) whose grants limit SQLA table allowlist on each token, checked against every query plan, on top of the database role
Tables the AI can seeEvery table the connected role can reach; SQL tools connect as the database owner unless you set roleNameOnly tables on the token's allowlist
Write surfaceSQL, branch-based migrations, branches, projects, compute, and more through the Neon APIRead tools; run-statement (INSERT, UPDATE, DELETE, MERGE) only if you enable it, rolled back over the row limit
SharingEach person signs in with a Neon account that can reach the project; revoke by removing project accessSend a scoped token; no Neon account needed; revoke that one token
Production guidanceNeon recommends it for development and testing only, not productionIntended for read-only analytics on live data, with every plan checked; the database role is the real boundary
Documented clientsClaude Code, Cursor, Codex, VS Code / GitHub Copilot, Claude.ai and Claude Desktop (an official Claude connector), ChatGPT, Grok Bot (an official "Neon Postgres" plugin), and othersClaude, ChatGPT, Cursor, Grok, Meta Muse, Hermes Agent, and any client with remote MCP over streamable HTTP, as a custom connector
WhatsApp, Telegram, emailNoYes; email is read-only IMAP plus drafts
LicenseMITMIT
PriceNo separate MCP price documented; what it creates follows your Neon plan, and protected branches need a paid planFree to self-host; hosted free for one connection; Pro $19/month after a 7-day trial
TelemetryHosted server sends product analytics (account ID, name, email; tool calls without arguments or results) and Sentry error reportsAlways on for hosted Free; off by default on Pro
Self-hostingHosted is the supported path; the local stdio package is deprecated, and stdio-only clients bridge with mcp-remoteThe full product, free, including a one-click Railway template

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

When to choose the official Neon MCP server

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

  • You are building. prepare_database_migration applies a schema change on a new temporary branch so the agent can test it with run_sql. Then complete_database_migration finishes the job. Automata does none of this.
  • You work with branches and compute. The agent can create and delete branches and manage compute endpoints and snapshots.
  • You are tuning or diagnosing. explain_sql_statement, list_slow_queries, and the query-tuning tools sit next to inspect_database. That tool runs the same read-only checks as neon inspect db and works in read-only mode.
  • You want answers from the docs. The docs-only URL, https://mcp.neon.tech/mcp?category=docs, needs no account.
  • You want the smoothest sign-in. OAuth means no connection strings or roles. Neon also ships an official Claude connector, a Grok Bot plugin, and guides for ChatGPT and Cursor. If you use Cursor with Neon to write application code, this is the tool.

It also ships real safety controls: project scoping, read-only tools, category filtering, secrets=none, and a roleName pin. The OAuth authorization page also lets you pick one project, a Postgres role for SQL, and a subset of tool categories.

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. Say you want analysis on orders, invoices, and events, but not on user records or payment details. Official read-only mode stops writes, not reads. roleName can narrow reads to a role's grants, which is a real control. Automata adds a table allowlist on each token on top of the role, so tables off the list never appear to the AI at all.
  • 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 Neon organization, and revoking their token leaves everyone else connected.
  • You want read-only analytics on live data. Neon recommends its MCP server for development and testing, not production. Automata is built for read-only queries on live data, with every plan checked, and it can point at a read replica.
  • The client isn't a coding agent. Analysts often work in ChatGPT, Claude.ai, Grok Bot, or Meta Muse. See our guides for Claude, ChatGPT, Grok Bot, and Meta Muse, or Automata for any Postgres database.
  • 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. Creating a role and pasting a connection string is more work than an OAuth click. Neon's pooled endpoint hasn't been tested, and each branch needs its own connection. The hosted free plan keeps telemetry on. And Automata is a small, young project competing with a platform vendor's own server.

Supabase users face the same choice. See Automata for Supabase and the Supabase comparison.

Security, fairly

Neon is direct about the risks: "The Neon MCP Server grants broad database management capabilities." Its docs say "We recommend MCP for development and testing only, not production environments," and list:

  • "Use MCP only for local development or IDE-based workflows"
  • "Never connect MCP agents to production databases"
  • "Avoid exposing production or PII data; use anonymized data only"
  • "Always review and authorize LLM-requested actions before execution"
  • "Restrict MCP access to trusted users and regularly audit access"

Neon's production FAQ explains why: "A misread request, a bad guess about which table is safe to drop, or instructions hidden in data the agent reads can turn into a destructive statement. Query results also go into the model's context, so any customer data the agent selects leaves your database. Read-only access stops writes, but not that." The safer alternative it recommends is a branch of production, optionally with anonymized data, plus readonly, roleName, projectId, and category. Protected branches are available on paid plans.

Automata stacks three limits:

  1. The database role. Automata connects as the role in your connection string, and that role is the real security boundary. Plan checks cannot see everything triggers or user-defined functions might do, so connect with a least-privilege role, never a superuser or owner.
  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 production use automatically safe, and it doesn't stop instructions hidden in data. Text in an allowed table can still carry instructions, and your AI client may have other tools that act on them. Neon's point about context applies too: whatever the AI selects from an allowed table goes to the model. Automata narrows which tables that can be. Keep tool approvals on either way.

How to connect Neon to Automata

Step 1: Create a read-only role

In the Neon SQL Editor, create a role that can only SELECT the tables you want the AI to analyze. Don't connect as the database owner: 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.invoices, public.events to automata_reader;

Neon's docs note that roles created in the Neon Console or API are members of neon_superuser, which can read all data. Don't reuse one of those.

Step 2: Copy the direct connection string

In the Neon console, open Connect, pick your branch, database, and the new role, and turn off connection pooling to get the direct host. The string already includes sslmode=require. Neon's pooled endpoint runs PgBouncer in transaction mode, which has not been tested with Automata.

Tip: point the connection at a Neon read replica so AI-written queries never compete with production traffic. If your compute scales to zero, it starts when Automata connects, so the first query after an idle period can take a little longer.

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.

For the official server, follow Neon's MCP docs or run npx neon@latest mcp. To keep it to one project, read-only tools, and a limited role, add the parameters to the URL: https://mcp.neon.tech/mcp?readonly=true&projectId=<project-id>&roleName=<role>.

Frequently asked questions

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

The official server builds and operates a Neon project: SQL, branch-based migrations, branches, query tuning, diagnostics, and docs. Automata only queries the database, through a table allowlist on each token, and is read-only by default. It also connects WhatsApp, Telegram, and email.

Can I use both?

Yes. Use the official server while you build, and Automata when Claude, ChatGPT, or another person should read specific tables.

Does Neon MCP read-only mode hide tables?

No. ?readonly=true publishes only read-only tools and runs run_sql in a READ ONLY transaction, so it stops writes, not reads. The AI can still read every table the connected role can reach.

Isn't roleName the same as a table allowlist?

It's a good control, but not the same. ?roleName= makes every SQL tool log in as that role, so its grants decide what the agent can read. It applies to SQL only, and a role that is a member of neon_superuser doesn't limit reads. Automata adds a per-token allowlist on top of the role, and tokens can be shared without a Neon account.

Which Neon connection string should I use with Automata, and what about branches?

Use the direct (non-pooled) string from Connect in the Neon console, with your read-only role as the user. It already includes sslmode=require. Each Neon branch has its own connection string, so add one Automata connection per branch. A suspended compute starts when Automata connects, so the first query after an idle period can take a little longer.

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.

Can I point the Neon MCP server at production?

Neon says not to: "Never connect MCP agents to production databases." It suggests a branch of production, optionally with anonymized data, plus read-only mode, a limited role, project scoping, and category filtering.

How much do they cost?

Neon doesn't document a separate MCP price; what the server creates follows your Neon plan. Automata is MIT licensed and free to self-host. Hosted 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.

Try Automata with your Neon database

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

Sources

All checked on November 24, 2026.

Neon

Automata

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

Comments

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