Live data from Hacker News

Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

github.com

21–29 of 29 posts

Re: Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

#21
post #20

One question about http mode, you carry authorization headers. Do you redact bearer tokens before captures hit the logs?

There's nothing redacted because the header isn't collected in the first place. Under http mode, the proxy intercepts the JSON-RPC messages, but not their headers, so there's no way for the log to contain the Authorization header and the bearer passes through unlogged. The contents of the messages themselves aren't redacted, which means if the secret is in the payload, it'll end up in the trace. The trace stays on your machine, and if you don't want anything to go to the disk at all, use --no-trace.

Re: Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

#22
post #20

One question about http mode, you carry authorization headers. Do you redact bearer tokens before captures hit the logs?

There's nothing redacted because the header isn't collected in the first place. Under http mode, the proxy intercepts the JSON-RPC messages, but not their headers, so there's no way for the log to contain the Authorization header and the bearer passes through unlogged. The contents of the messages themselves aren't redacted, which means if the secret is in the payload, it'll end up in the trace. The trace stays on yo…

thanks! all clear

Re: Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

#26
"MCP Inspector [...] never sees the traffic between your client and your server." This line resonates a lot, what you're building makes sense to me! I had built something similar to track these interactions and turn them into a benchmark, I'm gonna try this out.

Re: Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

#27
post #26

"MCP Inspector [...] never sees the traffic between your client and your server." This line resonates a lot, what you're building makes sense to me! I had built something similar to track these interactions and turn them into a benchmark, I'm gonna try this out.

Thanks, that means a lot. Would love to hear how it goes once you try it

Re: Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

#29

This is awesome, thank you. What's missing now is an MCP for Wireshark.

You can just get your agent to run tshark :)

Ha, fair. tshark in a shell works fine, the only reason to wrap it is typed output and not handing the agent a raw shell.
Post reply on HN