drio
Open app

Model Context Protocol (MCP) Server for GraphQL Policies API

Source

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

Catalog onlyCatalog onlySTDIO

Overview

The Model Context Protocol (MCP) Server is an implementation that provides access to policies through a GraphQL API, specifically designed for TrueRAG systems.

To use the MCP Server, clone the repository, install the necessary dependencies, define your environment variables, and configure your MCP client to connect to the server.

  • Provides a GraphQL API for accessing policies. - Built using the Python SDK for MCP. - Easy integration with existing MCP clients like Claude Desktop.
  1. Accessing and managing policies in TrueRAG systems.
  2. Integrating policy management into applications using GraphQL.
  3. Facilitating communication between different components of a system through a standardized API.

Add to your AI client

Use these steps to connect Model Context Protocol (MCP) Server for GraphQL Policies API in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-truerag-ad-veritas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-truerag-ad-veritas"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-truerag-ad-veritas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-truerag-ad-veritas"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-truerag-ad-veritas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-truerag-ad-veritas"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-truerag-ad-veritas": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-truerag-ad-veritas"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-truerag-ad-veritas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-truerag-ad-veritas"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-truerag-ad-veritas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-truerag-ad-veritas"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP Server?

The MCP Server allows users to access and manage policies through a GraphQL API, enhancing the flexibility and usability of policy management.

Is the MCP Server open-source?

Yes! The MCP Server is open-source and available on GitHub.

What technologies are used in the MCP Server?

The server is built using Python and utilizes the GQL library for GraphQL interactions.