Supabase's MCP server says pausing your project isn't destructive. It's right, and that's the problem.
MCP tools label themselves read-only or destructive. Supabase's labels are careful and accurate, and they still can't tell you that an agent can pause your production project, create billable projects or write secrets. Those labels answer whether a tool can lose data. An access review asks what privilege it grants.
- T-01List tablesread-only: yesPassread
- T-02Pause projectdestructive: noOpenadmin: takes the project offline
- T-03Create projectdestructive: noOpenadmin: starts a billable project
- T-04Create secretdestructive: noOpenadmin: writes a credential
- T-05Execute SQLdestructive: yesFailexecute: any SQL on the project
On Friday, agent-access-review got its first contribution from someone outside the project. PR #49 classifies Supabase’s MCP server, so a config that uses it now gets privilege checks instead of a “this server is unknown” finding. It’s the 8th most common package in the 2,830 public MCP configs I reviewed last week.
The contributor did something I want every reviewer to copy: they checked each tool against Supabase’s source code instead of its README. And the source has an interesting detail. Every Supabase tool already describes itself.
Tools that label themselves
MCP lets a server attach annotations to each tool. Two of them are readOnlyHint and destructiveHint. Supabase sets both on every tool, and as far as I can tell it sets them accurately:
| Tool | Read-only? | Destructive? | What an access review sees |
|---|---|---|---|
list_tables |
yes | no | read |
execute_sql, apply_migration |
no | yes | execute any SQL on the project |
delete_branch, reset_branch, deploy_edge_function |
no | yes | delete branches, deploy code |
pause_project, restore_project |
no | no | admin: takes the project offline and back |
create_project, create_branch |
no | no | admin: starts something you pay for |
create_edge_function_secret |
no | no | admin: writes a credential |
The labels aren’t wrong. The MCP spec defines a destructive tool as one that may make destructive updates, as opposed to only additive ones. Pausing a project can be undone, and creating one only adds. By that definition they’re not destructive.
But an access review doesn’t ask whether a tool can lose data. It asks what privilege the tool grants and whether this agent should have it. Admin rights, spending money and handling credentials have no annotation. So the five tools that change your Supabase account or its secrets all read “not destructive”, and a reviewer who sorts by that label misses them.
There’s a second reason not to lean on annotations. The server’s author writes them. The spec calls them hints and tells clients not to make decisions based on annotations from servers they don’t trust. Supabase’s are good, but a review process can’t assume every server’s are.
A safeguard that depends on how you run it
Supabase went further than labels. Before execute_sql or apply_migration runs SQL with DROP, DELETE, TRUNCATE or an UPDATE without WHERE, the server can show a confirmation form (“It may permanently remove data… Run it on project …?”). The form’s state is signed and expires after ten minutes. That’s a real control.
It’s switched on in the server’s HTTP mode, when the MCP client can show forms. In the default way most configs run it, npx @supabase/mcp-server-supabase over stdio, version 0.17.0 starts the server without it. In that mode, your MCP client’s approval prompt is the only check before destructive SQL runs.
That isn’t a vulnerability. The client still asks. But it means the same package gives an agent different safeguards depending on one line of config, and a reviewer who only reads the package name can’t tell which one they’re approving.
What to check
- Classify by privilege, not by the server’s own labels. agent-access-review now treats Supabase as
read, write, delete, execute, adminonrestricteddata. That reflects what the tools can do, not how they describe themselves. - Use read-only mode where it fits.
--read-only(orread_only=trueon the hosted URL) plus a single--project-refis the right setup for an agent that only needs to read. - Record how each server runs. Stdio or HTTP, local or hosted. The safeguards differ, so the evidence should say which one you approved.
The classification is merged and ships in the next release. Three more servers are waiting for the same treatment: Notion, Sentry and Context7. Each one is a short catalog entry and a test, and each issue says exactly how to check it.