MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Supabase MCP

by Supabase

AI-powered Supabase project management with database, functions, and storage

database Node.js Intermediate Verified
⭐ 2.5k stars πŸ“… Updated: 1mo ago

Description

MCP server for AI assistants to interact with Supabase projects. Provides comprehensive tools for database queries, schema management, SQL migrations, Edge Functions deployment, TypeScript type generation, and storage bucket management. Available as a remote endpoint at mcp.supabase.com using OAuth 2.1 authentication. Includes safety features like read-only mode for production databases, project scoping to limit access, and prompt injection protections. Enables AI assistants to manage the full Supabase stack β€” from Postgres queries to deploying serverless functions and managing file storage.

βœ… Best for

Teams using Supabase who want AI assistants to manage their backend infrastructure

⏭️ Skip if

You need a generic Postgres client or use a different backend-as-a-service

πŸ’‘ Use cases

  • Querying and managing Postgres databases from AI assistants
  • Running SQL migrations and managing database schemas with AI guidance
  • Deploying and managing Supabase Edge Functions via natural language
  • Generating TypeScript types from database schema for frontend development

πŸ‘ Pros

  • βœ“ Full Supabase stack coverage β€” database, functions, storage, and types
  • βœ“ Read-only mode and project scoping for production safety
  • βœ“ OAuth 2.1 remote endpoint β€” no local installation required
  • βœ“ Prompt injection protections for secure AI interactions

πŸ‘Ž Cons

  • βœ— Remote-only β€” no local STDIO package available
  • βœ— Requires OAuth 2.1 setup which adds initial configuration steps
  • βœ— Limited to Supabase platform β€” not a generic Postgres MCP server

πŸ”§ Exposed tools (9 tools)

ToolCategoryDescription
execute_sqldatabaseExecute SQL queries against a Supabase Postgres database
manage_schemadatabaseView and modify database schema, tables, and columns
deploy_edge_functionsdeploymentDeploy serverless Edge Functions to Supabase
generate_typesdevelopmentGenerate TypeScript types from the database schema
search_docsdocumentationSearch Supabase documentation for reference
list_projectsmanagementList all Supabase projects accessible to the user
create_projectmanagementCreate a new Supabase project
get_logsmonitoringRetrieve logs from Supabase services
manage_storagestorageManage storage buckets and files

⚑ Installation

Prerequisites:

  • β€’ Node.js v18+
  • β€’ Supabase access token (OAuth 2.1)
  • β€’ API key required

Check Claude Code documentation to configure this MCP server.

πŸ’‘ Tips & tricks

Enable read-only mode when connecting to production databases to prevent accidental writes. Use project scoping to restrict which Supabase projects the AI can access. The search_docs tool is great for finding Supabase documentation while working.

πŸ”„ Alternatives

Quick info

Author
Supabase
License
Apache-2.0
Runtime
Node.js 18+
Transport
β€”
Category
database
Difficulty
Intermediate
Self-hostable
❌
Auth
β€”
Docker
β€”
Version
latest
Updated
Feb 28, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • βœ… VS Code Copilot
  • ❓ Gemini CLI
  • ❓ Windsurf
  • ❓ Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows