MCP Tap
mcp-tap is like wireshark but for MCP
What is MCP Tap?
MCP Tap is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp-tap is like wireshark but for mcp
mcp-tap is like wireshark but for MCP
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- mcp-tap is like wireshark but for MCP
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcptapConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Tap
mcp-tap is a Wireshark-like traffic inspector for the Model Context Protocol, written in Rust. It works by acting as a transparent proxy between your MCP client and your MCP servers — rewriting your MCP configuration to route traffic through itself, displaying syntax-highlighted JSON of every tool call and response in real time, and restoring the original configuration when you are done. Developers use it to debug misbehaving MCP servers, understand what an AI client is actually sending, enforce policy rules via CEL expressions to allow or block specific tool calls, and analyze traffic patterns across both stdio and HTTP transports.
Prerequisites
- A pre-compiled mcp-tap binary for your platform (download from https://github.com/jondot/mcptap/releases)
- An existing MCP configuration file (e.g. ~/.config/mcp.json) with at least one MCP server configured
- MCP-compatible client such as Claude Desktop or Cursor already set up
- Optional: a YAML policy file with CEL expressions for filtering or blocking specific traffic
Download the mcp-tap binary
Go to the GitHub Releases page and download the pre-compiled binary for your operating system (macOS, Linux, or Windows). Place it in a directory on your PATH.
# Example for macOS ARM64:
curl -L https://github.com/jondot/mcptap/releases/latest/download/mcptap-aarch64-apple-darwin.tar.gz | tar xz
mv mcptap /usr/local/bin/
mcptap --versionStart monitoring MCP traffic
Run mcp-tap tap pointing at your MCP configuration file. The tool rewrites the config to insert itself as a proxy, backs up the original, and begins displaying live traffic in your terminal. Your MCP client continues working normally.
mcp-tap tap --mcp-config ~/.config/mcp.jsonApply a policy file to filter or block traffic
Create a YAML policy file with CEL expressions that match specific tool names, methods, or argument patterns. Use --mode observe to highlight matching traffic or --mode enforce to block matching requests.
# policy.yaml example:
rules:
- name: "block dangerous tool"
match: 'tool_name == "execute_shell_command"'
action: block
mcp-tap tap --mcp-config ~/.config/mcp.json --policy policy.yaml --mode enforceOutput traffic to stdout for scripting
Pipe the raw MCP traffic to other tools for analysis or logging by adding the --stdout flag, which disables the interactive TUI and writes JSON lines to standard output.
mcp-tap tap --mcp-config ~/.config/mcp.json --stdout | jq '.method'Restore your original MCP configuration
When you are done debugging, run the untap command to restore the original MCP configuration that mcp-tap backed up. This removes the proxy from the traffic path.
mcp-tap untap --mcp-config ~/.config/mcp.jsonMCP Tap Examples
Client configuration
mcp-tap does not need a separate MCP client config entry — it rewrites your existing MCP config to proxy through itself. Your existing Claude Desktop config remains unchanged in terms of servers listed; mcp-tap inserts itself transparently.
{
"mcpServers": {
"your-existing-server": {
"command": "node",
"args": ["/path/to/your-mcp-server/index.js"]
}
}
}Prompts to try
mcp-tap is a developer debugging tool rather than a conversational AI tool. These are terminal commands and investigation scenarios rather than AI chat prompts.
- Run: mcp-tap tap --mcp-config ~/.config/mcp.json (to start live monitoring)
- Run: mcp-tap tap --mcp-config ~/.config/mcp.json --stdout | jq '.params.name' (extract tool names)
- Run: mcp-tap untap --mcp-config ~/.config/mcp.json (restore config when done)
- Ask your AI: "Call the list_files tool" and watch mcp-tap capture the exact JSON exchangedTroubleshooting MCP Tap
MCP client stops working after running mcp-tap
If mcp-tap exited unexpectedly without running untap, your MCP config may still be pointing at the proxy. Run mcp-tap untap --mcp-config ~/.config/mcp.json to restore the original configuration. A backup is stored alongside the config file.
mcp-tap shows no traffic even though the AI client is calling tools
Confirm mcp-tap rewrote the correct config file. Different MCP clients use different config paths — Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, while Cursor uses .cursor/mcp.json. Point --mcp-config at the file your specific client reads.
Policy file CEL expressions are not matching expected traffic
Use --mode observe first before --mode enforce to see which traffic is being highlighted. Check the CEL expression syntax carefully — string comparisons are case-sensitive and field names must match the exact MCP protocol field names (tool_name, method, params, etc.).
Frequently Asked Questions about MCP Tap
What is MCP Tap?
MCP Tap is a Model Context Protocol (MCP) server that mcp-tap is like wireshark but for mcp It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Tap?
Follow the installation instructions on the MCP Tap GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Tap?
MCP Tap works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Tap free to use?
Yes, MCP Tap is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP Tap Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Tap? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Tap in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Tap?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.