MCP ExplorerExplorer

Mcp Server Truerag

@Ad-Veritason 9 months ago
2 MIT
FreeCommunity
AI Systems
Model Context Protocol (MCP) server to access an instance of TrueRAG

Overview

What is Mcp Server Truerag

mcp-server-trueRAG is a Model Context Protocol (MCP) server implementation designed to provide access to policies through a GraphQL API. It leverages the python SDK for MCP and the GQL library for interaction.

Use cases

Use cases include managing shipping policies in e-commerce platforms, implementing access control policies in software applications, and facilitating compliance with regulatory requirements.

How to use

To use mcp-server-trueRAG, clone the repository, ensure you have the required dependencies installed, define the necessary environment variables in a .env file, and configure it within an MCP client like Claude Desktop.

Key features

Key features include integration with GraphQL APIs, easy configuration through environment variables, and compatibility with the python SDK for MCP, allowing for seamless policy access and management.

Where to use

mcp-server-trueRAG can be used in various fields that require policy management and access, such as software development, data governance, and compliance management.

Content

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers