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