Back to catalog

mcp-proxy

by sparfenyuk

Pending

A bridge between Streamable HTTP and stdio MCP transports

2,222stars
218forks
Python
Added 12/27/2025
MCP Serversmcpmcp-serverproxyssestreamable-http
Installation
# Add to your Claude Code skills
git clone https://github.com/sparfenyuk/mcp-proxy
README.md

mcp-proxy

GitHub License PyPI - Python Version PyPI - Downloads codecov

About

The mcp-proxy is a tool that lets you switch between server transports. There are two supported modes:

  1. stdio to SSE/StreamableHTTP
  2. SSE to stdio

1. stdio to SSE/StreamableHTTP

Run a proxy server from stdio that connects to a remote SSE server.

This mode allows clients like Claude Desktop to communicate to a remote server over SSE even though it is not supported natively.

graph LR
    A["Claude Desktop"] <--> |stdio| B["mcp-proxy"]
    B <--> |SSE| C["External MCP Server"]

    style A fill:#ffe6f9,stroke:#333,color:black,stroke-width:2px
    style B fill:#e6e6ff,stroke:#333,color:black,stroke-width:2px
    style C fill:#e6ffe6,stroke:#333,color:black,stroke-width:2px

1.1 Configuration

This mode requires providing the URL of the MCP Server's SSE endpoint as the program’s first argument. If the server uses Streamable HTTP transport, make sure to enforce it on the mcp-proxy side by passing --transport=streamablehttp.

Arguments

| Name | Required | Description | Example | | ---------------- | -------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | | command_or_url | Yes | The MCP server SSE endpoint to connect to | http://example.io/sse | | --headers | No | Headers to use for the MCP server SSE connection | Authorization 'Bear...