TrueRAG MCP Server
Model Context Protocol (MCP) Server for GraphQL Policies API
This repository contains a Model Context Protocol (MCP) server implementation for a GraphQL API that provides access to policies.
The server is built using the python SDK for MCP and uses the GQL library to interact with the GraphQL API.
Getting Started
Clone the repository
Make sure you have uv installed
If not, you can install it using:
Define the environment variables
The server is configured to work against a GraphQL API for one of the TrueRag systems. Once you created the TrueRAG environment, copy the API key and endpoint from the environment variables.
Create a .env
file in the root directory of the repository and add the following lines:
Add to the MCP Client, such as Claude Desktop
Add the following lines to the Claude configuration file (~/Library/Application Support/Claude/claude_desktop_config.json
):
Enables interaction with a TrueRAG system through a GraphQL API using the Model Context Protocol (MCP), facilitating access to policies with a Python SDK and GQL library integration.