Supabase for LangChain
io.github.mcp-dir/supabase-mcp
Your Supabase account in natural language: run SQL, apply migrations, manage tables, storage, edge f
client:LangChain
transport:streamable-http
tools:35
Install Supabase in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"supabase-mcp": {
"transport": "streamable_http",
"url": "https://api.mcp.ai/p_supabase",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- supabase_search_docs
- supabase_list_organizations
- supabase_get_organization
- supabase_list_projects
- supabase_get_project
- supabase_get_cost
- supabase_confirm_cost
- supabase_create_project
- supabase_pause_project
- supabase_restore_project
- supabase_list_tables
- supabase_list_extensions
- supabase_list_migrations
- supabase_apply_migration
- supabase_execute_sql
- supabase_get_logs
- supabase_get_advisors
- supabase_get_project_url
- supabase_get_publishable_keys
- supabase_generate_typescript_types
- supabase_list_edge_functions
- supabase_get_edge_function
- supabase_deploy_edge_function
- supabase_create_branch