TrueRAG MCP Server
Implements a Model Context Protocol server for accessing and querying a GraphQL API that provides policies data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TrueRAG MCP Servershow me all policies related to data privacy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-trueRAGMake sure you have uv installed
uv --versionIf 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"
]
}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.889 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.2 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.146 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