trackmcp
Back to directory
Ad-Veritas

mcp-server-truerag

View on GitHub

Model Context Protocol (MCP) server to access an instance of TrueRAG

2 stars Jupyter NotebookAI & Machine Learning Updated Mar 18, 2025

Documentation

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

bash
git clone https://github.com/Ad-Veritas/mcp-server-trueRAG.git
cd mcp-server-trueRAG

Make sure you have uv installed

bash
uv --version

If not, you can install it using:

bash
# 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"

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:

txt
GRAPHQL_API_KEY = "{your_api_key}"
GRAPHQL_ENDPOINT = "{your_graphql_endpoint}"

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`):

json
"shipping-policies": {
      "command": "uv",
      "args": [
        "--directory",
        "{path_to_mcp_server}/mcp-server-trueRAG",
        "run",
        "fastmcp",
        "run",
        "server.py"
      ]
    }

Frequently asked questions

What is mcp-server-truerag?

mcp-server-truerag is Model Context Protocol (MCP) server to access an instance of TrueRAG

How do I install mcp-server-truerag?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-server-truerag open source?

Yes — it is hosted on GitHub at https://github.com/Ad-Veritas/mcp-server-trueRAG and has 2 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP