Back to Home
sparfenyuk icon

mcp-proxy

Verified Safe

by sparfenyuk

Overview

Acts as a transparent proxy for Model Context Protocol (MCP) servers, allowing switching between stdio, Server-Sent Events (SSE), and Streamable HTTP transports.

Installation

Run Command
docker run --rm -t -p 8096:8096 ghcr.io/sparfenyuk/mcp-proxy:latest --pass-environment --port=8096 --host 0.0.0.0 uvx mcp-server-fetch

Environment Variables

  • API_ACCESS_TOKEN
  • SSE_URL

Security Notes

The mcp-proxy itself appears well-engineered, utilizing standard and reputable libraries (uvicorn, Starlette, httpx) and implementing good practices such as masking sensitive headers (e.g., Authorization) in logs. It correctly handles SSL verification. The primary security consideration arises from its 'SSE to stdio' mode, where it executes arbitrary commands provided by the user to spawn local MCP servers. While `shlex.split` is used when parsing command strings from named server definitions to mitigate simple shell injection, users are ultimately responsible for ensuring the commands they configure are safe and non-malicious.

Similar Servers

Stats

Interest Score100
Security Score8
Cost ClassLow
Stars2167
Forks214
Last Update2026-01-15

Tags

ProxyMCPServerTransportSSE