Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
Read-only PostgreSQL for AI agents: every statement is checked before it runs. No account needed.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
VERICTO_API_KEY, VERICTO_DATABASE_ID标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"vericto-proxy": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VERICTO_API_KEY",
"-e",
"VERICTO_DATABASE_ID",
"docker.io/vericto/vericto-proxy:5.0.0@sha256:4cec9c42f94946a6e0509192b89b63bd71450a7f27088496b034c9dd76791fa9",
"/usr/local/bin/vericto-proxy",
"mcp",
"--database-url-file",
"/run/secrets/db.url"
],
"env": {
"VERICTO_API_KEY": "your-value",
"VERICTO_DATABASE_ID": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add vericto-proxy --env VERICTO_API_KEY=your-value --env VERICTO_DATABASE_ID=your-value -- docker run -i --rm -e VERICTO_API_KEY -e VERICTO_DATABASE_ID docker.io/vericto/vericto-proxy:5.0.0@sha256:4cec9c42f94946a6e0509192b89b63bd71450a7f27088496b034c9dd76791fa9 /usr/local/bin/vericto-proxy mcp --database-url-file /run/secrets/db.url运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"vericto-proxy": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VERICTO_API_KEY",
"-e",
"VERICTO_DATABASE_ID",
"docker.io/vericto/vericto-proxy:5.0.0@sha256:4cec9c42f94946a6e0509192b89b63bd71450a7f27088496b034c9dd76791fa9",
"/usr/local/bin/vericto-proxy",
"mcp",
"--database-url-file",
"/run/secrets/db.url"
],
"env": {
"VERICTO_API_KEY": "your-value",
"VERICTO_DATABASE_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"vericto-proxy": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VERICTO_API_KEY",
"-e",
"VERICTO_DATABASE_ID",
"docker.io/vericto/vericto-proxy:5.0.0@sha256:4cec9c42f94946a6e0509192b89b63bd71450a7f27088496b034c9dd76791fa9",
"/usr/local/bin/vericto-proxy",
"mcp",
"--database-url-file",
"/run/secrets/db.url"
],
"env": {
"VERICTO_API_KEY": "your-value",
"VERICTO_DATABASE_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
VERICTO_DATABASE_ID env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 vericto.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:VERICTO_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(5.0.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Stops destructive SQL before it reaches your database, whether it comes from AI
agents, scripts or people, with no code changes.
AI agents, scripts and people all run SQL against production with real credentials. Nobody reads each statement before it runs, and a database role decides what a user may touch, not whether this particular statement should run. One DELETE without a WHERE empties a table. A SELECT of the wrong columns copies emails or card numbers to wherever the result goes.
vericto-proxy sits between your clients and the database, on the database's own wire protocol. It parses every query with the vericto-engine AST parser, checks it against your rules, and either forwards it to the real database or blocks it with a normal SQL error. Your application only changes the host and port in its connection string.
License. Open source under the AGPL-3.0-only, or under a
commercial license from Vericto S.A.S. You can self-host it and use it for free,
including in production at a for-profit company. Distributing it, or offering a
modified version over a network, requires providing the source under the AGPL;
anyone who cannot do that can ask for the commercial license. Versions up to
4.23.0 keep the license they were released with.
LICENSING.md answers the common questions.
One proxy instance fronts one database and speaks exactly one wire protocol, chosen at deploy time with VERICTO_WIRE_PROTOCOL:
VERICTO_WIRE_PROTOCOL | Databases | Block response |
|---|---|---|
postgres (default) | PostgreSQL | native ErrorResponse SQLSTATE 42501 |
mysql | MySQL | native ERR_Packet ERROR 1142 |
Everything else — configuration, evaluation, telemetry — is the same across engines. Only the value above and (optionally) the default ports change.
No AI, no stochastic heuristics — the same input always produces the same result.
Other dialects (Oracle, SQL Server, Snowflake, SQLite): evaluate via the
HTTP API, the CLI or MCP;
there is no wire proxy for them. Snowflake has no TCP wire protocol at all, so
VERICTO_WIRE_PROTOCOL=snowflakestops the proxy at startup with an error.
SQLite is a library linked into the application, with no wire protocol either:
its SQL is checked in the application, before it runs.
All you need is Docker: no account, no API key, no build. This starts a throwaway Postgres, puts the proxy in front of it with the built-in ruleset, and sends a few queries through it with the psql that ships in the Postgres image. The password demo is only for this disposable database.
docker network create vericto-demo
docker run -d --name vericto-demo-db --network vericto-demo \ -e POSTGRES_PASSWORD=demo postgres:17 docker run -d --name vericto-demo-proxy --network vericto-demo \ -e UPSTREAM_HOST=vericto-demo-db vericto/vericto-proxy:5.0.0 until docker exec vericto-demo-db pg_isready -q -h localhost -U postgres; do sleep 1; done
docker run --rm --network vericto-demo postgres:17 \ psql postgresql://postgres:demo@vericto-demo-proxy:5433/postgres \ -c "CREATE TABLE users (id int PRIMARY KEY, email text)" \ -c "INSERT INTO users VALUES (1, 'ana@example.com'), (42, 'bo@example.com')" \ -c "DELETE FROM users" \ -c "DELETE FROM users WHERE id = 42" \ -c "SELECT id, email FROM users"
The image comes from Docker Hub; ghcr.io/vericto/vericto-proxy:5.0.0 serves the same digest (see Docker).
The DELETE without a WHERE never reaches the database; the one with a WHERE does:
CREATE TABLE
INSERT 0 2 ERROR: Vericto blocked this query [VERICTO-001] — AST node: DeleteStmt > WhereClause = NULL. Suggestion: DELETE FROM users WHERE id = $1 DELETE 1 id | email ----+----------------- 1 | ana@example.com (1 row)
docker logs vericto-demo-proxy shows the decision. To put the proxy in front of your own database, see Docker and Connection strings. Clean up with:
docker rm -f vericto-demo-db vericto-demo-proxy && docker network rm vericto-demo
For assertion-based coverage of the article's extended protocol, pipelines, prepared-policy refresh, TLS/SCRAM, cancellation, COPY and PostgreSQL 18 cases, run examples/postgres-wire-article/run.sh.
Your app / ORM
│ │ SQL wire protocol (proxy listen port, default 5433) ▼ vericto-proxy ──── vericto-engine (lib) ────► ALLOWED / BLOCKED │ │ (if ALLOWED) forwards query ▼ Real database upstream
Point your DATABASE_URL host at vericto-proxy instead of your real database. No code changes required — your ORM/driver is unaware of the proxy.
With the built-in ruleset, these never reach the database:
DELETE / UPDATE without WHEREDROP TABLE, DROP SCHEMA, TRUNCATEWHERE id = $1 OR 1=1)ALTER TABLE DROP COLUMN / RENAMELower-severity findings — SELECT * without WHERE, SELECT without LIMIT, INSERT without an explicit column list — are forwarded and recorded rather than blocked. With the control-plane link on, the workspace policy decides the action for each severity.
Bounded reads (4.17.0). To cap what an agent reads instead of only flagging it, a business policy with action: { rewrite_limit: n } (the LIMIT cap template in rewrite mode) makes the proxy forward the statement with LIMIT n added, or a larger LIMIT lowered, on Postgres and MySQL, simple and prepared statements. It needs VERICTO_POLICY_RULES=enforce; see docs/CONFIGURATION.md.
A blocked query is returned as a native error for the active protocol (see the table above), so no special handling is needed in your application.
PostgreSQL pipelines and prepared statements (4.17.3). Local block and session-context replies are ordered at the exact position of their upstream response cycle, after every earlier pipelined result. Backend messages are framed, so even a large row or COPY message is never split by a synthetic reply. Named and unnamed prepared SQL is checked again at Bind and Execute after a rules, policy, principal or session-context refresh; business policies that may read the time (time.*) are checked on every Execute, the others keep the verdict reached under the same rules, policy, bundle and session context (see docs/CONFIGURATION.md). If a mask or rewrite_limit would now require different SQL, the proxy returns VERICTO-PREPARED-STALE and the client must close and prepare the statement again. Portals retain the plan they bound even after their source statement is closed or replaced. PostgreSQL COPY BOTH/replication is rejected by closing the session rather than risk response mis-ordering. A FunctionCall denied by an agent-access policy also closes, because a Query-based ordering marker would change unnamed-statement state. MySQL behavior is unchanged in this patch: a MySQL prepared statement is still checked when prepared, not refreshed when it is later executed.
Columns can be tagged as sensitive per database in the Vericto dashboard (Team and Enterprise plans). The tags reach the proxy with the ruleset (/sync/rules, so the control-plane link and VERICTO_DATABASE_ID are required) and are enforced on the wire, before the database sees the query. When a query reads several tagged columns the strictest policy wins (block > mask > flag). The proxy enforces: unlike the Validation API or the CLI, which only advise, what the proxy decides is what the database receives.
| Policy | Postgres | MySQL |
|---|---|---|
block | The query never reaches the database: ErrorResponse, SQLSTATE 42501 | Never reaches the database: ERR_Packet, ERROR 1142 |
flag | Forwarded as sent, recorded as FLAGGED | Same |
mask | The proxy forwards a rewritten query in which the column is masked (full, last4, email or hash) under its own name, and never the original. The client receives masked values. | Same: the proxy forwards the rewritten query in the same COM_QUERY or COM_STMT_PREPARE, and never the original. |
If a rewrite does not hold together, the proxy blocks with VERICTO-085 rather than forward the original. SELECT * over a table with a masked or blocked column is blocked; list the columns. The full behaviour (both protocols, prepared statements, fail-safe cases, parse errors, telemetry, known limits) is in docs/SENSITIVE_COLUMNS.md.
An allowlist per database user (Team and Enterprise plans), set in the Vericto dashboard: which tables and columns that user may read, and which it may write. Everything else is denied (VERICTO-087). The policies reach the proxy with the ruleset (/sync/rules, so the control-plane link and VERICTO_DATABASE_ID are required), keyed by database user, with an optional "*" default for every user not listed.
The identity of a session is the database user it authenticated as, so give each agent its own database user and a policy for that user. Under a policy, every reference counts (WHERE, JOIN, subqueries, RETURNING, not only what the query returns), DDL is always denied, and the identity cannot be changed from inside the session (SET ROLE, USE, COM_CHANGE_USER and the like are denied). A policy in observe mode records what it would deny and forwards the query.
The full behaviour (name resolution, writes and locks, policy changes on open sessions, telemetry, known limits) is in docs/AGENT_ACCESS.md.
Kill switch (4.18.0). When an owner or admin blocks an agent (or every agent of the workspace) from the dashboard's Incident response panel, the proxy refuses every statement of that database user from its next rule sync with VERICTO-105 and the kill-switch message the Runtime API returns, before anything is evaluated and in every mode: SELECT 1, SET and BEGIN included, and statements prepared before the block. Lifting the block restores the session at the following sync. See docs/AGENT_ACCESS.md.
vericto-proxy mcp (4.21.0) is an MCP server for AI agents: Claude Code, Cursor, Codex or any MCP client gets an execute_sql tool and no database credential. Each statement is evaluated first, and the server runs exactly what it evaluated (or the policy's rewrite of it) on PostgreSQL, read-only, in a transaction that always rolls back, with row, size and time caps. describe_schema, a local check_sql and whoami come with it. Over stdio for a developer's machine, or Streamable HTTP for a team.
Try it without an account. With no control plane configured it runs locally on the built-in ruleset (the rules the TCP proxy runs standalone) and reports nothing:
claude mcp add vericto-db -- \
docker run -i --rm --user "$(id -u):$(id -g)" \ -v ~/.config/vericto/shop.u
只显示了开头部分;其余内容请在仓库中阅读