Supabase MCP 与 API 接入

团队应用鉴权:api_key

团队 Supabase 项目:SQL 与迁移、备份、分支、Edge Functions、自定义域名、网络白名单与 Auth 配置。

本地 Supabase MCP 配置

每台设备存放明文密钥

  • 原始 Supabase Token 被复制到本地配置文件
  • 每位成员在每台电脑都需要重复安装配置
  • 每次对话都要注入数十个工具 Schema 占满上下文
通过 Duang 金库接入 Supabase

一次连接,随时一键吊销

  • 每团队独立信封加密保存凭证
  • 本地磁盘与大模型提示词中零明文密钥
  • 全团队共享同一个远程 MCP 端点
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

set up https://duang.ai/SKILL.md

全部操作(138)

操作价格
GET api.supabase.com/v1/projects/{ref}/advisors/performance

Gets project performance advisors.

自备 Key
GET api.supabase.com/v1/projects/{ref}/advisors/security

Gets project security advisors.

自备 Key
GET api.supabase.com/v1/projects/{ref}/analytics/endpoints/logs

Gets all project's logs in a single log stream

自备 Key
GET api.supabase.com/v1/projects/{ref}/analytics/endpoints/usage.api-counts

Gets project's usage api counts

自备 Key
GET api.supabase.com/v1/projects/{ref}/analytics/endpoints/usage.api-requests-count

Gets project's usage api requests count

自备 Key
GET api.supabase.com/v1/projects/{ref}/analytics/endpoints/functions.combined-stats

Gets a project's function combined statistics

自备 Key
GET api.supabase.com/v1/projects/{ref}/analytics/endpoints/metrics

Scrape a project's metrics

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/legacy

Get the signing key information for the JWT secret imported as signing key for this project. This endpoint will be removed in the future, c…

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/signing-keys

List all signing keys for the project

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/{id}

Get information about a signing key

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/{id}

Remove a signing key from a project. Only possible if the key has been in revoked status for a while.

自备 Key
PATCH api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/{id}

Update a signing key, mainly its status

自备 Key
POST api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth

Creates a new third-party auth integration

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth

Lists all third-party auth integrations

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}

Removes a third-party auth integration

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}

Get a third-party integration

自备 Key
POST api.supabase.com/v1/projects/{ref}/config/auth/sso/providers

Creates a new SSO provider

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/sso/providers

Lists all SSO providers

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/auth/sso/providers/{provider_id}

Gets a SSO provider by its UUID

自备 Key
PUT api.supabase.com/v1/projects/{ref}/config/auth/sso/providers/{provider_id}

Updates a SSO provider by its UUID

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/config/auth/sso/providers/{provider_id}

Removes a SSO provider by its UUID

自备 Key
GET api.supabase.com/v1/projects/{ref}/billing/addons

List billing addons and compute instance selections

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/billing/addons/{addon_variant}

Remove billing addons or revert compute instance sizing

自备 Key
GET api.supabase.com/v1/snippets

Lists SQL snippets for the logged in user

自备 Key
GET api.supabase.com/v1/snippets/{id}

Gets a specific SQL snippet

自备 Key
GET api.supabase.com/v1/projects/{ref}/jit-access

Get project's temporary access configuration.

自备 Key
PUT api.supabase.com/v1/projects/{ref}/jit-access

Update project's temporary access configuration.

自备 Key
GET api.supabase.com/v1/projects/{ref}/ssl-enforcement

Get project's SSL enforcement configuration.

自备 Key
PUT api.supabase.com/v1/projects/{ref}/ssl-enforcement

Update project's SSL enforcement configuration.

自备 Key
GET api.supabase.com/v1/projects/{ref}/types/typescript

Generate TypeScript types

自备 Key
GET api.supabase.com/v1/projects/{ref}/readonly

Returns project's readonly mode status

自备 Key
POST api.supabase.com/v1/projects/{ref}/readonly/temporary-disable

Disables project's readonly mode for the next 15 minutes

自备 Key
POST api.supabase.com/v1/projects/{ref}/read-replicas/setup

Set up a read replica

自备 Key
POST api.supabase.com/v1/projects/{ref}/read-replicas/remove

Remove a read replica

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/migrations

List applied migration versions

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/migrations

Apply a database migration

自备 Key
PUT api.supabase.com/v1/projects/{ref}/database/migrations

Upsert a database migration without applying

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/database/migrations

Rollback database migrations and remove them from history table

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/migrations/{version}

Fetch an existing entry from migration history

自备 Key
PATCH api.supabase.com/v1/projects/{ref}/database/migrations/{version}

Patch an existing entry in migration history

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/query

Run sql query

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/query/read-only

Run a sql query as supabase_read_only_user

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/webhooks/enable

Enables Database Webhooks on the project

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/context

Gets database metadata for the given project.

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/jit

Get user-id to role mappings for JIT access

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/jit

Authorize user-id to role mappings for JIT access

自备 Key
PUT api.supabase.com/v1/projects/{ref}/database/jit

Updates a user mapping for JIT access

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/jit/list

List all user-id to role mappings for JIT access

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/jit/invite

Invites an external user to a database for JIT access

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/database/jit/invite/{invite_id}

Deletes the invite for an external user to a database for JIT access

自备 Key
DELETE api.supabase.com/v1/projects/{ref}/database/jit/{user_id}

Delete JIT access by user-id

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/openapi

Get PostgREST OpenAPI spec

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/database/pgbouncer

Get project's pgbouncer config

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/database/pooler

Gets project's supavisor config

自备 Key
PATCH api.supabase.com/v1/projects/{ref}/config/database/pooler

Updates project's supavisor config

自备 Key
GET api.supabase.com/v1/projects/{ref}/config/database/postgres

Gets project's Postgres config

自备 Key
PUT api.supabase.com/v1/projects/{ref}/config/database/postgres

Updates project's Postgres config

自备 Key
PATCH api.supabase.com/v1/projects/{ref}/config/database/postgres

Partially updates project's Postgres config

自备 Key
GET api.supabase.com/v1/projects/{ref}/database/backups

Lists all backups

自备 Key
POST api.supabase.com/v1/projects/{ref}/database/backups/restore-pitr

Restores a PITR backup for a database

自备 Key
已展示 60 / 138 个操作,在上方输入关键词可检索全部。

常见问题

如何在 Claude Code 或 Cursor 中接入 Supabase?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 Supabase 全部 138 个操作,无需本地维护 MCP 插件或明文密钥。

通过 Duang 接入 Supabase 需要额外付费吗?

团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。

我的 Supabase 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关团队应用