list_tables
Lists all tables within the specified schemas.
schemasproject_id必填
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 1, 2026
Supabase projects, tables, SQL, migrations, and storage from your MCP client.
在 MCP 客户端中管理 Supabase 项目:查看表结构与迁移、执行 SQL、查看日志、部署 Edge Functions、管理存储桶和预览分支。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
appbase puts a Supabase account within reach of an MCP client or a terminal. Projects and organizations can be listed, inspected, created, paused, and restored. Inside a project you can look at the schema (tables, extensions, migrations), run SQL or apply a tracked migration, read logs and security/performance advisors, fetch the project URL and publishable keys, generate TypeScript types from the live schema, list and deploy Edge Functions, manage storage buckets, and work with preview branches — create, merge, reset, rebase, and delete them.
A Supabase personal access token is required. Put it in the
SUPABASE_ACCESS_TOKEN environment variable; it is sent to the
Supabase Management API as a Bearer token and never appears in
output. When the variable is missing, every call fails with an error
that names it.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Every MCP tool is also a CLI subcommand. Tool arguments are passed as
one JSON object with --json; project-scoped tools take the project
reference as project_id:
Results print as JSON. Exit codes: 0 on success, 1 when an API
call fails (including a missing SUPABASE_ACCESS_TOKEN), 2 for
usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
All calls go to https://api.supabase.com/v1. SQL tools POST to the
project's database/query endpoint; list_tables and
list_extensions are catalog queries through that same endpoint, and
all other SQL passes through exactly as given.
MIT — see LICENSE.
来源:README.md,提交 8cc7b4a
Lists all tables within the specified schemas.
schemasproject_id必填Lists all extensions in the database.
project_id必填Lists all migrations in the database.
project_id必填Executes raw SQL in the database.
query必填project_id必填Applies a SQL migration to the database. SQL passed to this tool will be tracked within the database, so use this for DDL operations (schema changes).
name必填query必填project_id必填Gets logs for a Supabase project by service (api, postgres, edge-function, auth, storage, realtime, or branch-action).
service必填project_id必填Gets advisory notices for a Supabase project, by type: security or performance.
type必填project_id必填Gets the API URL for a Supabase project.
project_id必填Gets the publishable and anon API keys for a Supabase project.
project_id必填Generates TypeScript types based on the database schema.
project_id必填included_schemasLists all Edge Functions in a Supabase project.
project_id必填Gets details for an Edge Function by slug.
project_id必填function_slug必填Deploys an Edge Function to a Supabase project from inline files.
name必填files必填project_id必填entrypoint_pathimport_map_pathLists all storage buckets in a Supabase project.
project_id必填Creates a new storage bucket in a Supabase project.
name必填publicproject_id必填file_size_limitallowed_mime_typesLists all development branches for a Supabase project.
project_id必填Creates a new development branch for a Supabase project.
name必填project_id必填confirm_cost_idDeletes a development branch from a Supabase project.
branch_id必填project_id必填Merges migrations and edge functions from a development branch into production.
branch_id必填project_id必填Resets a development branch to its parent state, optionally at a migration version.
branch_id必填project_id必填migration_versionRebases a development branch on its parent, applying newer migrations.
branch_id必填project_id必填Lists all Supabase projects for the user.
无需输入参数。
Gets details for a project.
id必填Creates a new Supabase project.
name必填regionconfirm_cost_idorganization_id必填Pauses a project.
project_id必填Restores a project.
project_id必填Lists all organizations that the user is a member of.
无需输入参数。
Gets details for an organization.
id必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npx @reneturcios/appbase list_projectsdocker run -i -e SUPABASE_ACCESS_TOKEN ghcr.io/cloudcorprecords/appbaseexport SUPABASE_ACCESS_TOKEN=<your Supabase personal access token>
appbase list_projectsappbase list_tables --json '{"project_id": "abcdefghijklmnopqrst"}'appbase execute_sql --json '{"project_id": "abcdefghijklmnopqrst", "query": "select 1"}'appbase get_advisors --json '{"project_id": "abcdefghijklmnopqrst", "type": "security"}'appbase create_branch --json '{"project_id": "abcdefghijklmnopqrst", "name": "feat-x"}'
appbase --versionnpx -y @reneturcios/appbase mcp{ "mcpServers": { "appbase": { "command": "npx", "args": ["-y", "@reneturcios/appbase", "mcp"], "env": { "SUPABASE_ACCESS_TOKEN": "your Supabase personal access token" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev # run the CLI from source via tsx