@supabase/mcp-server-supabase
MCP ServerFreeMCP server for interacting with Supabase
Capabilities8 decomposed
sql query execution with supabase postgresql backend
Medium confidenceExecutes arbitrary SQL queries against a Supabase PostgreSQL database by establishing authenticated connections through the Supabase client SDK. The MCP server translates query requests into native PostgreSQL operations, handling connection pooling, authentication via API keys, and result serialization back to the client. Supports parameterized queries to prevent SQL injection and returns structured result sets with column metadata.
Provides direct SQL execution through MCP protocol, allowing LLMs and agents to query Supabase databases natively without requiring custom REST API endpoints or middleware layers
More direct and flexible than REST API wrappers because it exposes raw SQL execution capability, enabling complex queries and transactions that would otherwise require multiple API calls
table schema introspection and metadata retrieval
Medium confidenceRetrieves comprehensive schema information from Supabase PostgreSQL tables including column definitions, data types, constraints, indexes, and relationships. The MCP server queries PostgreSQL system catalogs (information_schema) to extract metadata without requiring manual schema definitions. Results include column nullability, default values, foreign key relationships, and primary key information.
Exposes PostgreSQL information_schema through MCP, enabling AI agents to dynamically discover and reason about database structure at runtime without pre-defined schema files
More dynamic than static schema files or ORM type definitions because it queries live database metadata, ensuring schema information is always current and reflects actual database state
real-time database change subscriptions via supabase realtime
Medium confidenceEstablishes WebSocket subscriptions to Supabase Realtime to receive live notifications when database records are inserted, updated, or deleted. The MCP server manages subscription lifecycle, filters changes by table and optional WHERE conditions, and streams change events to connected clients. Leverages Supabase's built-in Realtime infrastructure which uses PostgreSQL LISTEN/NOTIFY under the hood.
Exposes Supabase Realtime subscriptions through MCP protocol, allowing AI agents to subscribe to live database changes and build event-driven workflows without managing WebSocket connections directly
More efficient than polling-based change detection because it uses PostgreSQL LISTEN/NOTIFY, reducing database load and providing immediate notifications with lower latency
authentication and user management via supabase auth
Medium confidenceManages Supabase Auth operations including user creation, password resets, email verification, and session management. The MCP server interfaces with Supabase Auth API to handle authentication flows, token generation, and user metadata updates. Supports both email/password and OAuth provider authentication, with built-in handling of JWT tokens and refresh token rotation.
Exposes Supabase Auth operations through MCP, enabling AI agents to manage user accounts and authentication flows without building custom auth endpoints or managing JWT tokens manually
Simpler than building custom auth endpoints because it leverages Supabase's managed Auth service with built-in email verification, password reset, and OAuth support
file storage operations via supabase storage
Medium confidenceManages file uploads, downloads, and deletions in Supabase Storage buckets through the MCP server. The MCP server translates file operation requests into Supabase Storage API calls, handling multipart uploads, signed URLs for secure access, and bucket-level access control. Supports both public and private buckets with configurable retention and access policies.
Provides MCP-based file storage operations against Supabase Storage, allowing AI agents to manage files without direct S3 credentials or complex multipart upload logic
More integrated than raw S3 access because it uses Supabase's managed storage layer with built-in access control, signed URL generation, and bucket policies
vector similarity search via supabase pgvector extension
Medium confidencePerforms semantic similarity searches using PostgreSQL pgvector extension integrated with Supabase. The MCP server accepts vector embeddings (typically from an LLM embedding model) and executes similarity queries using cosine distance, L2 distance, or inner product operators. Results are ranked by similarity score and can be filtered by additional SQL conditions for hybrid search.
Exposes pgvector similarity search through MCP, enabling AI agents to perform semantic search directly against Supabase without managing separate vector databases or embedding infrastructure
More integrated than external vector databases because embeddings live in the same PostgreSQL instance as application data, enabling efficient hybrid search combining vectors with relational queries
row-level security (rls) policy evaluation and enforcement
Medium confidenceEnforces Supabase Row-Level Security policies by evaluating RLS rules before executing queries. The MCP server applies RLS policies based on the authenticated user's claims (from JWT tokens) and filters query results accordingly. Policies are defined in PostgreSQL and automatically enforced at the database level, preventing unauthorized data access.
Integrates RLS policy enforcement directly into MCP query execution, ensuring all database operations respect Supabase's row-level security rules without requiring manual authorization checks
More secure than application-level authorization because RLS is enforced at the database level, preventing accidental data leaks even if application logic is bypassed
database function invocation with postgresql stored procedures
Medium confidenceExecutes PostgreSQL stored procedures and functions through the MCP server, enabling complex database logic encapsulation. The MCP server translates function calls into native PostgreSQL function invocations, handling parameter passing, return value serialization, and error handling. Supports functions with multiple parameters, return types (scalar, composite, or set-returning), and transaction semantics.
Exposes PostgreSQL function invocation through MCP, allowing AI agents to call custom database logic without writing SQL or managing transaction semantics manually
More efficient than executing equivalent SQL from the application because stored procedures execute at the database level with direct access to data, reducing network round-trips
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with @supabase/mcp-server-supabase, ranked by overlap. Discovered automatically through the match graph.
Supabase
Open-source Firebase alternative — Postgres + pgvector, auth, storage, edge functions, real-time.
@supabase/mcp-server-supabase
MCP server for interacting with Supabase
Supabase
** - Connects to Supabase platform for database, auth, edge functions and more.
Lovable
AI full-stack app builder — describe idea, get deployable React + Supabase app with auth.
supabase-mcp-server
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
GoCodeo: Best of Cursor and Lovable, Combined
AI agent for building and shipping full-stack apps inside VS Code, with one-click Vercel deploy, Supabase integration, and 100+ tool connections via MCP.
Best For
- ✓AI agents and LLM applications needing direct database access
- ✓Developers building data-driven workflows that require SQL-level control
- ✓Teams automating database operations through Claude or other MCP-compatible clients
- ✓AI agents that need to understand database structure before generating SQL
- ✓Developers building schema-aware code generation tools
- ✓Teams automating database documentation or type generation
- ✓AI agents that need to react to live database events
- ✓Event-driven automation workflows triggered by database changes
Known Limitations
- ⚠No built-in query optimization or explain plan analysis — complex queries may timeout
- ⚠Result sets are fully materialized in memory before serialization, limiting very large result handling
- ⚠No transaction support across multiple MCP calls — each query is isolated
- ⚠Query execution time depends on Supabase connection latency and database load
- ⚠Metadata retrieval is read-only — cannot modify schema through this capability
- ⚠Does not include custom comments or documentation stored in PostgreSQL
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Package Details
About
MCP server for interacting with Supabase
Categories
Alternatives to @supabase/mcp-server-supabase
Are you the builder of @supabase/mcp-server-supabase?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →