Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Wireshark-like forensic analysis for Model Context Protocol communications Capture, inspect, and investigate all HTTP requests and responses between your IDE and MCP servers

License

Notifications You must be signed in to change notification settings

mcp-shark/mcp-shark

Repository files navigation

MCP Shark Logo

@mcp-shark/mcp-shark

Aggregate multiple Model Context Protocol (MCP) servers into a single unified interface with a powerful monitoring UI

npm version License: Non-Commercial

Quick Start

Run instantly with npx (no installation required):

npx @mcp-shark/mcp-shark --open

The server will start on http://localhost:9853 and automatically open your browser.

Or install globally:

npm install -g @mcp-shark/mcp-shark
mcp-shark --open

What is MCP Shark?

MCP Shark is a monitoring and aggregation solution for Model Context Protocol (MCP) servers. It provides:

  • Multi-server aggregation: Connect to multiple MCP servers simultaneously
  • Real-time monitoring: Wireshark-like interface for inspecting all MCP communications
  • Interactive playground: Test tools, prompts, and resources directly in the UI
  • Local analysis: Rule-based static analysis with YARA detection for connected servers
  • Smart Scan: AI-powered scanning for security risks and vulnerabilities
  • IDE integration: Automatic configuration detection for Cursor, Windsurf, Codex, and other IDEs
  • API documentation: Comprehensive Swagger/OpenAPI documentation for all endpoints with interactive testing
  • Action menu: Expandable menu providing quick access to API docs, help tour, and server shutdown

Documentation

Getting Started

User Guides

Developer Guides

  • Development Guide - Developer guide and contribution guidelines
  • Architecture - System architecture and design
  • Database Architecture - Database architecture and repository pattern
  • API Reference - API endpoints and WebSocket protocol
  • API Documentation - Interactive Swagger/OpenAPI documentation available at /api-docs when server is running (or click the menu button ☰ in the bottom-right corner, then select the API docs button 📡)

Architecture & Coding Rules

Requirements

  • Node.js: 20.0.0 or higher (for npm package)
  • Operating System: macOS, Windows, or Linux

License

Source-Available Non-Commercial License

This is not an OSI-approved open source license. The source code is available, but commercial use is prohibited without a separate commercial agreement.

Summary:

  • Allowed: View, fork, modify, and run for personal, educational, or internal company use
  • Not Allowed: Sell, resell, or integrate into paid products/services without written permission

See the LICENSE file for full terms and conditions.

Related Projects

Support


Version: 1.5.9 | Homepage: https://mcpshark.sh

About

Wireshark-like forensic analysis for Model Context Protocol communications Capture, inspect, and investigate all HTTP requests and responses between your IDE and MCP servers

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages