Cover image
Try Now
2025-04-14

MCP客户端服务器通信的网络记录代理

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

mcp-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.

install

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 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

You can set override the log file location of the proxy that captures errors in the proxy itself.

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.

"melrōse": {
  "command": "/Users/emicklei/go/bin/mcp-log-proxy",
  "args": [
    "-command",
    "/Users/emicklei/go/bin/melrose-mcp -log /Users/emicklei/Documents/claude-melrose.log",
    "-log",
    "/Users/emicklei/Documents/claude-melrose-proxy.log",
    "-port",
    "7788",
    "-title",
    "Claude Melrose MCP"
  ]
},

Proxying the browsermcp server.

"browsermcp": {
  "command": "/Users/emicklei/go/bin/mcp-log-proxy",
  "args": [
    "-command",
    "npx @browsermcp/mcp@latest",
    "-log",
    "/Users/emicklei/Documents/claude-browsermcp-proxy.log",
    "-port",
    "7799",
    "-title",
    "Claude Browser MCP"
  ]
}

© 2025, https://ernestmicklei.com. MIT License.

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • dmayboroda
  • 带有可配置容器的本地对话抹布

    Reviews

    2.4 (11)
    Avatar
    user_COz1fUsz
    2025-04-26

    As an avid user of mcp applications, I highly recommend the mcp-log-proxy by emicklei. This tool has significantly streamlined my logging process with its intuitive interface and robust functionality. The seamless integration and efficient performance have made it an invaluable part of my workflow. Kudos to emicklei for another fantastic product!

    Avatar
    user_fejP3Yy4
    2025-04-26

    As a dedicated user of the mcp application, I am thoroughly impressed with mcp-log-proxy by emicklei. This tool has significantly streamlined our log management process. Its seamless integration and efficient performance make it an invaluable asset. Highly recommend for anyone looking to enhance their logging capabilities!

    Avatar
    user_d8W349PH
    2025-04-26

    The mcp-log-proxy by emicklei is an outstanding tool for seamlessly managing and analyzing log data. It simplifies the process with user-friendly features and robust performance. This product has significantly improved our logging infrastructure. Highly recommended for anyone looking to streamline their log management process!

    Avatar
    user_pyb5kTPV
    2025-04-26

    I've been using mcp-log-proxy by emicklei and it has greatly improved my log management workflow. The seamless integration and efficient handling of logs have made debugging and monitoring tasks much easier. Highly recommend it for anyone looking to streamline their logging processes!

    Avatar
    user_xkcRiFSQ
    2025-04-26

    I have been using the mcp-log-proxy developed by emicklei and it has significantly streamlined our logging processes. Its robust design and user-friendly interface make it an indispensable tool for managing logs effectively. Highly recommended for anyone looking to enhance their logging capabilities!

    Avatar
    user_tYAFFZLe
    2025-04-26

    mcp-log-proxy by emicklei is a reliable and efficient tool for handling logs! It seamlessly integrates with existing systems and simplifies log management. The intuitive interface and documentation make it easy to set up and use. Highly recommended for anyone looking to streamline their logging process!

    Avatar
    user_f3p7t0u1
    2025-04-26

    The mcp-log-proxy by emicklei is an outstanding tool for developers looking to efficiently manage and proxy their log data. Its seamless integration and reliability have significantly improved my logging workflow. I highly recommend it for anyone needing a robust solution for log handling in their applications.

    Avatar
    user_Y6Z1YWYZ
    2025-04-26

    As a dedicated user of mcp-log-proxy by emicklei, I can confidently say this tool has significantly improved my logging experience. Its seamless integration and user-friendly interface make it a must-have for any developer. Highly recommended!

    Avatar
    user_NmHwCbNe
    2025-04-26

    As a dedicated user of mcp applications, I find mcp-log-proxy by emicklei to be an outstanding tool. It efficiently enhances logging capabilities with seamless integration into various projects. Highly recommend it for its robustness and ease of use.

    Avatar
    user_yITT1iip
    2025-04-26

    I've been using mcp-log-proxy by emicklei for a while now, and it has significantly streamlined my log management process. The seamless integration and intuitive interface make it a must-have for any application requiring efficient log handling. Highly recommended for its reliability and performance!

    Avatar
    user_cFdkXBLH
    2025-04-26

    As a dedicated user of mcp applications, I can confidently say that mcp-log-proxy by emicklei is an essential tool for anyone needing efficient log management. The seamless integration and user-friendly interface make it a pleasure to work with. Highly recommended for its reliability and performance!