Supabase MCP Lite
Provides essential database operations including data selection and mutation, file storage management, and user authentication through a minimal set of 4 tools optimized for reduced context usage.
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., "@Supabase MCP Liteselect from my todos table where projectUrl is https://myapp.supabase.co"
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.
Supabase MCP Lite
Minimal Supabase MCP server - 70% less context usage than standard implementations.
Why Lite?
4 tools instead of 50+ - Only essential operations
Minimal descriptions - No verbose explanations
Simple parameters - No complex nested schemas
Auto-truncated results - Max 100 rows per query
Related MCP server: Supabase MCP Server
🔑 Personal Access Token Required
This MCP uses your Supabase Personal Access Token (starts with sbp_) to automatically fetch service role keys for any project you own.
How to get your Personal Access Token:
Click "Generate New Token"
Give it a name (e.g., "MCP Access")
Copy the token (starts with
sbp_)Save it securely - you won't be able to see it again!
Setup
Add to your MCP client configuration:
{
"supabase-lite": {
"command": "npx",
"args": ["@smithery/cli", "connect", "@pinion05/supabase-mcp-lite"],
"config": {
"accessToken": "sbp_xxxxxxxxxxxx" // Your Personal Access Token
}
}
}Note: Project URL is required for each tool call. The service role key will be fetched automatically using your access token.
Tools (4)
All tools require projectUrl as the first parameter.
Tool | Purpose | Parameters |
| Get data | projectUrl, table, where?, limit? |
| Change data | projectUrl, action, table, data?, where? |
| Files | projectUrl, action, bucket, path?, data? |
| Users | projectUrl, action, email?, password?, id? |
Examples
// Select tool
select(
projectUrl: "https://your-project.supabase.co",
table: "posts",
where: {status: "published"},
limit: 10
)
// Mutate tool
mutate(
projectUrl: "https://your-project.supabase.co",
action: "insert",
table: "todos",
data: {title: "New task"}
)
mutate(
projectUrl: "https://your-project.supabase.co",
action: "update",
table: "todos",
data: {done: true},
where: {id: 1}
)
mutate(
projectUrl: "https://your-project.supabase.co",
action: "delete",
table: "todos",
where: {id: 1}
)
// Storage tool
storage(
projectUrl: "https://your-project.supabase.co",
action: "upload",
bucket: "images",
path: "avatar.jpg",
data: "base64..."
)
storage(
projectUrl: "https://your-project.supabase.co",
action: "list",
bucket: "images"
)
// Auth tool
auth(
projectUrl: "https://your-project.supabase.co",
action: "list"
)
auth(
projectUrl: "https://your-project.supabase.co",
action: "create",
email: "user@example.com",
password: "secure123"
)How it Works
You provide your Personal Access Token (
sbp_xxx)When you call a tool with a project URL, the MCP:
Extracts the project ID from the URL
Uses your access token to fetch the service role key via Supabase Management API
Caches the key for future requests to the same project
Creates a client with full admin access
Security Notes
Personal Access Token gives access to ALL your Supabase projects
Service role keys are fetched automatically and cached in memory
Service role key bypasses Row Level Security (RLS)
Keep your access token secure - never expose it client-side
This tool is intended for server-side/admin use only
Features
✅ Works with any Supabase project you own
✅ Automatic service role key retrieval
✅ Key caching to minimize API calls
✅ Full database access (bypasses RLS)
✅ Support for multiple projects in one session
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
- Alicense-qualityDmaintenanceEnables Cursor and Windsurf to safely interact with Supabase databases by providing tools for database management, SQL query execution, and Supabase Management API access with built-in safety controls.Last updated10Apache 2.0
- Alicense-qualityDmaintenanceEnables AI assistants to perform CRUD operations on Supabase databases through natural language. Supports advanced filtering, pagination, and safety checks for seamless database interaction.Last updatedMIT
- Alicense-quality-maintenanceEnables AI assistants to interact with Supabase databases through standardized CRUD operations including querying, inserting, updating, and deleting records with support for filtering, pagination, and column selection.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
The agent-native cloud: database, functions, AI, storage, auth and more. 50 tools, one API key.
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…
SaaS intelligence for AI agents. 5 unified tools cover 1,000+ services with 91-96% token savings.
Appeared in Searches
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/pinion05/supabase-mcp-lite'
If you have feedback or need assistance with the MCP directory API, please join our Discord server