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
Make sure you have uv installed
If not, you can install it using:
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:
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
):
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Python SDK와 GQL 라이브러리 통합을 통해 정책에 대한 액세스를 용이하게 하고, Model Context Protocol(MCP)을 사용하여 GraphQL API를 통해 TrueRAG 시스템과 상호 작용할 수 있습니다.
Related Resources
Related MCP Servers
- -securityFlicense-qualityConnects a RAG application to open-webui using Model Context Protocol (MCP), enabling server-to-client communication for context retrieval and tool usage in remote environments through Server-Sent Events (SSE).Last updated -1
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -3901MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -4
- -securityAlicense-qualityA server that integrates Retrieval-Augmented Generation (RAG) with the Model Control Protocol (MCP) to provide web search capabilities and document analysis for AI assistants.Last updated -3Apache 2.0