# How to connect Supabase to Hermes

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

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

ClawLink gives Hermes a more practical Supabase setup than rolling your own integration. Pair once in the browser and your always-on Hermes agent can act on Supabase for you — reading and doing real work on your behalf with no auth, token refresh, or tool wiring to build yourself.

## Supabase MCP for Hermes

Looking for a Supabase MCP server for Hermes Agent? ClawLink connects Supabase to Hermes Agent 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 OpenClaw instead? The [OpenClaw Supabase integration](https://claw-link.dev/openclaw/supabase) works the same way.

**Start here — paste this into Hermes to set up ClawLink:**

> Set up ClawLink for Hermes and tell me when it's ready.
> 1. Install the plugin: `hermes plugins install ClawLink-HQ/hermes-plugin --enable`
> 2. Start pairing with `hermes clawlink begin`. It prints an approval link, so show me the link and stop, don't wait.
> 3. I'll approve it in my browser, then reply "approved".
> 4. When I say approved, finish setup: `hermes clawlink finish`
> 5. Then run `hermes clawlink test` and tell me whether ClawLink is ready.

## Setup

It takes three steps to connect Hermes to Supabase.

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

**Alternative for any agent (no plugin needed):** if the Hermes Agent 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 Hermes Agent Supabase integration can do

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

### All 20 Supabase tools for Hermes

| 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 Hermes 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 Hermes Agent. 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 Hermes Agent 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.

### Hermes paired but still can't use Supabase
Pairing is a two-step handshake: run `hermes clawlink begin`, approve the link in your browser, then run `hermes clawlink finish`. If you ran finish before approving, or the approval link expired, run `hermes clawlink begin` again to get a fresh link. Confirm the plugin was installed with `--enable`, then verify with `hermes clawlink test`.

### 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 Hermes Agent Supabase integration?
Yes. ClawLink is the fastest way to connect Hermes to Supabase: link your Supabase account once in the browser and Hermes Agent can call the Supabase API through 20 ready-made tools — no custom code or token handling.

### How do I connect Supabase to Hermes with ClawLink?
Install the plugin with `hermes plugins install ClawLink-HQ/hermes-plugin --enable`, then pair once: run `hermes clawlink begin`, approve the link in your browser, and run `hermes clawlink finish`. Connect Supabase in the dashboard and Hermes can use it from the next message — no config files or API keys to manage.

### How long does it take to connect Supabase to Hermes Agent?
About two minutes. Sign in, click Connect next to Supabase in the dashboard, authenticate, and Hermes Agent 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 Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Supabase working from chat.

### Hermes paired but still can't use Supabase
Pairing is a two-step handshake: run `hermes clawlink begin`, approve the link in your browser, then run `hermes clawlink finish`. If you ran finish before approving, or the approval link expired, run `hermes clawlink begin` again to get a fresh link. Confirm the plugin was installed with `--enable`, then verify with `hermes clawlink test`.

## Related

- [Hermes Neon integration](https://claw-link.dev/hermes/neon) — Serverless Postgres with branching and scale-to-zero
- [Box](https://claw-link.dev/hermes/box) — Store, share, and manage files and folders
- [Hermes ClickHouse integration](https://claw-link.dev/hermes/clickhouse) — Query analytics databases and inspect schemas
