mcp-supabase-management
Provides tools for managing Supabase projects, databases, edge functions, secrets, and branches via the Supabase Management API.
Click on "Install 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., "@mcp-supabase-managementlist all my projects"
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.
mcp-supabase-management
MCP server and LangChain tools for the Supabase Management API -- manage projects, databases, edge functions, secrets, and branches across all your Supabase organizations.
Features
24 tools across 7 categories:
Category | Tools | Description |
Organizations |
| List all organizations |
Projects |
| Full project lifecycle management |
Database |
| SQL execution, schema inspection, TypeScript type generation |
Branches |
| Database branching for development workflows |
Functions |
| Edge function management and deployment |
Secrets |
| Project secret management |
Logs |
| Access logs for API, Auth, DB, Realtime, Storage, and Functions |
Related MCP server: Supabase MCP HTTP Server
Installation
# Core library
pip install .
# With MCP server support
pip install ".[mcp]"
# With LangChain tools
pip install ".[langchain]"
# Everything
pip install ".[all]"Configuration
Variable | Required | Default | Description |
| Yes | (none) | Supabase Management API access token ( |
.env Example
SUPABASE_ACCESS_TOKEN=sbp_your_token_hereQuick Start
As MCP Server
mcp-supabase-managementAdd to Claude Code (~/.claude.json):
{
"mcpServers": {
"supabase-management": {
"type": "stdio",
"command": "uv",
"args": ["--directory", "/path/to/mcp-supabase-management", "run", "mcp-supabase-management"],
"env": {
"SUPABASE_ACCESS_TOKEN": "sbp_your_token_here"
}
}
}
}As LangChain Tools
from mcp_supabase_management.langchain_tools import TOOLS, supabase_list_projects, supabase_execute_sql
# Use all 24 tools with an agent
agent = create_react_agent(llm, TOOLS)
# Or use individual tools
print(supabase_list_projects.invoke({}))
print(supabase_execute_sql.invoke({
"project_ref": "your_project_ref",
"query": "SELECT * FROM users LIMIT 10",
}))As Python Library
from mcp_supabase_management.client import SupabaseManagementClient
from mcp_supabase_management.operations import projects, database
client = SupabaseManagementClient(access_token="sbp_...")
all_projects = projects.list_projects(client)
result = database.execute_sql(client, "project_ref", "SELECT 1")Error Handling
The server returns structured error messages:
{
"error": "API Error (401): Invalid access token"
}Common errors:
401- Invalid or expired access token404- Project or resource not found422- Invalid request parameters429- Rate limit exceeded
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityFmaintenanceEnables comprehensive management of self-hosted or cloud Supabase instances with 54+ tools for database operations, authentication, storage, real-time subscriptions, migrations, monitoring, and security auditing.Last updated7
- Flicense-quality-maintenanceProvides 43 tools for complete Supabase control including database operations, storage management, authentication, edge functions, and admin tasks through an HTTP API designed for n8n integration.Last updated
- Flicense-qualityDmaintenanceEnables AI assistants to interact with Supabase projects programmatically, including listing projects, creating new projects, managing SQL snippets, and OAuth authorization through the Supabase Management API.Last updated
- Flicense-qualityDmaintenanceEnables AI agents to access and manage Supabase projects through the Model Context Protocol, supporting database operations, edge functions, storage, and documentation search. It provides a complete toolset for SQL execution, migration management, and real-time project debugging.Last updated
Related MCP Connectors
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…
The agent-native cloud: database, functions, AI, storage, computers. 55 tools, one API key.
MCP server for interacting with the Supabase platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lyzetam/mcp-supabase-management'
If you have feedback or need assistance with the MCP directory API, please join our Discord server