Skip to main content
Glama
Steph-ux

supabase

by Steph-ux

mcp-supabase

Supabase MCP サーバー — Postgres ダイレクト + Storage REST + Auth + Edge Functions + Management API。

特徴

  • 24 のツールでデータベース、ストレージ、認証、Edge Functions、プロジェクト管理をカバー

  • Direct Postgrespg プール経由(Supabase JS クライアントは不要)

  • SSL サポート(Supabase プーラー向け)

  • Service role key(管理操作用)

  • Access token(Management API 用)

Related MCP server: Supabase MCP Server - Self-Hosted Edition

セットアップ

cd mcp-supabase
npm install
cp .env.example .env  # Edit with your credentials
node server.cjs

環境変数

変数

必須

説明

DATABASE_URL

はい

Supabase ダッシュボードの Postgres 接続文字列

SUPABASE_SERVICE_ROLE_KEY

はい

Storage/Auth 操作用の Service role key

SUPABASE_PROJECT_REF

はい

プロジェクト参照 ID(ダッシュボード URL から)

SUPABASE_ACCESS_TOKEN

いいえ

Management API 用の Personal access token

SUPABASE_ANON_KEY

いいえ

クライアント側操作用の Anonymous key

ツール

データベース

  • execute_sql — 任意の SQL を実行する

  • list_schemas — データベーススキーマを一覧表示する

  • list_tables — スキーマ内のテーブルを一覧表示する

  • get_schema — テーブルスキーマの詳細を取得する

  • get_table_row_counts — 全テーブルの行数を取得する

  • run_rpc — PostgreSQL 関数を呼び出す

ストレージ

  • list_buckets — ストレージバケットを一覧表示する

  • create_bucket — ストレージバケットを作成する

  • delete_bucket — ストレージバケットを削除する

  • list_files — バケット内のファイルを一覧表示する

  • upload_file — ファイルをアップロードする

  • download_file — ファイルをダウンロードする(base64)

  • delete_file — ファイルを削除する

認証

  • list_auth_users — ユーザーを一覧表示する

  • create_auth_user — ユーザーを作成する

  • update_auth_user — ユーザーを更新する

  • delete_auth_user — ユーザーを削除する

Edge Functions

  • list_edge_functions — デプロイ済みの関数を一覧表示する

  • invoke_edge_function — 関数を呼び出す

管理

  • list_projects — すべてのプロジェクトを一覧表示する

  • get_project — プロジェクトの詳細を取得する

MCP 設定

{
  "mcpServers": {
    "supabase": {
      "command": "node",
      "args": ["path/to/server.cjs"]
    }
  }
}

セキュリティ上の注意

  • Service role key は管理者アクセス権を持つ — 注意して使用する

  • .envconfig.json を絶対にコミットしない

  • 本番環境では環境変数を使用する

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables IDE access to Supabase databases with SQL query execution, schema management, Auth admin operations, and built-in safety controls to prevent accidental destructive actions.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables comprehensive management of self-hosted or cloud Supabase instances with 54+ tools for database operations, authentication, storage, real-time subscriptions, migrations, and monitoring through MCP protocol.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects Supabase projects to AI assistants, enabling them to manage database tables, execute SQL queries, and deploy Edge Functions through natural language. It provides a comprehensive suite of tools for project administration, including logs access, documentation search, and environment configuration.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…

  • The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.

  • Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Steph-ux/mcp-supabase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server