KosmoKrator

other

Supabase MCP Gateway for AI Agents

Expose Supabase tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

9 functions 9 read 0 write Bearer token auth

Supabase MCP Gateway

Expose Supabase to MCP clients with `kosmokrator mcp:serve --integration=supabase`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=supabase --write=deny --json
{
  "mcpServers": {
    "kosmokrator-supabase": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=supabase",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=supabase --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__supabase__supabase_get_current_user supabase.supabase_get_current_user Read read
integration__supabase__supabase_get_project supabase.supabase_get_project Read read
integration__supabase__supabase_get_row supabase.supabase_get_row Read read
integration__supabase__supabase_get_settings supabase.supabase_get_settings Read read
integration__supabase__supabase_get_table supabase.supabase_get_table Read read
integration__supabase__supabase_list_projects supabase.supabase_list_projects Read read
integration__supabase__supabase_list_rows supabase.supabase_list_rows Read read
integration__supabase__supabase_list_tables supabase.supabase_list_tables Read read
integration__supabase__supabase_query_with_filters supabase.supabase_query_with_filters Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.