TrueRAG Compliance Policies

by ad-veritas

2 stars
147 downloads
Not rated
GitHub

About

Integrates with a TrueRAG GraphQL API to provide state-specific policy information for legal compliance checks, analysis, and regulatory guidance.

Details

Author
ad-veritas
Repository
Ad-Veritas/mcp-server-trueRAG
GitHub stars
2
Downloads
147
Categories
AI, Design, Developer Tools, Search, Frontend, Knowledge Base, API
Tags
#web

- Built with Python MCP SDK and GQL library
- Uses uv for dependency management and execution
- Connects to GraphQL APIs for TrueRag systems
- Configurable via environment variables for API key and endpoint
- Provides access to policies through a standardized interface

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name TrueRAG Compliance Policies
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 --directory
    • Argument 2 {path_to_mcp_server}/mcp-server-trueRAG
    • Argument 3 run
    • Argument 4 fastmcp
    • Argument 5 run
    • Argument 6 server.py
    Environment
    • GRAPHQL_API_KEY {your_api_key}
    • GRAPHQL_ENDPOINT {your_graphql_endpoint}

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

uv --version

If not, you can install it using:


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}"
```

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "truerag compliance policies": {
            "env": {
                "GRAPHQL_API_KEY": "{your_api_key}",
                "GRAPHQL_ENDPOINT": "{your_graphql_endpoint}"
            },
            "args": [
                "--directory",
                "{path_to_mcp_server}/mcp-server-trueRAG",
                "run",
                "fastmcp",
                "run",
                "server.py"
            ],
            "command": "uv"
        }
    }
}

Linux

{
    "env": {
        "GRAPHQL_API_KEY": "{your_api_key}",
        "GRAPHQL_ENDPOINT": "{your_graphql_endpoint}"
    },
    "args": [
        "--directory",
        "{path_to_mcp_server}/mcp-server-trueRAG",
        "run",
        "fastmcp",
        "run",
        "server.py"
    ],
    "command": "uv"
}

Macos

{
    "env": {
        "GRAPHQL_API_KEY": "{your_api_key}",
        "GRAPHQL_ENDPOINT": "{your_graphql_endpoint}"
    },
    "args": [
        "--directory",
        "{path_to_mcp_server}/mcp-server-trueRAG",
        "run",
        "fastmcp",
        "run",
        "server.py"
    ],
    "command": "uv"
}

Windows

{
    "env": {
        "GRAPHQL_API_KEY": "{your_api_key}",
        "GRAPHQL_ENDPOINT": "{your_graphql_endpoint}"
    },
    "args": [
        "--directory",
        "{path_to_mcp_server}/mcp-server-trueRAG",
        "run",
        "fastmcp",
        "run",
        "server.py"
    ],
    "command": "uv"
}

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

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

Make sure you have uv installed

uv --version

If not, you can install it using:

# 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:

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

    "shipping-policies": {
      "command": "uv",
      "args": [
        "--directory",
        "{path_to_mcp_server}/mcp-server-trueRAG",
        "run",
        "fastmcp",
        "run",
        "server.py"
      ]
    }
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.