Back to Home
blueman82 icon

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

Run Command
npm install -g @justanothermldude/meta-mcp-server && meta-mcp-server

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-30

Tags

MCPAI ToolingAPI GatewayLazy LoadingToken Optimization