Model Context Protocol (MCP) Server for GraphQL Policies API
Mirror of
Overview
This project provides an implementation of a Model Context Protocol (MCP) server, designed to facilitate a GraphQL API that grants access to various policies.
To use the MCP server, clone the repository from GitHub, install the required dependencies, set up your environment variables, and configure it with your GraphQL API details.
- Implementation of Model Context Protocol for easy interaction with policies. - Utilizes the Python SDK and GQL library for GraphQL operations. - Customizable configurations through environment variables.
- Integrating GraphQL policies within existing applications.
- Simplifying access to policy management via the MCP architecture.
- Enhancing communication between different components of software ecosystems.
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": {
"ad-veritas-mcp-server-truerag-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ad-veritas-mcp-server-truerag-mcp-mirror"
]
}
}
}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": {
"ad-veritas-mcp-server-truerag-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ad-veritas-mcp-server-truerag-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ad-veritas-mcp-server-truerag-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ad-veritas-mcp-server-truerag-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ad-veritas-mcp-server-truerag-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ad-veritas-mcp-server-truerag-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ad-veritas-mcp-server-truerag-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ad-veritas-mcp-server-truerag-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ad-veritas-mcp-server-truerag-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ad-veritas-mcp-server-truerag-mcp-mirror"
]
}
}
}FAQ
What is the purpose of the MCP?
The MCP allows for structured access to policies, ensuring they can be managed and queried efficiently.
Is there a specific platform to run the MCP Server?
The server is designed to work on various platforms, provided the necessary prerequisites are met.
Can I customize the server settings?
Yes, you can define server configurations through environment variables as per your application needs.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":511,"uuid":"ed940c74-1971-43c4-bedb-5c75d1765854","name":"Ad-Veritas_mcp-server-trueRAG","title":"Model Context Protocol (MCP) Server for GraphQL Policies API","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T02:52:53.635Z","updated_at":"2025-01-05T03:00:09.531Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp-server,graphql,api","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/Ad-Veritas_mcp-server-trueRAG","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]