Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

mcp-proxy

$ mcp-proxy Community Med Risk
Sergey Parfenyuk · Agent Bridges & Meta · MIT · macos / linux / windows

mcp-proxy translates between stdio MCP servers and SSE/Streamable HTTP servers in either direction. Useful for exposing local uvx/Python stdio servers over HTTP (--port, --host, --allow-origin) or forwarding remote HTTP MCP servers to local stdio clients with --env and --pass-environment.

FCRS-1.0 Score
75 /100
Good
Medium Confidence
Zero-Friction Install
pip install mcp-proxy
CLI vs MCP Decision CLI Only

mcp-proxy acts purely as a protocol transport adapter between stdio and HTTP/SSE MCP hosts and servers.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Clean non-interactive CLI flags (--port, --host, --env), though it runs as a persistent proxy daemon rather than a one-shot JSON CLI.

  • Scriptable --port/--sse-port, --host/--sse-host, --env, and --allow-origin flags
Trust & Safety 19 / 25

Avoids leaking host environment variables by default unless --pass-environment is passed, and supports CORS --allow-origin restrictions.

  • Isolated child environment by default; opt-in --pass-environment and --env
Setup & Portability 13 / 15

Cross-platform Python package runnable via uvx mcp-proxy or pip install mcp-proxy.

  • Distributed on PyPI (mcp-proxy) with uvx support
Utility & Efficiency 12 / 15

Lightweight bidirectional Python bridge for teams standardized on uv/uvx instead of Node.js.

  • Supports both client (HTTP->stdio) and server (stdio->HTTP) modes
Maintenance & Lineage 8 / 10

Maintained community repository (sparfenyuk/mcp-proxy) under MIT license.

  • MIT-licensed sparfenyuk/mcp-proxy repo
Docs & Verifiability 7 / 10

README covers both proxy directions, Docker deployment, and environment isolation flags.

  • GitHub README documents CLI modes and flags

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Forwards environment variables explicitly via --env <K=V> or --pass-environment, and passes HTTP headers via --headers.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# mcp-proxy Agent Rules
- Bind to `--host 127.0.0.1` instead of `0.0.0.0` unless remote network access is explicitly required.
- Prefer `--env K=V` for specific secrets rather than `--pass-environment`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Print mcp-proxy CLI flags and usage
uvx mcp-proxy --help

Displays server/client proxy flags (--port, --host, --env, --pass-environment, --allow-origin) without starting a listener.

Controlled Writes & Previews

Expose a stdio MCP server over local Streamable HTTP
mcp-proxy --port 8080 --host 127.0.0.1 -- uvx mcp-server-fetch

Spawns a local stdio MCP server and exposes it on 127.0.0.1:8080 without leaking unselected host env vars.

Strengths for Agents

  • + Bidirectional Python bridge needing no Node.js runtime when paired with uvx.
  • + Filters child process environment by default, requiring explicit --env or --pass-environment.

Caveats & Pitfalls

  • ! Runs as a blocking proxy process without --json telemetry or dry-run validation.
  • ! Deprecated legacy --sse-port/--sse-host aliases coexist with --port/--host across versions.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI