MCP Configs2026年3月31日·1 分钟阅读

Supabase MCP — Database & Auth for AI Agents

Official Supabase MCP server. Connect AI agents to Supabase for database queries, auth management, storage, edge functions, and real-time subscriptions. 2.6K+ stars.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server-supabase@latest", "--access-token", "sbp_YOUR_TOKEN"]
    }
  }
}

Get your access token from supabase.com/dashboard/account/tokens.


介绍

The official Supabase MCP server connects AI coding agents to your Supabase projects. Query databases with SQL, manage authentication users, upload files to storage, deploy edge functions, and subscribe to real-time changes — all from natural language via Claude Code, Cursor, or any MCP client. 2,600+ GitHub stars, Apache 2.0.

Best for: Developers using Supabase who want AI agents to manage their backend Works with: Claude Code, Cursor, Windsurf, Gemini CLI, any MCP client


Available Tools

Tool Description
list_projects List all Supabase projects
execute_sql Run SQL queries against your database
list_tables Show all tables and their schemas
apply_migration Create and apply database migrations
list_functions List edge functions
deploy_function Deploy an edge function
list_storage_buckets List storage buckets
list_auth_users List authenticated users
get_project_url Get project API URL and keys
get_logs Query project logs

Example

Ask your AI agent:

"Show me all users who signed up this week, grouped by auth provider"

The agent runs execute_sql with the appropriate query against your Supabase database.


FAQ

Q: What is Supabase MCP? A: The official MCP server connecting AI agents to Supabase for database queries, auth management, storage, and edge functions. 2.6K+ stars.

Q: Is it safe to give AI agents database access? A: The MCP server uses your Supabase access token with the same permissions you have. Use read-only tokens for exploration, full tokens for management.


🙏

来源与感谢

Created by Supabase. Licensed under Apache 2.0. supabase-community/supabase-mcp — 2,600+ GitHub stars

相关资产