TrueRAG MCP Server
GraphQL ポリシー API 用のモデル コンテキスト プロトコル (MCP) サーバー
このリポジトリには、ポリシーへのアクセスを提供する GraphQL API のモデル コンテキスト プロトコル (MCP)サーバー実装が含まれています。
サーバーは、 MCP 用の Python SDKを使用して構築され、 GQLライブラリを使用して GraphQL API と対話します。
はじめる
リポジトリをクローンする
git clone https://github.com/Ad-Veritas/mcp-server-trueRAG.git
cd mcp-server-trueRAGUVがインストールされていることを確認してください
uv --versionそうでない場合は、以下を使用してインストールできます。
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"環境変数を定義する
サーバーは、TrueRag システムの GraphQL API に対して動作するように設定されています。TrueRAG 環境を作成したら、環境変数から API キーとエンドポイントをコピーしてください。
リポジトリのルート ディレクトリに.envファイルを作成し、次の行を追加します。
GRAPHQL_API_KEY = "{your_api_key}"
GRAPHQL_ENDPOINT = "{your_graphql_endpoint}"Claude DesktopなどのMCPクライアントに追加
Claude 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.json ) に次の行を追加します。
"shipping-policies": {
"command": "uv",
"args": [
"--directory",
"{path_to_mcp_server}/mcp-server-trueRAG",
"run",
"fastmcp",
"run",
"server.py"
]
}This server cannot be deployed
Maintenance
Related MCP Connectors
The Grafbase MCP server sits in front of a GraphQL API and exposes an MCP protocol-compliant interface that allows AI agents and LLMs to explore and query GraphQL APIs using natural language. It provides tools to search schemas, introspect types and fields, and execute GraphQL queries while minimizing context bloat by returning only relevant schema subsets, with built-in support for authentication, authorization, and configurable access control.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
The CustomGPT.ai MCP server is a fully managed, RAG-powered endpoint that connects large language models with private knowledge bases and external data sources. It provides tools for retrieval-augmented generation queries (send_message), data ingestion (upload_file), and source listing, enabling AI agents to query private documents like PDFs with high accuracy and real-time citations.
- TypeshipOAuthdev.typeship
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.1,458 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.9 npmMIT
- AlicenseNot gradedqualityDmaintenanceA bridge that exposes any GraphQL API as tools consumable by Large Language Models via the Model Context Protocol (MCP), automatically discovering and translating API capabilities with zero maintenance required.210 npm2GPL 3.0
- AlicenseNot gradedqualityDmaintenanceThis application connects GraphQL APIs with the Model Context Protocol (MCP). It allows you to integrate your GraphQL services with MCP-compatible AI systems effortlessly.2 npm1ISC