# Supabase Server MCP Resmi — Postgres SQL, Audit RLS & Log Edge (`supabase-mcp`)

> Kelola cabang Supabase, jalankan kueri PostgreSQL tercakup, periksa kebijakan Keamanan Tingkat Baris, dan buat tipe database TypeScript melalui STDIO.

- **Canonical URL:** https://syndipath.com/id/mcp/supabase-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** Apache-2.0 | **Package:** `@supabase/mcp-server-supabase`
- **Upvotes:** 884 | **GitHub Stars:** 8940 | **Weekly Installs:** 68200
- **Security Note:** HTTP-200 diverifikasi di Registri NPM (@supabase/mcp-server-supabase); dijalankan melalui npx di dalam sesi STDIO dengan cakupan ruang kerja.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y @supabase/mcp-server-supabase

# Add to Claude Code CLI
claude mcp add -e SUPABASE_ACCESS_TOKEN=${SUPABASE_ACCESS_TOKEN} supabase-mcp -- npx -y @supabase/mcp-server-supabase
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "supabase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "${SUPABASE_ACCESS_TOKEN}"
      }
    }
  }
}
```

## Exposed MCP Tools
- `supabase_mcp_query(sql_or_filter: string, limit?: number)`: Manage Supabase branches, execute scoped PostgreSQL queries, inspect Row-Level Security policies, and generate TypeScript database type.
- `supabase_mcp_inspect_schema(namespace?: string)`: Enumerates tables, collections, column types, and active index definitions.
