appbase
Allows interaction with a Supabase account via the Supabase Management API, enabling management of projects and organizations, project schema and SQL, migrations, logs, advisors, API keys, TypeScript type generation, Edge Functions, storage buckets, and preview branches.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
appbase
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.
Install
npx @reneturcios/appbase list_projectsOr run the container image:
docker run -i -e SUPABASE_ACCESS_TOKEN ghcr.io/cloudcorprecords/appbaseThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: Supabase MCP Server
CLI
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:
export SUPABASE_ACCESS_TOKEN=<your Supabase personal access token>
appbase list_projects
appbase 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 --versionResults print as JSON. Exit codes: 0 on success, 1 when an API
call fails (including a missing SUPABASE_ACCESS_TOKEN), 2 for
usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/appbase mcpMCP client configuration:
{
"mcpServers": {
"appbase": {
"command": "npx",
"args": ["-y", "@reneturcios/appbase", "mcp"],
"env": { "SUPABASE_ACCESS_TOKEN": "your Supabase personal access token" }
}
}
}Tools
Tool | Input (required in bold) | What it does |
|
| Lists tables in the given schemas (default |
|
| Lists installed database extensions. |
|
| Lists applied migrations. |
|
| Runs raw SQL in the project's database. |
|
| Applies SQL as a tracked migration (for DDL). |
|
| Recent logs for one service. |
|
| Security or performance advisors. |
|
| The project's |
|
| Publishable / anon API keys for the project. |
|
| TypeScript types generated from the schema. |
|
| Lists Edge Functions. |
|
| One Edge Function's details. |
|
| Deploys an Edge Function from inline files. |
|
| Lists storage buckets. |
|
| Creates a storage bucket. |
|
| Lists preview branches. |
|
| Creates a preview branch. |
|
| Deletes a preview branch. |
|
| Merges a branch's migrations and functions into production. |
|
| Resets a branch to its parent state. |
|
| Rebases a branch onto its parent. |
| — | Lists all projects for the user. |
|
| One project's details. |
|
| Creates a project. |
|
| Pauses a project. |
|
| Restores a paused project. |
| — | Lists the user's organizations. |
|
| One organization's details. |
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.
Development
npm install
npm 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 tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for interacting with the Supabase platform
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…
Managed Postgres MCP: projects, SQL, docs search, and storage buckets via OAuth.
Manage Pipefork API projects, drafts, connections, secrets, and deployments through MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables developers to interact with self-hosted Supabase instances, providing database introspection, migration management, auth user operations, storage management, and TypeScript type generation directly from MCP-compatible development environments.ISC
- AlicenseNot gradedqualityDmaintenanceProvides secure access to Supabase databases via PostgREST API and management tools for projects, schemas, branches, logs, and code generation.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Supabase, enabling database CRUD, storage management, auth administration, project management, edge functions, and secrets via 31 tools.6 npmMIT
- AlicenseBqualityDmaintenanceMCP server for Supabase database and storage operations, enabling querying, inserting, updating, deleting rows, schema introspection, and file storage management.126 npmMIT