Unified-MCP-Tool-Graph
by pratikjadhav2726
Overview
The Unified MCP Tool Graph aggregates and structures tool APIs from diverse Model Context Protocol (MCP) servers into a centralized Neo4j graph database, enabling LLMs and agentic AI systems to dynamically retrieve the most relevant tools for any task.
Installation
uv run python start_unified_gateway.pyEnvironment Variables
- NEO4J_URI
- NEO4J_USER
- NEO4J_PASSWORD
- TAVILY_API_KEY
- GROQ_API_KEY
- GITHUB_TOKEN
- ANTHROPIC_API_KEY
- GOOGLE_API_KEY
- GATEWAY_PORT
- PROXY_PORT
- LOG_LEVEL
Security Notes
The system dynamically fetches and executes server configurations from potentially arbitrary GitHub repositories for new tools. The `MCPServerManager` uses `subprocess.Popen` with commands and arguments derived from these configurations. While `extract_config_from_github_async` attempts to filter commands (to 'npx' or 'python'), these can still execute arbitrary code if a malicious configuration is provided (e.g., from a compromised GitHub repository or a crafted JSON in a README). This introduces a significant supply chain and remote code execution risk, as the integrity of external configurations cannot be fully guaranteed. No direct `eval()` or `os.system()` with unsanitized user input was found, but the dynamic execution of external commands is a high-risk pattern.
Similar Servers
remote-mcp-functions
Provides remote utilities or services for Minecraft Coder Pack (MCP) development environments.
codebadger
A containerized Model Context Protocol (MCP) server providing static code analysis using Joern's Code Property Graph (CPG) technology.
RiMCP_hybrid
A local RAG (Retrieval-Augmented Generation) server providing semantic and lexical search, and graph-based navigation for RimWorld game source code and XML definitions to AI assistants.
cov-loupe
Provides an MCP server, CLI, and Ruby library for analyzing SimpleCov test coverage data, primarily to enable AI assistants to query and report on codebase coverage.