Back to MCP ServersOfficial documentation
Supabase MCP
OFFICIALSupabase's official server. Query the database, apply migrations, manage config, fetch logs, and generate TypeScript types from your agent.
Category: Data · Works with: Claude Code, Grok Build, Claude Desktop, Cursor, VS Code
What it does
Connects agents to your Supabase projects for schema work, debugging, and data queries. Supports read-only mode and project scoping — use both for agent work.
Install
npx -y @supabase/mcp-server-supabase --read-only --project-ref=YOUR_REF
Setup Instructions
claude Code
claude mcp add supabase --env SUPABASE_ACCESS_TOKEN=YOUR_PAT -- npx -y @supabase/mcp-server-supabase --read-only --project-ref=YOUR_REF
cursor
Create a personal access token in Supabase settings, then add the server in MCP settings with --read-only and --project-ref flags. Drop --read-only only when you explicitly want the agent writing to the database.
Compatible Agents
Claude CodeGrok BuildClaude DesktopCursorVS Code
Related MCP Servers
@modelcontextprotocol/server-filesystem
Reference filesystem access for agents. Read, write, list, move, and search files within explicitly allowed directories.
GitHub MCP Server
GitHub's official MCP server. Manage issues, PRs, branches, workflows, and code scanning — or just let the agent read your repos.
mcp-server-git
Reference Git server. Status, diff, log, branch, commit, and search — structured Git operations for repos the agent works in.