TrueRAG MCP Server
Servidor de Protocolo de Contexto de Modelo (MCP) para API de políticas de GraphQL
Este repositorio contiene una implementación de servidor de Protocolo de contexto de modelo (MCP) para una API GraphQL que proporciona acceso a políticas.
El servidor está construido utilizando el SDK de Python para MCP y utiliza la biblioteca GQL para interactuar con la API GraphQL.
Empezando
Clonar el repositorio
git clone https://github.com/Ad-Veritas/mcp-server-trueRAG.git
cd mcp-server-trueRAGAsegúrese de tener instalado el protector UV.
uv --versionSi no, puedes instalarlo usando:
# 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"Definir las variables de entorno
El servidor está configurado para funcionar con una API GraphQL para uno de los sistemas TrueRag. Una vez creado el entorno TrueRAG, copie la clave de API y el punto final de las variables de entorno.
Cree un archivo .env en el directorio raíz del repositorio y agregue las siguientes líneas:
GRAPHQL_API_KEY = "{your_api_key}"
GRAPHQL_ENDPOINT = "{your_graphql_endpoint}"Agregar al cliente MCP, como Claude Desktop
Agregue las siguientes líneas al archivo de configuración de Claude ( ~/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.1,458 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.9 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.210 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