Supabase MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables read-only SQL queries against a PostgreSQL database, with tools for analyzing table statistics and relationships between tables

  • Connects to a Supabase PostgreSQL database, exposing table schemas as resources and providing tools for data analysis, SQL querying, and relationship exploration

Supabase MCP サーバー

Supabase PostgreSQL データベースに接続し、テーブル スキーマをリソースとして公開し、データ分析用のツールを提供する MCP サーバー。

特徴

  • Supabase PostgreSQLデータベースへの接続
  • リソースとして公開されるテーブルスキーマ
  • 読み取り専用SQLクエリツール
  • 一般的なデータ分析タスクのプロンプト

設定

  1. このリポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  3. .env.example.envにコピーし、Supabase の資格情報で更新します。
    cp .env.example .env
  4. 実際のSupabase接続の詳細で.envファイルを編集します。

サーバーの実行

stdio(コマンドライン統合)の使用

npm start

SSE で HTTP を使用する (Web 統合用)

npm run start:http

MCPクライアントでの使用

このサーバーは、Claude.app やテスト用の MCP Inspector など、MCP 対応のあらゆるクライアントで使用できます。

利用可能なリソース

  • schema://tables - データベース内のすべてのテーブルを一覧表示します
  • schema://table/{tableName} - 特定のテーブルのスキーマを表示します

利用可能なツール

  • query - データベースに対して読み取り専用のSQLクエリを実行します
  • analyze-table - テーブルに関する基本的な統計情報を取得します
  • find-related-tables - 指定されたテーブルに関連するテーブルを検出します

利用可能なプロンプト

  • table-exploration - 特定のテーブルの探索をガイドします
  • data-summary - テーブル内のデータの要約を作成します
  • relationship-analysis - テーブル間の関係を分析する
-
security - not tested
F
license - not found
-
quality - not tested

Supabase PostgreSQL データベースに接続し、テーブル スキーマをリソースとして公開し、SQL クエリを通じてデータ分析用のツールを提供する MCP サーバー。

  1. Features
    1. Setup
      1. Running the Server
        1. Using stdio (command line integration)
        2. Using HTTP with SSE (for web integration)
      2. Using with MCP Clients
        1. Available Resources
        2. Available Tools
        3. Available Prompts
      ID: mg38z3mo5q