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
- -securityFlicense-qualityConnects a RAG application to open-webui using Model Context Protocol (MCP), enabling server-to-client communication for context retrieval and tool usage in remote environments through Server-Sent Events (SSE).Last updated -1Python
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -4701MIT 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 -1TypeScript
- -securityAlicense-qualityA server that integrates Retrieval-Augmented Generation (RAG) with the Model Control Protocol (MCP) to provide web search capabilities and document analysis for AI assistants.Last updated -2PythonApache 2.0