Back to Home
admannon icon

mcp-wrapper

Verified Safe

by admannon

Overview

Acts as an MCP server wrapper to prefix tool names from multiple underlying MCP servers, preventing naming collisions.

Installation

Run Command
npx mcp-wrapper --config '{"name":"my-wrapper","version":"1.0.0","servers":[{"name":"github","command":"npx","args":["-y","@modelcontextprotocol/server-github"]}]}'

Security Notes

The wrapper itself does not contain obvious malicious patterns or direct 'eval' usage. However, it is designed to execute arbitrary commands ('command' field) or connect to arbitrary URLs ('url' field) as defined in its 'WrapperConfig'. This means the security posture is heavily reliant on the trustworthiness of the provided configuration. If an attacker can manipulate the 'mcp-wrapper.json' file or the 'MCP_WRAPPER_CONFIG' environment variable, they could achieve arbitrary code execution or initiate malicious network requests. The tool does not perform dynamic code execution based on *runtime* untrusted input to its own API, mitigating some risks. Server names are validated against the separator and for uniqueness, but 'command' and 'url' values are executed/connected as configured.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens10
Stars0
Forks0
Last Update2025-12-06

Tags

MCPWrapperTool ManagementAPI GatewayProxy