Skip to content

Supabase MCP and API

Supabase provides access to project databases, schemas, branches and backend services. An agent can inspect project databases and schemas before development changes. Sign in to Supabase the first time an agent uses the server.

Add to Longwave

Install elsewhere

Install Supabase

Choose a harness. These instructions connect to the hosted MCP endpoint shown on this page.

Claude Code

Run this in your terminal. It adds a user-scoped server; use --scope project instead if it should apply only to the current project.

terminal
claude mcp add --scope user --transport http supabase https://mcp.supabase.com/mcp
access
Connect account

Use Supabase on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Sign in to Supabase the first time an agent uses the server.
  3. Ask for the result in any thread, for example: “Inspect a project schema before writing SQL”. The agent picks the Supabase function and calls it.

Use cases

Questions people ask

Can Supabase MCP restrict access to one project?

The hosted server supports project scoping. Use a project reference to restrict tools to that project. Supabase documentation

Can Supabase MCP use read-only access?

The hosted server supports a read-only option. This option restricts database operations exposed to the agent. Supabase documentation

How do I add the Supabase MCP server to Claude Code?

Run claude mcp add --transport http supabase https://mcp.supabase.com/mcp in a terminal. Sign in to Supabase the first time an agent uses the server.

Who publishes the Supabase MCP server?

Supabase publishes the Supabase MCP server that Longwave installs.

Use Supabase in Longwave

Call Supabase from any agent thread, on your machine or in the cloud.

Add to Longwave