How to connect Supabase MCP to Claude Cowork

Connect Claude Cowork to Supabase MCP. List all projects and their databases, deploy edge function from repo branch, and more using natural language, with authentication handled for you.

Supabase MCP logoSupabase MCP
Dcr Oauth

Supabase MCP is Supabase's hosted MCP server for managing projects, databases, edge functions, storage, and workflows. Use it to manage Supabase resources and development workflows from a single hosted control plane.

32 Tools

Introduction

Cowork is Anthropic's AI agent for knowledge work. Think of it as Claude Code for everything else. It works autonomously with your computer, local files, and applications to accomplish complex tasks.

This guide walks you through the easiest and most secure way to connect your Supabase account to Cowork via Composio Connect, enabling it to list all projects and their databases, deploy edge function from repo branch, create new branch for your database, and more such actions on your behalf without compromising your account security.

Also integrate Supabase MCP with

Connecting Supabase to Claude Cowork

1. Open Customize

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

2. Add the Composio MCP server

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

3. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Cowork

4. Connect your Supabase account

Back in Cowork, ask the agent to connect to Supabase or give it any Supabase-related task.

For example, ask Cowork to:

  • "List all projects and their databases"
  • "Deploy edge function from repo branch"
  • "Create new branch for your database"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Cowork, and your Supabase account is ready to use.

What is Claude Cowork?

Claude Cowork is Anthropic's agent for general knowledge work. It can use your computer, files, and connected applications to complete longer-running tasks across your work tools.

With Composio Connect, Cowork can securely access apps like Supabase through MCP without you sharing account credentials directly with the agent.

What is the Supabase MCP server, and what's possible with it?

The Supabase MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Supabase account. It provides structured and secure access so your agent can perform Supabase operations on your behalf.

TOOLS

Supported Tools

Every Supabase MCP action and event your agent gets out of the box.

Apply migration

Applies a migration to the database.

Confirm cost

Ask the user to confirm their understanding of the cost of creating a new project or branch.

Create branch

Creates a development branch on a Supabase project.

Create project

Creates a new Supabase project.

Delete branch

Deletes a development branch.

Deploy edge function

Deploys an Edge Function to a Supabase project.

Execute sql

Executes raw SQL in the Postgres database.

Generate typescript types

Generates TypeScript types for a project.

Get advisors

Gets a list of advisory notices for the Supabase project.

Get cost

Gets the cost of creating a new project or branch.

Get edge function

Retrieves file contents for an Edge Function in a Supabase project.

Get organization

Gets details for an organization.

Get project

Gets details for a Supabase project.

Get project url

Gets the API URL for a project.

Get publishable keys

Gets all publishable API keys for a project, including legacy anon keys (JWT-based) and modern publishable keys (format: sb_publishable_.

Get storage config

Get the storage config for a Supabase project.

List branches

Lists all development branches of a Supabase project.

List edge functions

Lists all Edge Functions in a Supabase project.

List extensions

Lists all extensions in the database.

List migrations

Lists all migrations in the database.

List organizations

Lists all organizations that the user is a member of.

List projects

Lists all Supabase projects for the user.

List storage buckets

Lists all storage buckets in a Supabase project.

List tables

Lists all tables in one or more schemas.

Merge branch

Merges migrations and edge functions from a development branch to production.

Pause project

Pauses a Supabase project.

Query logs

Runs a custom read-only ClickHouse SQL query against a Supabase project's unified logs stream, for filtering, aggregating, or joining across log fields more precisely than a simple per-service log dump.

Rebase branch

Rebases a development branch on production.

Reset branch

Resets migrations of a development branch.

Restore project

Restores a Supabase project.

Search docs

Search the Supabase documentation using GraphQL.

Update storage config

Update the storage config for a Supabase project.

FRAMEWORKS

How to build Supabase MCP Agent with another framework

FAQ

Frequently asked questions

With a standalone Supabase MCP server, the agents and LLMs can only access a fixed set of Supabase tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Supabase and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Supabase tools.

Yes, absolutely. You can configure which Supabase scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Supabase data and credentials are handled as safely as possible.

Start with Supabase MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Supabase MCP tool your agent needs.Free to start.

Start building