View and analyze MCP Shark traffic data directly in VS Code, Cursor, and Windsurf. Monitor packets, conversations, and statistics from your MCP server interactions.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Node.js: required if you want the extension to auto-start MCP Shark via npx -y @mcp-shark/mcp-shark (MCP Shark requires Node 18+; see upstream README: mcp-shark/mcp-shark README)
UI opens but server isn’t “running”: MCP Shark’s UI can be up even if an external MCP server failed to start. Open the MCP Shark UI and check the setup/logs (upstream docs: mcp-shark/mcp-shark).
Port already in use (9853): another MCP Shark instance (or other process) is already bound to 9853. Stop it and try again.
Start fails inside IDE: ensure npx is available in the IDE environment and you can run npx -y @mcp-shark/mcp-shark in a terminal.
Development
Open this repo in VS Code/Cursor
Press F5 to launch an Extension Development Host
Run:
npm run validate
npm run lint
Scripts
validate: npm run validate (runs node scripts/validate.js)
lint: npm run lint (Biome)
format: npm run format
check: npm run check
Docs
Install/Package: docs/How.md
Validation workflow: docs/VALIDATION_PLAN.md
Repo Layout
Root entrypoint: extension.js (thin shim exporting from src/)