Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
Check, test, prove and review a rowstile policy: access rules for Postgres row-level security
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"rowstile": {
"command": "npx",
"args": [
"-y",
"rowstile",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add rowstile -- npx -y rowstile mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"rowstile": {
"command": "npx",
"args": [
"-y",
"rowstile",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"rowstile": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rowstile",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 rowstile 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0-beta.3)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Authorization inside your Postgres. Sharing, groups, nested folders and tenants, written in one policy file and compiled to row-level security. There is no authorization service to run beside the database, and no permission data to copy into one and keep in step: the rules read the tables your app already has.
Write who-can-do-what in one small file, next to the data it depends on. The rowstile command compiles it into plain SQL: views, trigger-maintained tables for inheritance, row-level security policies, and functions for app code: checks, sharing, "who has access", "why", access requests, reviews, audit. Each change to the policy ships as a migration for the tool your app already uses (Alembic, Prisma, Drizzle Kit, plain SQL). Nothing is installed in the database first, and nothing has to run next to it: any Postgres 16, 17 or 18 works, managed or not, and the owner of your tables runs the migrations, no superuser needed.
app role app_user -- the Postgres role the app connects as
type user = app.users type folder = app.folders owner : user = owner_id -- a relation read from a column parent : folder = parent_id editor : user = app.folder_editors(folder_id -> user_id) -- ... or from a link table can edit = owner or editor or parent.edit -- inherited down the tree can view = edit rules app.folders select : view update : edit update owner_id : owner -- only the owner gives it away update parent_id after : parent.edit -- moved only under a folder they may edit
The app says who is asking in each transaction and queries its tables as usual; RLS filters every read and checks every write:
BEGIN;
SELECT authz.act_as('user', '42'); -- a trusted backend, or: -- SELECT authz.login_key('ak_...'); -- an API key (optionally limited by scopes) -- SELECT authz.login_jwt('eyJ...'); -- a JWT from your identity provider SELECT * FROM app.folders; -- only the folders 42 may view SELECT authz.can('folder', 7, 'edit'); -- ask directly SELECT * FROM authz.perms_of('folder', ARRAY['7', '8']); -- a list's buttons, in one call COMMIT;
It fits when:
It doesn't when:
rowstile 0.1.0 is in beta: complete enough to use before it is released, and it may still change where using it shows a need. Until 1.0, a minor release may change the language, the authz.* functions, the SDKs and the file formats; from the beta on, each release upgrades a database from the one before it, and the changelog says what to do. What a 0.x release promises.
rowstile was called rowfence until 0.1.0-alpha.1; another product had the name first. The changelog says what the alphas were: Before the beta.
Only pre-releases are published so far: ask for the newest.
npm i -D rowstile@next # the command with its own Python: a TypeScript app needs none pip install --pre rowstile # the command and the Python SDK: rowstile[fastapi], [sqlalchemy], ... docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/work" ghcr.io/rowstile/rowstile:0.1.0-beta.3 migrate
npm brings the Python for Linux (glibc and musl, x64 and arm64), macOS (x64 and arm64) and Windows x64. The image is for Linux on x64 and arm64, and runs as root unless told otherwise: -u makes the files it writes yours. Installing has the rest: pre-releases, the extras, the repository.
From this repository, put core/cli on PATH. rowstile init then finds the stack (Next.js, Prisma, Drizzle, FastAPI, SQLAlchemy, Alembic, goose, dbmate, Flyway), writes rowstile.toml for its migration tool, adds the SDK's packages to package.json (for Python, names the one to add) and says which line to change.
.md (https://rowstile.dev/getting-started.md).| folder | what |
|---|---|
core/ | the compiler and the rowstile command, their tests and the benchmarks |
sdk/ | the SDKs: Python (FastAPI, Django, SQLAlchemy, psycopg, asyncpg) and TypeScript (Next.js, Prisma, Drizzle, pg, postgres.js, React); previews for Go, .NET, Ruby, Java and Kotlin, Rust, Elixir and PHP |
integrations/ | each SDK's conformance suite: a small app and the checks it must pass |
examples/ | complete apps built on rowstile: a file manager, a messenger and a helpdesk |
editor/ | the VS Code and Zed extensions, a Tree-sitter grammar (Helix, Neovim); other editors start rowstile lsp |
review-ci/ | the policy review for pull requests: a GitHub action and a GitLab CI template |
docs/ | the guides and the reference, as Markdown |
site/ | the docs site, rowstile.dev (VitePress): it builds the pages from docs/ |
playground/ | rowstile in the browser (Pyodide and PGlite) |
packaging/ | how rowstile is installed: npm, PyPI and a Docker image |
demo/ | the recording at the top of this page: record.sh runs demo.tape on the guide's own app |
A question, or something you built with rowstile: Discussions. Issues and pull requests are welcome: CONTRIBUTING.md says how a change gets in, and the code of conduct how we work together. What changed in each release: CHANGELOG.md. How releases are numbered and made: RELEASING.md.
rowstile has not been audited by anyone outside the project. The threat model says what it protects and from whom. Report a vulnerability privately: SECURITY.md.
How the project itself is run, as the OpenSSF Scorecard measures it (pinned actions, what each workflow's token may do, known vulnerabilities in dependencies, review, releases):
The project's own answers to the OpenSSF Best Practices criteria, at the passing level: how it is documented, changed, tested and secured, each answer with where to check it:
Apache License 2.0; see LICENSE. Copyright 2026 Salaheddine EL HSSANI.