GraphQL ポリシー API 用のモデル コンテキスト プロトコル (MCP) サーバー
このリポジトリには、ポリシーへのアクセスを提供する GraphQL API のモデル コンテキスト プロトコル (MCP)サーバー実装が含まれています。
サーバーは、 MCP 用の Python SDKを使用して構築され、 GQLライブラリを使用して GraphQL API と対話します。
はじめる
リポジトリをクローンする
UVがインストールされていることを確認してください
そうでない場合は、以下を使用してインストールできます。
環境変数を定義する
サーバーは、TrueRag システムの GraphQL API に対して動作するように設定されています。TrueRAG 環境を作成したら、環境変数から API キーとエンドポイントをコピーしてください。
リポジトリのルート ディレクトリに.env
ファイルを作成し、次の行を追加します。
Claude DesktopなどのMCPクライアントに追加
Claude 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.json
) に次の行を追加します。
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.
モデル コンテキスト プロトコル (MCP) を使用して GraphQL API 経由で TrueRAG システムとのやり取りを可能にし、Python SDK と GQL ライブラリの統合によるポリシーへのアクセスを容易にします。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that connects AI assistants to Bloom Growth's GraphQL API, enabling them to query data and execute operations against the Bloom Growth platform.Last updated -4Python
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -7331MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -9TypeScript
- -securityFlicense-qualityA Python-based implementation of the Model Context Protocol that enables communication between a model context management server and client through a request-response architecture.Last updated -Python