インスタントDBサーバーMCPサーバー
InstantDB と対話するための MCP サーバー。
このサーバーは、動的に読み込まれるスキーマと環境設定を使用してInstantDBにクエリを実行するための読み取り専用インターフェースを提供します。クエリを実行したり、事前定義されたパターンに基づいてクエリ例を取得したりするためのツールが含まれています。
特徴
ツール
- get_examples
さまざまなカテゴリ (「basic_read」、「filtering」、「associations」など) の定義済みサンプルクエリを返します。 - クエリDB
InstantDB に対して特定のクエリを実行します。クエリと説明的な名前パラメータが必要です。 - リストクエリ
クエリ ID、名前、タイムスタンプ、構造などの詳細とともに、実行されたクエリの履歴を取得します。 - 戻りクエリ
後で参照または実装するために、一意の ID で特定のクエリを取得します。
スキーマと環境の統合
- 提供されたプロジェクト ディレクトリ (例: instant.schema.ts、src/instant.schema.ts、app/instant.schema.ts) を基準とした共通ファイルの場所から InstantDB スキーマを動的に読み込みます。
- 環境変数の設定はプロジェクトの.envファイルから読み込まれます。必須の変数には以下のものがあります。
- インスタントアプリID
- インスタントアプリ管理者トークン
保留中の機能
- 一般的なファイルの場所から InstantDB 権限ファイルを動的に検出します。
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
インストール
Claude Desktop でサーバーを使用するには、Claude Desktop の設定に次の構成を追加します。
macOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
構成例:
デバッグ
MCP サーバー通信をデバッグするには、MCP インスペクターを使用します。
インスペクターは、MCP サーバー操作を監視するためのツールにアクセスするための URL を提供します。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
クエリを実行し、事前定義されたパターンに基づいて例を取得するツールを使用して、InstantDB データをクエリするための読み取り専用インターフェイスを提供します。
Related MCP Servers
- AsecurityAlicenseAqualityAllows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.Last updated -1752PythonMIT License
- AsecurityAlicenseAqualityConnect and interact with MySQL databases seamlessly. Execute SQL queries, manage database connections, and retrieve data directly through AI assistants. Enhance your AI capabilities with structured access to your MySQL data.Last updated -9415TypeScriptMIT License
IoTDB MCP Serverofficial
AsecurityAlicenseAqualityA server that enables running SQL queries against IoTDB databases, providing data reading capabilities and schema information through a Model Context Protocol interface.Last updated -326PythonApache 2.0- AsecurityFlicenseAqualityProvides tools for AI assistants to explore and interact with MariaDB databases, allowing them to list databases, view tables, inspect schema definitions, and query data.Last updated -42JavaScript