# How to connect Supabase to OpenClaw

> Connect Supabase to OpenClaw in one click. 20 Supabase tools your agent can call from chat. No API keys.

Web version: https://claw-link.dev/openclaw/supabase

ClawLink gives OpenClaw a more practical Supabase setup than rolling your own integration. Install one ClawHub skill, connect Supabase in the browser, and OpenClaw can call real Supabase actions from any chat surface with no auth, token refresh, or tool wiring to build yourself.

## Supabase MCP for OpenClaw

Looking for a Supabase MCP server for OpenClaw? ClawLink connects Supabase to OpenClaw and exposes 20 Supabase tools your agent can call over [MCP](https://claw-link.dev/learn/what-is-an-mcp-server), with [hosted auth](https://claw-link.dev/learn/oauth-for-ai-agents) and nothing to run or maintain yourself. Using Hermes instead? The [Hermes Supabase integration](https://claw-link.dev/hermes/supabase) works the same way.

**Start here:** install the ClawLink plugin (`openclaw plugins install clawhub:clawlink-plugin`), pair it in the browser, then connect the app in the ClawLink dashboard. The interactive install prompt is on the web version of this page: https://claw-link.dev/openclaw/supabase

## Setup

It takes three steps to connect OpenClaw to Supabase.

1. **Install ClawLink** — add the plugin to OpenClaw once.
2. **Connect Supabase** — one-click OAuth in the ClawLink dashboard.
3. **Use it from chat** — ask OpenClaw in plain English.

**Alternative for any agent (no plugin needed):** if the OpenClaw plugin route isn't available or doesn't work, any AI agent with shell access can use the ClawLink CLI instead:

```bash
npx -y @useclawlink/cli login          # sign in via browser — no API key to paste
npx -y @useclawlink/cli connect supabase  # connect Supabase (browser OAuth)
npx -y @useclawlink/cli actions supabase  # list available actions
npx -y @useclawlink/cli run supabase <action> --input '<json>'  # execute (add --confirm for writes)
```

## What the OpenClaw Supabase integration can do

20 Supabase tools are ready for OpenClaw once the account is connected.

### All 20 Supabase tools for OpenClaw

| Tool | What it does |
|---|---|
| **List all projects** `supabase_list_all_projects` | List all Supabase projects |
| **Get project** `supabase_get_project` | Get a Supabase project by ref |
| **Get project logs** `supabase_get_project_logs` | Get project logs |
| **Get health** `supabase_get_health` | Get API health status |
| **List all organizations** `supabase_list_all_organizations` | List all organizations |
| **Get organization** `supabase_get_organization` | Get organization information |
| **List tables** `supabase_list_tables` | List database tables |
| **Get table schemas** `supabase_get_table_schemas` | Get table schemas |
| **Select from table** `supabase_select_from_table` | Select rows from a table |
| **Run read only query** `supabase_run_read_only_query` | Execute a read-only SQL query |
| **Beta run SQL query** `supabase_beta_run_sql_query` | Execute a database SQL query |
| **List functions** `supabase_list_functions` | List all Edge Functions |
| **Get function** `supabase_get_function` | Retrieve an Edge Function |
| **Create function** `supabase_create_function` | Create a new Edge Function |
| **Deploy function** `supabase_deploy_function` | Deploy an Edge Function |
| **List database branches** `supabase_list_database_branches` | List database branches |
| **Gets project s auth config** `supabase_gets_project_s_auth_config` | Get project's auth config |
| **List secrets** `supabase_list_secrets` | List all project secrets |
| **List migration history** `supabase_list_migration_history` | List migration history |
| **List backups** `supabase_list_backups` | List project database backups |

## Example prompts

**List All Projects**

> List the relevant items in Supabase, group them by priority, and recommend what OpenClaw should do next.

**Get Project**

> Pull the relevant data from Supabase, summarize it in plain English, and point out anything that needs attention.

**Get Project Logs**

> Pull the relevant data from Supabase, summarize it in plain English, and point out anything that needs attention.

**Get Health**

> Pull the relevant data from Supabase, summarize it in plain English, and point out anything that needs attention.

## ClawLink vs. building it yourself

The alternative to ClawLink is usually manual integration setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want Supabase working from chat.

| | Manual | ClawLink |
|---|---|---|
| **Setup flow** | Collect and store the right Supabase credentials yourself, then keep the account mapping and request format correct. | ClawLink keeps the setup in one hosted flow so non-technical users can link Supabase without custom integration screens. |
| **Ongoing maintenance** | You own refresh logic, permission debugging, environment config, and every provider-specific edge case for Supabase. | ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure. |
| **Agent usability** | You still need to expose the right Supabase actions to the runtime in a format your agent can reliably use. | 20 tools for Supabase are already exposed through ClawLink, so the agent can read and act from chat immediately. |

## ClawLink vs. Composio

Composio also exposes Supabase to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for OpenClaw users instead. You install the plugin once, connect Supabase in the browser, and the 20 tools above work from chat. There is no SDK, no config file, and no API key handling. Choosing between them? Read the full [Composio alternatives](https://claw-link.dev/hub/composio-alternatives) comparison.

### OpenClaw installed the Supabase skill but can't call the tools
The ClawHub skill teaches OpenClaw about Supabase, but the calls run through the ClawLink plugin and your connected account. Make sure Supabase is connected in the dashboard, then start a fresh chat so OpenClaw reloads the tool catalog. If OpenClaw runs as a persistent gateway, restart it so the new tools register.

### Connection succeeds but no tools appear
Reconnect Supabase from the dashboard, then start a fresh chat if the runtime still has the old tool catalog loaded.

### The Supabase account is connected but the action fails
Check whether the connected account has access to the workspace, inbox, store, or project you are trying to use. Most failures at this stage are permission mismatches, not ClawLink bugs.

### The setup form accepts credentials but calls still fail
Re-enter the credentials carefully and verify the account-level permissions for Supabase. Basic and token-based integrations tend to fail on formatting mistakes or limited account roles.

### Is there a OpenClaw Supabase integration?
Yes. ClawLink is the fastest way to connect OpenClaw to Supabase: link your Supabase account once in the browser and OpenClaw can call the Supabase API through 20 ready-made tools — no custom code or token handling.

### How do I add Supabase to OpenClaw with ClawLink?
Paste the setup prompt from this page into OpenClaw. It installs the ClawLink Supabase skill from ClawHub, then you click Connect in the dashboard to authorize Supabase. OpenClaw calls the tools from the next message — no config files or API keys.

### How long does it take to connect Supabase to OpenClaw?
About two minutes. Sign in, click Connect next to Supabase in the dashboard, authenticate, and OpenClaw can use it from the next chat message.

### Why use ClawLink instead of wiring Supabase up myself?
The alternative to ClawLink is usually manual integration setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want Supabase working from chat.

### OpenClaw installed the Supabase skill but can't call the tools
The ClawHub skill teaches OpenClaw about Supabase, but the calls run through the ClawLink plugin and your connected account. Make sure Supabase is connected in the dashboard, then start a fresh chat so OpenClaw reloads the tool catalog. If OpenClaw runs as a persistent gateway, restart it so the new tools register.

## Related

- [Dropbox](https://claw-link.dev/openclaw/dropbox) — Store, sync, and share files
- [Neon tools](https://claw-link.dev/openclaw/neon) — Serverless Postgres with branching and scale-to-zero
- [Connect Box](https://claw-link.dev/openclaw/box) — Store, share, and manage files and folders
