About Mcp Log Proxy
mcp-log-proxy is a command line proxy that sits between an MCP client and an MCP server and displays the messages exchanged between them in a web interface. It is aimed at developers debugging MCP communication and supports running several proxy instances at once.
Key features
- 01Web view of messages exchanged over STDIO
- 02Multiple proxy instances with instance switching
- 03Configurable host, port and page title
- 04Proxy error output written to a log file
Use cases
- 01Debugging messages between Claude Desktop or Goose and an MCP server
- 02Monitoring the communication of several MCP servers at the same time
MCP support
This project is a proxy placed between an MCP client and an MCP server. It currently supports only the STDIO interface and records and displays messages in both directions.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-log-proxy
mcp-log-proxy can be used to see the messages to and from a MCP client and a MCP server using a Web interface.
Currently, it only supports the STDIO interface.

Multiple proxies

All running mcp-log-proxy processes will register themselves in .mcp-log-proxy-instances.json located in your home directory. On the web page, you can use the selector to switch to another proxy instance.
install
brew tap "emicklei/tap"
and then
brew install emicklei/tap/mcp-log-proxy
or via Go
go install github.com/emicklei/mcp-log-proxy@latest
usage
mcp-log-proxy requires one argument -command that contains the full command line for starting the MCP server.
For example, to proxy traffic to the melrose-mcp server, the full command is:
mcp-log-proxy -command melrose-mcp
This example assumes that both tools are available on your execution PATH.
Once the proxy is started, messages can be viewed on http://localhost:5656.
optional flags
You can override the HTTP host address (default localhost) using the host flag, for example to listen on all interfaces or a specific interface address:
mcp-log-proxy -command melrose-mcp -host 0.0.0.0
mcp-log-proxy -command melrose-mcp -host 1.2.3.4
You can override the Web page title using the title flag:
mcp-log-proxy -command melrose-mcp -title "Melrōse (proxy)"
You can override the HTTP port(default 5656) using the port flag:
mcp-log-proxy -command melrose-mcp -port 9999
When running multiple proxies, the mcp-log-proxy will detect whether a HTTP port is taken and choose a different port instead. Using the Web UI you can select any of the other running proxies.
You can override the log file location of the proxy that captures errors in the proxy itself using the log flag:
mcp-log-proxy -command melrose-mcp -log /your/logs/mcp-log-proxy.log
Claude examples
This example proxies the use of the melrose-mcp server.
Locate the binaries to get the correct paths.
"melrōse": {
"command": "/Users/SOME-USER/go/bin/mcp-log-proxy",
"args": [
"-command",
"/Users/SOME-USER/go/bin/melrose-mcp -log /Users/SOME-USER/Library/Logs/claude-melrose.log",
"-log",
"/Users/SOME-USER/Library/Logs/claude-melrose-proxy.log",
"-port",
"7788",
"-title",
"Claude Melrose MCP"
]
},
Proxying the browsermcp server.
"browsermcp": {
"command": "/Users/SOME-USER/go/bin/mcp-log-proxy",
"args": [
"-command",
"npx @browsermcp/mcp@latest",
"-log",
"/Users/SOME-USER/Library/Logs/claude-browsermcp-proxy.log",
"-port",
"7799",
"-title",
"Claude Browser MCP"
]
}
Goose Example
This example proxies the use of the melrose-mcp server.
Locate the binaries to get the correct paths.
/Users/SOME-USER/go/bin/mcp-log-proxy -command /Users/SOME-USER/go/bin/melrose-mcp -log /Users/SOME-USER/Library/Logs/goose-melrose.log -port 8888 -title Melrose-MCP
Error information

© 2025, https://ernestmicklei.com. MIT License.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.