FalkorDB MCP サーバー
FalkorDB 用のモデル コンテキスト プロトコル (MCP) サーバー。AI モデルがグラフ データベースをクエリして対話できるようにします。
概要
このプロジェクトは、モデルコンテキストプロトコル(MCP)仕様に準拠したサーバーを実装し、AIモデルをFalkorDBグラフデータベースに接続します。このサーバーは、MCPリクエストをFalkorDBにルーティングし、MCP標準に従ってレスポンスをフォーマットします。
前提条件
- Node.js (v16以降)
- npmまたはyarn
- FalkorDB インスタンス (ローカルまたはリモートで実行可能)
インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- サンプル環境ファイルをコピーして設定します。設定の詳細に合わせて
.env
を編集します。
構成
構成は、 .env
ファイル内の環境変数を通じて管理されます。
PORT
: サーバーポート(デフォルト: 3000)NODE_ENV
: 環境(開発、本番)FALKORDB_HOST
: FalkorDB ホスト (デフォルト: localhost)FALKORDB_PORT
: FalkorDB ポート (デフォルト: 6379)FALKORDB_USERNAME
: FalkorDB 認証のユーザー名(必要な場合)FALKORDB_PASSWORD
: FalkorDB 認証用のパスワード(必要な場合)MCP_API_KEY
: MCPリクエストを認証するためのAPIキー
使用法
発達
ホットリロードを使用して開発サーバーを起動します。
生産
サーバーをビルドして起動します。
APIエンドポイント
GET /api/mcp/metadata
: FalkorDB インスタンスと利用可能な機能に関するメタデータを取得します。POST /api/mcp/context
: FalkorDBに対してクエリを実行するGET /api/mcp/health
: サーバーの健全性をチェックするGET /api/mcp/graphs
: グラフのリストを返します
MCP構成
このサーバーを MCP クライアントで使用するには、MCP 構成に追加します。
クライアント側の構成の場合:
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
AI モデルがモデル コンテキスト プロトコル (MCP) 仕様を通じて FalkorDB グラフ データベースを照会および操作できるようにします。
Related MCP Servers
- -securityFlicense-qualityFacilitates interaction and context sharing between AI models using the standardized Model Context Protocol (MCP) with features like interoperability, scalability, security, and flexibility across diverse AI systems.Last updated -1Python
- AsecurityAlicenseAqualityA powerful Model Context Protocol (MCP) tool for exploring and managing different types of databases including PostgreSQL, MySQL, and Firestore.Last updated -95TypeScriptMIT License
- AsecurityFlicenseAqualityImplements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.Last updated -1125Python
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables AI assistants to interact with MySQL databases by executing SQL queries and checking database connectivity.Last updated -TypeScriptMIT License