Sign In

@supernova123/supabase-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supernova123/supabase-mcp-server

MCP server for Supabase — database queries, auth, storage, edge functions, and realtime.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Supabase MCP Server

Connect AI assistants to Supabase — database queries, auth, storage, and edge functions through the Model Context Protocol.

Works with Claude Desktop, Cursor, Windsurf, Cline, Continue, and any MCP-compatible client.

Features

ToolDescription
list_tablesList all tables in the public schema
query_databaseExecute read-only SQL queries
get_table_schemaGet column definitions for a table
insert_rowsInsert one or more rows into a table
update_rowsUpdate rows matching a filter
delete_rowsDelete rows matching a filter
list_storage_bucketsList all storage buckets
list_storage_objectsList files in a storage bucket
get_storage_public_urlGet public URL for a storage object
invoke_edge_functionCall a Supabase Edge Function
list_auth_usersList users in Supabase Auth
get_auth_userGet a specific auth user by ID
get_project_infoGet project URL and key info

Quick Start

1. Get your Supabase credentials

Go to Supabase Dashboard → Project Settings → API and copy:

  • Project URL (e.g. https://your-project.supabase.co)
  • service_role key (under "Project API keys")

2. Configure your MCP client

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supernova123/supabase-mcp-server"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_KEY": "your-service-role-key"
      }
    }
  }
}

Cursor / Windsurf — add to MCP settings:

{
  "supabase": {
    "command": "npx",
    "args": ["-y", "@supernova123/supabase-mcp-server"],
    "env": {
      "SUPABASE_URL": "https://your-project.supabase.co",
      "SUPABASE_SERVICE_KEY": "your-service-role-key"
    }
  }
}

3. Start using

Once configured, your AI assistant can:

  • Query your database with SQL
  • Browse table schemas
  • Insert, update, and delete data
  • Manage storage files
  • Invoke edge functions
  • List and inspect auth users

Environment Variables

VariableRequiredDescription
SUPABASE_URLYour project URL (e.g. https://xxx.supabase.co)
SUPABASE_SERVICE_KEYService role key from Project Settings → API
SUPABASE_ANON_KEYAnonymous key (for auth-related tools)

Security

  • The query_database tool only allows SELECT queries by default — mutations must use the dedicated insert/update/delete tools.
  • The service_role key bypasses Row Level Security. Use it responsibly.
  • Consider using the SUPABASE_ANON_KEY for auth-related operations.

License

MIT

Keywords

mcp

FAQs

Package last updated on 06 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts