BACK TO DIRECTORY
mcpintermediate

Supabase

Provides direct access to your Supabase project including PostgreSQL database queries, authentication management, file storage operations, and edge function deployment. Enables Claude Code to read and write data, manage user accounts, upload files, and query your database schema. Essential for Supabase-based application development.

1.7k STARS
24.6k DOWNLOADS
supabase
supabasedatabaseauthstoragepostgres

INSTALL COMMAND

npx @anthropic-ai/claude-code mcp add supabase -- npx -y @supabase/mcp-server-supabase

CONFIGURATION

json
1{
2 "mcpServers": {
3 "supabase": {
4 "command": "npx",
5 "args": [
6 "-y",
7 "@supabase/mcp-server-supabase",
8 "--project-ref",
9 "<your-project-ref>"
10 ],
11 "env": {
12 "SUPABASE_ACCESS_TOKEN": "<your-supabase-access-token>"
13 }
14 }
15 }
16}
17
18// Setup steps:
19// 1. Go to https://supabase.com/dashboard/account/tokens
20// 2. Generate a new access token
21// 3. Find your project ref in Project Settings > General
22// 4. Set both values in the configuration above
23//
24// Available tools:
25// - execute_sql: Run SQL queries against your database
26// - get_schema: Inspect table schemas and relationships
27// - list_tables: List all tables in the database
28// - manage_auth_users: List, create, delete auth users
29// - storage_list: List files in a storage bucket
30// - storage_upload: Upload a file to storage
31// - get_logs: Retrieve project logs
32// - list_edge_functions: List deployed edge functions
33// - deploy_edge_function: Deploy an edge function