Supabase MCP サーバー
これは、Supabase に接続し、feature_suggestions テーブルをクエリできる Model Context Protocol (MCP) サーバーです。
前提条件
Node.js (v16 以上)
npm
資格情報付きのSupabaseプロジェクト
設定
.envファイルに次の Supabase 資格情報が含まれていることを確認します。SUPABASE_URL=your_supabase_url SUPABASE_ANON_KEY=your_supabase_anon_key必要な依存関係をインストールします。
npm install
サーバーの実行
次を使用して MCP サーバーを実行します。
または、npm スクリプトを使用します。
AIツールへの接続
カーソル
カーソルを開き、カーソル設定に移動します。
**[機能]タブの[MCP サーバー]**セクションで、 **[+ 新しい MCP サーバーを追加]**をタップします。
次の詳細を入力してください。
名前:スーパーベース
タイプ: コマンド
コマンド:
npx tsx /path/to/mcp-server.ts
サーバーが正常に接続されると、緑色のアクティブ ステータスが表示されます。
クロードデスクトップ
Claude デスクトップを開き、 **[設定]**に移動します。
**[開発]タブで[構成の編集]**をタップして構成ファイルを開きます。
次の構成を追加します。
{ "mcpServers": { "supabase": { "command": "npx", "args": ["tsx", "/path/to/mcp-server.ts"] } } }設定ファイルを保存し、Claude デスクトップを再起動します。
利用可能なツール
クエリ機能の提案
Supabase データベースの feature_suggestions テーブルをクエリします。
パラメータ:
limit(数値、オプション): 返されるレコードの最大数 (デフォルト: 100)
AIツールでの使用例:
または制限付き:
トラブルシューティング
接続の問題が発生した場合は、Supabase の資格情報が正しいことを確認してください。
コンソール出力にエラーメッセージがないか確認してください。
Supabase データベースに feature_suggestions テーブルが存在することを確認します。
This server cannot be installed
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.
Supabase データベースから機能の提案をクエリできるモデル コンテキスト プロトコル サーバー。これにより、Cursor や Claude などの AI ツールが機能要求データにアクセスして表示できるようになります。
Related MCP Servers
- -security-license-qualityA Model Context Protocol server that enables Claude and other LLMs to perform database operations and invoke Edge Functions within Supabase through natural language.Last updated -1,3473MIT License
- -security-license-qualityA Model Context Protocol server that enables AI tools to interact with Supabase databases, providing tools for reading, creating, updating, and deleting records in Supabase tables.Last updated -MIT License
- -security-license-qualityA Model Context Protocol server that allows AI models to log and retrieve contact events with various authorities (police, fire, medical, etc.) with rate limiting and persistent storage via Supabase.Last updated -1
- -security-license-qualityA Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.Last updated -12MIT License