App MCP
Provides tools that expose selected Supabase database tables (with RLS applied) and Edge Functions as callable MCP tools.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@App MCPlist customers added in the last 30 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
App MCP
Turn an existing Supabase database and Edge Functions into an MCP server you can install in Cursor, Claude, ChatGPT, or any MCP client.
This is not the official Supabase management MCP. That product runs SQL, migrations, and org admin. This one exposes your app: selected tables (with RLS) and your Edge Functions as tools.
What you get
Connect a Supabase project.
Pick tables and operations, register Edge Functions with a JSON Schema.
Install the same tool catalog two ways:
Hosted: paste a Streamable HTTP URL and API key into any client.
Self-host: run the server on your machine so Supabase keys never leave it.
Related MCP server: Supabase MCP
Monorepo
apps/web Dashboard + hosted /mcp/:projectId endpoint
packages/mcp-core Schema introspect, tool catalog, executors
packages/mcp-server MCP factory, stdio CLI, local HTTP
examples/mcp-config.json Sample self-host configDashboard
npm install
cp .env.example .env
npm run devOpen http://localhost:3000. Persistence defaults to apps/web/data/store.json. Set DASHBOARD_PASSWORD to lock the UI. Set PRODUCT_SUPABASE_URL and PRODUCT_SUPABASE_SERVICE_ROLE_KEY (and run supabase/migrations/001_init.sql) to store projects in your own Supabase instead.
Customer service_role keys are encrypted at rest. Table tools use the anon key so RLS applies unless you opt into the service role.
Self-host / local MCP
cp .env.example .env
# fill SUPABASE_URL and SUPABASE_ANON_KEY
npm run mcp -- tools
npm run mcp -- serve --stdio
npm run mcp -- serve --http --port 3333Cursor mcp.json:
{
"mcpServers": {
"my-app": {
"command": "npx",
"args": ["tsx", "packages/mcp-server/src/cli.ts", "serve", "--stdio"],
"env": {
"SUPABASE_URL": "https://xxxx.supabase.co",
"SUPABASE_ANON_KEY": "eyJ...",
"MCP_CONFIG": "./examples/mcp-config.json"
}
}
}
}Inspector:
npx @modelcontextprotocol/inspector npx tsx packages/mcp-server/src/cli.ts serve --stdioHosted clients use:
{
"mcpServers": {
"my-app": {
"url": "http://localhost:3000/mcp/PROJECT_ID",
"headers": {
"Authorization": "Bearer smcp_..."
}
}
}
}Tests
npm testThis server cannot be deployed
Maintenance
Related MCP Connectors
- SupabaseOAuthcom.supabase
MCP server for interacting with the Supabase platform
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
Build multi-tenant apps over MCP. Schemas, CRUD, deploys — access control enforced server-side.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that provides tools for interacting with Supabase databases, storage, and edge functions.45MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Supabase, enabling database CRUD, storage management, auth administration, project management, edge functions, and secrets via 31 tools.5 npmMIT
- AlicenseNot gradedqualityFmaintenanceMCP server for self-hosted Supabase with RLS-aware PostgreSQL and PostgREST layers, enabling safe database introspection, SQL queries, and PostgREST access via natural language.MIT
- AlicenseBqualityDmaintenanceMCP server for Supabase database and storage operations, enabling querying, inserting, updating, deleting rows, schema introspection, and file storage management.1211 npmMIT