mcp-cross
Verified Safeby seanepping
Overview
Acts as a cross-platform bridge for Model Context Protocol (MCP) servers, facilitating seamless stdio communication and path translation between different environments, especially Windows and WSL2, and providing an HTTP proxy mode for accessing HTTP-based MCP servers with environment variable expansion.
Installation
npx mcp-cross -- node example-server.jsEnvironment Variables
- MCP_CROSS_DEBUG
Security Notes
The project demonstrates a strong focus on security, particularly in handling shell command execution and environment variable propagation across Windows and WSL. Key measures include robust argument escaping for `wsl.exe` and login shells, a WSL runner script (`wsl-runner.sh`) that sanitizes the PATH to prevent unintended Windows binary execution, and careful handling of environment variables via `WSLENV` with a Windows environment variable blacklist. Header parsing includes validation against CRLF injection, and sensitive header values are masked in debug logs. The HTTP proxy mode also warns against using insecure HTTP for non-localhost endpoints. There are no apparent hardcoded secrets or malicious patterns.
Similar Servers
cli
The Smithery CLI is a developer tool for installing, managing, building, running, and deploying Model Context Protocol (MCP) servers and integrating them with various AI clients.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
claude-prompts-mcp
Enhances AI assistant behavior through structured prompt management, multi-step chains, quality gates, and autonomous verification loops, primarily for development tasks.
mcp-kit
A CLI tool for scaffolding new Model Context Protocol (MCP) applications, including MCP Servers and Clients.