Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
Postgres backend your coding agent builds over MCP; destructive actions wait for a person.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
BACKENLY_API_KEY, BACKENLY_PROJECT, BACKENLY_API_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://backenly.com/api/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"backenly": {
"command": "npx",
"args": [
"-y",
"@backenly/mcp-server"
],
"env": {
"BACKENLY_API_KEY": "your-value",
"BACKENLY_PROJECT": "your-value",
"BACKENLY_API_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http backenly https://backenly.com/api/mcpclaude mcp add backenly --env BACKENLY_API_KEY=your-value --env BACKENLY_PROJECT=your-value --env BACKENLY_API_URL=your-value -- npx -y @backenly/mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"backenly": {
"url": "https://backenly.com/api/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"backenly": {
"command": "npx",
"args": [
"-y",
"@backenly/mcp-server"
],
"env": {
"BACKENLY_API_KEY": "your-value",
"BACKENLY_PROJECT": "your-value",
"BACKENLY_API_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"backenly": {
"type": "http",
"url": "https://backenly.com/api/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"backenly": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@backenly/mcp-server"
],
"env": {
"BACKENLY_API_KEY": "your-value",
"BACKENLY_PROJECT": "your-value",
"BACKENLY_API_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://backenly.com/api/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
BACKENLY_PROJECT envBACKENLY_API_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 backenly 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:BACKENLY_API_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.4.0)于13天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Plug [Backenly](https://backenly.com) into Claude Code, Cursor, Codex, Cline, and Claude Desktop over the Model Context Protocol.
claude mcp add backenly -- npx -y @backenly/mcp-server \
--project --key mcp_live_...
Run it before you open the agent: hosts read MCP config when a conversation starts, so the tools appear in the next conversation, not the one that ran the command. An agent that installs it mid-conversation keeps working through npx -y @backenly/cli@latest call , which reaches the same tools with the same key.
Twenty-three advertised tools, not sixty. The catalog is an allowlist admitted on one rule — *is there exactly one tool here that answers a given request?* — because tool-selection accuracy degrades with catalog size and models misfire hardest between similarly-named tools. Everything else is reached through backend_chat. Unlisted tools stay dispatchable, so clients pinned to an older manifest keep working.
backend_chat — say what you want> Add comments and likes to my posts table
The host LLM hands the request to Backenly's brain. Brain plans, executes, and returns a summary. The host LLM never has to learn a vocabulary.
read_backend_state — the single read-state door. Call with no arguments for the grounding overview; pass section (schema, tables, apis, rls, metrics, errors, deploy, usage, autonomy, …) to drill in. It replaces the ~26 list_* / get_* tools, which remain dispatchable.run_query — standard read-only SQL over your workspace schema: joins, GROUP BY, aggregates, window functions, CTEs, EXPLAIN. Runs as a SELECT-only Postgres role scoped to the project, so isolation is a database grant rather than a parser. Secret-bearing columns come back redacted.get_table_schema — everything about one table: columns, foreign keys, indexes, CHECK constraints with their permitted values, and live RLS policies. Read it before any write.generate_types — TypeScript types (or a typed client, or OpenAPI) from the live catalog, with a schemaHash for drift checks.fetch_docs — pull current Backenly docs instead of guessing.check_approval — poll an escalated destructive request.apply_migration — ordinary PostgreSQL DDL (CREATE TABLE, ALTER TABLE, CREATE INDEX), translated statement by statement into governed actions. All-or-nothing; anything it cannot govern is refused with the tool to use instead. Not raw SQL execution.db_insert / db_update / db_delete — row writes. Owner-level: validates shapes but bypasses end-user RLS and triggers, so treat them as maintenance tools.set_rls — a row-level security predicate installed verbatim and read back from pg_policies.One tool per dashboard section, each with an action: auth, storage, functions, realtime, integrations, monitoring, autonomy, webhooks, deploy, connect, plus branch (preview branches). Each tool's description lists its actions and their arguments. Destructive and high-risk actions (deploy, rollback, deletes, revoking a key) park the exact call for a human and run it verbatim once approved; poll check_approval. REST endpoints need no generation step, and older tool names such as enable_auth or adopt_external_schema stay callable by name without being advertised.
Browse live state without spending a tool call:
backenly://state Full backend state
backenly://tables Table list + counts backenly://apis REST endpoints backenly://buckets Storage buckets backenly://triggers Event triggers backenly://rls RLS policies backenly://functions AI functions backenly://deploy Deploy status backenly://metrics Performance metrics backenly://errors Recent errors backenly://usage Plan usage
Generate a scoped key from [backenly.com](https://backenly.com) → your project → Connect → Agents. It starts with mcp_live_, only works on MCP routes, and is revocable from the same page.
Claude Code / Codex — one command:
claude mcp add backenly -- npx -y @backenly/mcp-server \
--project --key mcp_live_...
Cursor (~/.cursor/mcp.json, not the project's), Cline (cline_mcp_settings.json), Claude Desktop — same server block:
{
"mcpServers": { "backenly": { "command": "npx", "args": [ "-y", "@backenly/mcp-server", "--project", " ", "--key", "mcp_live_..." ] } } }
Prefer to keep the key out of a file you might commit? Run the installer once — it verifies the key, writes ~/.backenly/mcp.json (mode 0600), and prints config snippets. The host block then needs no key at all.
npx @backenly/mcp-server init
Open a new conversation in your host. Backenly appears as a tool surface.
The mcp_live_ key is for your agent only. Backenly's runtime API refuses it, so it never goes in app code or an app's environment: the app gets its own key from connect { action: "create_api_key" }, or Settings → API keys.
Host LLM (Claude Code, Cursor, ...)
│ stdio JSON-RPC ▼ @backenly/mcp-server (this package) │ HTTPS + x-api-key + x-correlation-id ▼ backenly.com — brain, executor, runtime APIs
The package contains zero business logic — it's a thin protocol adapter. Tool definitions, billing, rate limiting, and audit logging all live server-side. New brain tools appear in your host immediately without npm update.
Built on the official MCP TypeScript SDK (v2). It serves both protocol eras from one server: hosts that open with initialize (revisions 2024-11-05 through 2025-11-25) and hosts that speak 2026-07-28 (server/discover, per-request _meta). Requires Node.js 20 or newer.
Every tool result carries the server's JSON body twice: as structuredContent, for hosts that read fields (ok, code, hint, applied, approval, …), and as text, for hosts that only read text. A failure adds a second text block saying what its fields mean for the next step. Fields the server did not send stay absent.
What this package serves (tools, instructions, resources, result shapes) is what the remote endpoint (https://backenly.com/api/mcp) serves, and CI compares the two call for call.
502/503/504 retry with exponential backoff (250ms / 1s / 3s + jitter), honoring Retry-After./api/mcp/health runs before manifest fetch so auth failures surface in <1s.x-correlation-id for distributed tracing.mcp_live_…) are scope-gated — /api/mcp/* rejects runtime SDK keys. A leaked SDK key cannot be replayed against MCP to drop tables.drop_table, delete_bucket, truncate_table, etc. are never executed from MCP. Ask for one via backend_chat and it parks in the project's Review Queue and returns an approval id; a human decides in the dashboard and you poll check_approval until it is executed or rejected. The agent cannot self-approve.ApiKey.rateLimit / rateLimitWindow. 429 includes Retry-After + X-RateLimit-* headers.AuditLog row on your project timeline.0600 permissions (user-only readable).| Variable | Default | Notes |
|---|---|---|
BACKENLY_API_KEY | from ~/.backenly/mcp.json | Override key (CI / multiple projects). |
BACKENLY_API_URL | https://backenly.com | Self-hosted Backenly endpoint. |
npx @backenly/mcp-server init # interactive setup
npx @backenly/mcp-server init -k # setup with API key flag npx @backenly/mcp-server # run as MCP server (stdio) npx @backenly/mcp-server health # verify the configured key npx @backenly/mcp-server version npx @backenly/mcp-server help
"This key has scope='runtime'" — you pasted your SDK anon key. Generate a separate MCP key from the project's Connect → Agents page.
"Could not reach Backenly" — check your internet or set BACKENLY_API_URL if self-hosting.
Host shows "MCP server crashed" — run npx @backenly/mcp-server health to verify the key. Check ~/.backenly/mcp.json exists and has mode 0600.
Rate-limited (429) — your MCP key hit its per-minute cap. Default is 600/min; raise it from the dashboard or wait until X-RateLimit-Reset.
MIT — see LICENSE.