MCP Sniffer
@shivdeepak
关于 MCP Sniffer
MCP Sniffer captures network traffic between MCP clients and servers and displays it in a web UI.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Sniffer?
MCP Sniffer captures network traffic between MCP clients and servers. It runs as a reverse proxy between the client and server, capturing request and response payloads that can be visualized in a web UI, similar to the Network tab in Chrome DevTools.
How to use MCP Sniffer?
Install via pipx install mcp-sniffer, then run the server using mcp-sniffer --listen-port <port> --upstream-port <port>. Configure host and port settings via command-line options or environment variables. Access the web UI at the default address http://127.0.0.1:8888.
Key features of MCP Sniffer
- Acts as a reverse proxy between MCP client and server.
- Captures request and response payloads in real time.
- Web UI for visualizing captured traffic.
- Configurable listen, upstream, and web UI hosts/ports.
- Supports environment variables for all configuration options.
- Log level can be adjusted via
--log-level.
Use cases of MCP Sniffer
- Debugging MCP client-server communication.
- Inspecting MCP protocol payloads during development.
- Monitoring MCP traffic for integration testing.
FAQ from MCP Sniffer
What does MCP Sniffer do?
It sits as a reverse proxy between an MCP client and server, recording all request and response payloads, and displays them in a web interface for inspection.
How do I install MCP Sniffer?
Install it with pipx install mcp-sniffer. pipx is recommended for isolated Python application installation.
How do I configure MCP Sniffer?
Use command-line flags like --listen-port, --upstream-port, --web-ui-host, and --web-ui-port, or set the corresponding environment variables (LISTEN_PORT, UPSTREAM_PORT, etc.).
Where do I view captured traffic?
Open a browser to http://127.0.0.1:8888 (or the configured web UI host/port) to see the web interface.
Can I change the log level?
Yes, use --log-level (e.g., INFO, DEBUG) or set the LOG_LEVEL environment variable.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论