1. Conduid
  2. Browser
  3. Open MCP Proxy
MCP server · Browser

Open MCP Proxy

An open source MCP proxy.

Unclaimed browser
39Low

Scored 6 months ago · breakdown

About Open MCP Proxy

Open MCP Proxy is an MCP server in the Browser category: an open source MCP proxy.

Install

From source
git clone https://github.com/grll/open-mcp-proxy

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Open MCP Proxy

Powered by Claude · Grounded in docs

I know everything about Open MCP Proxy. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Open MCP Proxy

A simple and lightweight open-source bidirectional proxy for MCP servers.

It exposes several callbacks that you can use to implement your own logic and do your own actions during the MCP protocol lifecycle.

It supports both SSE and STDIO protocols so it can be used to enable MCP Client supporting only stdio (like the Claude Desktop App) to also support SSE.

It leverages as much as possible the official mcp-python-sdk to remains simple, lightweight and future-proof.

it declines in 2 versions to support both SSE and STDIO protocols:

SSE Proxy

graph LR
    STDIN -->|stdio| Proxy[Open MCP Proxy]
    Proxy -->|SSE| Server[Remote MCP Server]
graph RL
    Server[Remote MCP Server] -->|SSE| Proxy[Open MCP Proxy]
    Proxy -->|stdio| STDOUT

STDIO Proxy

graph LR
    STDIN -->|stdio| Proxy[Open MCP Proxy]
    Proxy -->|stdio| Server[Local MCP Server]
graph RL
    Server[Local MCP Server] -->|stdio| Proxy[Open MCP Proxy]
    Proxy -->|stdio| STDOUT

Note that in both cases the proxy listen to STDIN and write to STDOUT to work seemlessly with stdio MCP Clients.

Usage

Hook into the MCP protocol lifecycle

The recommended approach to hook into the MCP protocol lifecycle is to subclass one of the Proxy class that we expose and override the callback methods you need.

At the moment, we expose 4 callback methods:

Method Description Parameters
_on_mcp_client_message Can be used to handle messages from the MCP client message: JSONRPCMessage
_on_mcp_server_message Can be used to handle messages from the MCP server message: JSONRPCMessage | Exception
_on_start Can be used to handle the start of the proxy None
_on_close Can be used to handle the close of the proxy None

For example if you need a proxy over the stdio protocol:

from omproxy.proxy import StdioProxy

class MyStdioProxy(StdioProxy):
    def _on_start(self):
        print("Starting proxy", file=sys.stderr)

    def _on_mcp_client_message(self, message: JSONRPCMessage):
        print(message, file=sys.stderr)

    def _on_mcp_server_message(self, message: JSONRPCMessage | Exception):
        print(message, file=sys.stderr)

    def _on_close(self):
        print("Closing proxy", file=sys.stderr)

if __name__ == "__main__":
    proxy = MyStdioProxy()
    proxy.run(StdioServerParameters(command="uv", args=["run", "src/example_server.py"]))

tip: dont write to stdout in your callbacks or anywhere really as it will mess with the stdio MCP communication.

MCP Client supporting only STDIO to your SSE MCP Server

We provide a simple CLI to start the proxy if you have an SSE MCP server running and you want to make it available to an MCP Client supporting only stdio you can simply do:

uvx omproxy@latest sse --url https://yourssemcpserver.io

see uvx omproxy@latest sse --help for more information including setting headers for authorization for example.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Open MCP Proxy

How do I install Open MCP Proxy?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Open MCP Proxy safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Open MCP Proxy still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.