meta-mcp-server
by blueman82
Overview
A meta Model Context Protocol (MCP) server that acts as a proxy to multiple backend MCP servers, optimizing AI tool discovery and interaction for token efficiency via lazy loading and a two-tier discovery mechanism.
Installation
npm install -g @justanothermldude/meta-mcp-server && meta-mcp-serverEnvironment Variables
- SERVERS_CONFIG
- MAX_CONNECTIONS
- IDLE_TIMEOUT_MS
- MCP_DEFAULT_TIMEOUT
- META_MCP_TRANSPORT
- META_MCP_HTTP_PORT
- META_MCP_HTTP_HOST
- GITHUB_PERSONAL_ACCESS_TOKEN
- BRAVE_API_KEY
- JIRA_URL
- JIRA_TOKEN
Security Notes
The server's design inherently involves executing external commands and arbitrary code. While `stdio-transport.ts` whitelists base commands (e.g., 'node', 'docker', 'npx'), it does not sanitize or restrict arguments. A compromised `servers.json` file could therefore be used to execute arbitrary commands with a whitelisted binary, posing a significant local privilege escalation risk. The `mcp-exec` package, designed for arbitrary code execution, uses a sandbox runtime. However, its default `allowNetworkAccess: true` setting means code executed within the sandbox can make unrestricted network requests, creating a pathway for data exfiltration or external attacks if an RCE is achieved. Additionally, `cursor-token-reader.ts` uses `execFileSync` to retrieve sensitive tokens from OS password stores, introducing a complex and potentially vulnerable attack surface. While there are some security best practices like environment variable filtering and path validation for env files, the fundamental reliance on executing dynamic code/commands from configuration necessitates extreme caution regarding the integrity of configuration sources.
Similar Servers
mcphub
An orchestration hub that aggregates, manages, and routes Model Context Protocol (MCP) servers and their tools, providing a centralized interface, user management, OAuth 2.0 authorization server capabilities, and AI-powered tool discovery and routing.
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
aicode-toolkit
An MCP proxy server that aggregates multiple Model Context Protocol (MCP) servers, enabling on-demand tool discovery and execution, thereby significantly reducing AI agent token usage and improving context window efficiency by loading tools progressively.