
Write HTML. Render video. Built for agents.
MCP Probe gives you a Rust client library for MCP integrations and a terminal debugger for exploring servers interactively. It supports protocol discovery, session handling, transport selection, and response inspection from the same codebase.

Builders who work with MCP servers in Claude Code, Codex, Cursor, or other agent tools and want a reusable client layer plus debugger.
You can build MCP integrations and inspect live protocol traffic without switching to separate tools.
Provides a Rust foundation for building MCP integrations programmatically.
Offers a TUI for discovering capabilities, running tools, and inspecting responses.
Connects over HTTP/SSE, WebSocket, STDIO, and TCP paths described in the README.
Tracks sessions, history, and replay data for debugging across requests.
Shows message traces, validation, timing, and error details while you work.
curl -fsSL https://raw.githubusercontent.com/conikeec/mcp-probe/master/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/conikeec/mcp-probe/master/install.sh | INSTALL_DIR=~/.local/bin bash
curl -fsSL https://raw.githubusercontent.com/conikeec/mcp-probe/master/install.sh | VERSION=v0.1.55 bash
# Add the tap brew tap conikeec/tap # Install mcp-probe brew install mcp-probe # Or in one command brew install conikeec/tap/mcp-probe
brew upgrade mcp-probe
cargo install mcp-cli
MCP Probe is a powerful Terminal User Interface (TUI) for debugging, testing, and interacting with Model Context Protocol (MCP) servers. It provides an intuitive, feature-rich alternative to command-line MCP inspectors with real-time protocol analysis, capability discovery, and interactive tool execution.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ MCP PROBE ARCHITECTURE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ฅ๏ธ TUI โ โ ๐ Transport โ โ ๐ง MCP Server โ โ
โ โ Interface โโโโโบโ Layer โโโโโบโ (Any impl.) โ โ
โ โ โ โ โ โ โ โ
โ โ โข Capabilities โ โ โข HTTP/SSE โ โ โข Tools (373+) โ โ
โ โ โข Search โ โ โข WebSocket โ โ โข Resources โ โ
โ โ โข Response View โ โ โข STDIO โ โ โข Prompts โ โ
โ โ โข Debugging โ โ โข TCP โ โ โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โ โ โ โ โ
โ โผ โผ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ ๐ REAL-TIME PROTOCOL ANALYSIS โ
โ โ โข Message Tracing โข Session Management โข Error Detection โ
โ โ โข JSON Validation โข Response Formatting โข Performance Metrics โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Feature | Traditional CLI Tools | MCP Probe TUI |
|---|---|---|
| Capability Discovery | Manual JSON parsing | ๐ฏ Interactive browsing with search |
| Tool Execution | Complex curl commands | ๐ฑ๏ธ Point-and-click with parameter forms |
| Response Analysis | Raw JSON dumps | ๐ Multi-format viewer (Tree/Summary/Raw) |
| Error Debugging | Scattered logs | ๐ Centralized error tracking with suggestions |
| Session Management | Stateless commands | ๐พ Persistent sessions with history |
| Multi-Transport | Single transport focus | ๐ HTTP/SSE, WebSocket, STDIO, TCP support |
| Real-time Monitoring | Snapshot-based | โก Live protocol stream analysis |
MCP Probe offers multiple installation methods for your convenience:
Download the latest binary for your platform from GitHub Releases:
mcp-probe-x86_64-unknown-linux-gnu.tar.gzmcp-probe-aarch64-unknown-linux-gnu.tar.gzmcp-probe-x86_64-apple-darwin.tar.gzmcp-probe-aarch64-apple-darwin.tar.gzmcp-probe-x86_64-pc-windows-msvc.zipcurl -fsSL https://raw.githubusercontent.com/conikeec/mcp-probe/master/install.sh | bash
Custom installation directory:
curl -fsSL https://raw.githubusercontent.com/conikeec/mcp-probe/master/install.sh | INSTALL_DIR=~/.local/bin bash
Install specific version:
curl -fsSL https://raw.githubusercontent.com/conikeec/mcp-probe/master/install.sh | VERSION=v0.1.55 bash
# Add the tap
brew tap conikeec/tap
# Install mcp-probe
brew install mcp-probe
# Or in one command
brew install conikeec/tap/mcp-probe
Update:
brew upgrade mcp-probe
cargo install mcp-cli
Note: The binary will be named mcp-probe even though the crate is mcp-cli.
# Clone the repository
git clone https://github.com/conikeec/mcp-probe.git
cd mcp-probe
# Build and install
cargo build --release
cargo install --path .
# Or run directly
cargo run -- --help
All binaries are provided with SHA256 checksums. You can verify your download:
# Download checksum file
curl -LO https://github.com/conikeec/mcp-probe/releases/latest/download/mcp-probe-x86_64-unknown-linux-gnu.tar.gz.sha256
# Verify (Linux/macOS)
sha256sum -c mcp-probe-x86_64-unknown-linux-gnu.tar.gz.sha256
# Verify (macOS alternative)
shasum -a 256 -c mcp-probe-x86_64-apple-darwin.tar.gz.sha256
# Test with a local MCP server
cargo run -- debug --http-sse http://localhost:3000
# Connect to remote server
cargo run -- debug --http-sse https://api.example.com/mcp
# Use WebSocket transport
cargo run -- debug --websocket ws://localhost:8080/mcp
# STDIO mode for local development
cargo run -- debug --stdio python my_mcp_server.py
MCP Probe serves as a comprehensive MCP client for developers and integrators who need to interact with MCP servers programmatically or interactively.
# Basic connection with default settings
mcp-probe debug --http-sse http://localhost:3000
# Advanced configuration
mcp-probe debug \
--http-sse http://localhost:3000 \
--timeout 30 \
--max-retries 3 \
--session-file my_session.json
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฎ INTERACTIVE CLIENT WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ 1๏ธโฃ DISCOVERY PHASE โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โโ Connection โโ โโ Capabilities โโ โโ Search & Filter โโ โ โ
โ โ โโข Auto-detect โ โโข Tools: 373 โ โโข Fuzzy matching โ โ โ
โ โ โโข Protocol โ โโข Resources: 1 โ โโข Category filter โ โ โ
โ โ โโข Session ID โ โโข Prompts: 3 โ โโข Real-time index โ โ โ
โ โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ 2๏ธโฃ INTERACTION PHASE โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โโ Parameter Input โโ โโ Execution โโ โโ Response Analysis โโ โ โ
โ โ โโข Smart forms โ โโข Real-time โ โโข Multi-format view โ โ โ
โ โ โโข Type validation โ โโข Progress โ โโข Error highlighting โ โ โ
โ โ โโข Auto-completion โ โโข Correlation โ โโข Export options โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ 3๏ธโฃ ANALYSIS PHASE โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โโ Session Review โโ โโ Error Analysis โโ โโ Export & Share โโ โ โ
โ โ โโข Message history โ โโข Root cause hints โ โโข JSON export โ โ โ
โ โ โโข Timing metrics โ โโข Fix suggestions โ โโข Session replay โ โ โ
โ โ โโข Protocol trace โ โโข Debug logs โ โโข Report sharing โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Fuzzy Search Engine: Find tools instantly among hundreds of capabilities
# Search examples (press '/' to activate)
/github # Find GitHub-related tools
/repo list # Find repository listing functions
/add_numbers # Direct tool name match
Auto-Parameter Detection: Intelligent form generation from JSON schemas
# Example: GitHub repo listing tool
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ org (REQUIRED) [string] โ
โ ๐ก The organization name... โ
โ > myorganization โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ per_page (optional) [integer] โ
โ ๐ก Results per page (max 100) โ
โ > 50 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Direct Command Mode:
# Syntax: category.name {"param": "value"}
tools.add_numbers {"a": 10, "b": 20}
resources.readme_content
prompts.generate_docs {"style": "technical"}
Interactive Mode: Use TUI navigation for guided execution
Batch Mode: Execute multiple operations with session scripts
MCP Probe features a sophisticated protocol discovery system that automatically detects and adapts to different MCP protocol versions, providing seamless connectivity across the evolving MCP ecosystem.
Automatic Protocol Detection: MCP Probe automatically detects the protocol version based on endpoint patterns and server behavior, eliminating manual configuration.
# MCP Probe automatically detects the protocol version from these patterns:
mcp-probe debug --http-sse http://localhost:8931/mcp # Modern Streamable HTTP
mcp-probe debug --http-sse http://localhost:8931/sse # Legacy HTTP+SSE
mcp-probe debug --stdio python server.py # Standard Transport
| Protocol Version | Spec Date | Endpoints | Session Management | Transport Method | Status |
|---|---|---|---|---|---|
| Modern Streamable HTTP | 2025-03-26 | /mcp | Mcp-Session-Id header | HTTP/SSE Streaming | โ Current |
| Legacy HTTP+SSE | 2024-11-05 | /sse, /events | sessionId query param | HTTP + Server-Sent Events | โ Supported |
| Standard Transport | 2025-03-26 | stdio | N/A (process-based) | Process I/O | โ Supported |
| WebSocket | 2025-03-26 | /ws, /websocket | Connection-based | WebSocket frames | ๐ Planned |
| TCP | 2025-03-26 | Raw socket | Connection-based | TCP stream | ๐ Planned |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ MODERN STREAMABLE HTTP WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Client MCP Probe Server โ
โ โ โ โ โ
โ โ โ โ โ
โ โโโโโ 1. Connection โโโโโโโบโโโโโโโ POST /mcp โโโโโโโโโโโบโ โ
โ โ โ Mcp-Session-Id: [auto] โ โ
โ โ โ โ โ
โ โโโโโ Session Created โโโโโโโโโโโโ 200 + Session โโโโโโโโ โ
โ โ โ Mcp-Session-Id: abc123 โ โ
โ โ โ โ โ
โ โโโโโ 2. Initialize โโโโโโโบโโโโโโโ POST /mcp โโโโโโโโโโโบโ โ
โ โ โ Mcp-Session-Id: abc123 โ โ
โ โ โ {"method": "initialize"} โ โ
โ โ โ โ โ
โ โโโโโ Capabilities โโโโโโโโโโโโโโโ 200 OK โโโโโโโโโโโโโโโ โ
โ โ โ Server capabilities โ โ
โ โ โ โ โ
โ โโโโโ 3. Ready State โโโโโโบโโโโโโโโโ Persistent โโโโโโโโโบโ โ
โ โ โ Session Active โ โ
โ โ
โ โ
Single endpoint simplicity ๐ Header-based security โ
โ โ
Built-in session management โก Automatic resumability โ
โ โ
Firewall-friendly ๐ Full streaming support โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ก LEGACY HTTP+SSE WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Client MCP Probe Server โ
โ โ โ โ โ
โ โ โ โ โ
โ โโโโโ 1. Discover โโโโโโโโโบโโโโโโโ GET /events โโโโโโโโโบโ โ
โ โ โ Accept: text/event-stream โ โ
โ โ โ โ โ
โ โโโโโ Session Info โโโโโโโโโโโโโโโ SSE Stream โโโโโโโโโโโ โ
โ โ โ data: {"sessionId": "xyz"}โ โ
โ โ โ โ โ
โ โโโโโ 2. Initialize โโโโโโโบโโโโ POST /sse?sessionId=xyzโโบโ โ
โ โ โ {"method": "initialize"} โ โ
โ โ โ โ โ
โ โโโโโ Capabilities โโโโโโโโโโโโโโโ 200 OK โโโโโโโโโโโโโโโ โ
โ โ โ Server capabilities โ โ
โ โ โ โ โ
โ โโโโโ 3. SSE Listen โโโโโโโบโโโโ GET /sse?sessionId=xyzโโโบโ โ
โ โ โ Accept: text/event-stream โ โ
โ โ โ โ โ
โ โโโโโ Event Stream โโโโโโโโโโโโโโ SSE Messages โโโโโโโโโโ โ
โ โ โ Continuous updates โ โ
โ โ
โ ๐ Dual-endpoint architecture ๐ก Query-based sessions โ
โ ๐ Separate discovery phase โก Event-driven updates โ
โ ๐ Legacy compatibility ๐ SSE streaming support โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง STANDARD TRANSPORT WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Client MCP Probe Process โ
โ โ โ โ โ
โ โ โ โ โ
โ โโโโโ 1. Spawn Process โโโโบโโโโโโโ exec/spawn โโโโโโโโโโบโ โ
โ โ โ python server.py โ โ
โ โ โ โ โ
โ โโโโโ Process Ready โโโโโโโโโโโโโโ stdin/stdout โโโโโโโโโ โ
โ โ โ Process initialization โ โ
โ โ โ โ โ
โ โโโโโ 2. Initialize โโโโโโโบโโโโโโโ JSON-RPC โโโโโโโโโโโโบโ โ
โ โ โ via stdin โ โ
โ โ โ โ โ
โ โโโโโ Capabilities โโโโโโโโโโโโโโโ JSON-RPC โโโโโโโโโโโโโ โ
โ โ โ via stdout โ โ
โ โ โ โ โ
โ โโโโโ 3. Bidirectional โโโโบโโโโโ stdin/stdout pipes โโโโโบโ โ
โ โ โ Full-duplex communication โ โ
โ โ
โ ๐ Direct process control ๐ง Perfect for development โ
โ ๐ No network complexity โก Immediate debugging โ
โ ๐ Local filesystem access ๐ Full protocol support โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฅ๏ธ INTERACTIVE TUI WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Phase 1: CONNECTION & DISCOVERY โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Auto-detect Protocol โ ๐ก Establish Session โ ๐ Discover Tools โ โ
โ โ โข Parse endpoint URL โข Header/query sessions โข Fuzzy search โ โ
โ โ โข Detect /mcp vs /sse โข Auto-resume capability โข Category filter โ โ
โ โ โข Security validation โข Background monitoring โข Real-time index โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ Phase 2: INTERACTIVE EXECUTION โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Parameter Forms โ โก Real-time Execution โ ๐ Response Analysisโ โ
โ โ โข Smart type detection โข Progress indicators โข Multi-format view โ โ
โ โ โข Schema-driven hints โข Error correlation โข Error highlighting โ โ
โ โ โข Auto-completion โข Session persistence โข Export options โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ Phase 3: ANALYSIS & DEBUGGING โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Session Review โ ๐ง Error Investigation โ ๐ค Export & Share โ โ
โ โ โข Message history โข Root cause analysis โข JSON export โ โ
โ โ โข Timing metrics โข Fix suggestions โข Session replay โ โ
โ โ โข Protocol trace โข Debug logs โข Report generation โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ฎ User Experience: Visual, guided, exploratory โ
โ โจ๏ธ Hotkeys: Tab navigation, / search, Enter execute โ
โ ๐ Features: Fuzzy search, parameter forms, real-time feedback โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Interactive Mode Commands:
# Launch TUI with automatic protocol detection
mcp-probe debug --http-sse http://localhost:8931/mcp
# TUI Navigation Flow:
# 1. Tab โ Navigate between panels
# 2. / โ Activate fuzzy search
# 3. โโ โ Browse capabilities
# 4. Enter โ Open parameter form
# 5. Tab โ Execute with parameters
# 6. V โ Cycle response views
# 7. F2 โ Save session
# Smart Parameter Forms:
# โข Auto-detects field types from JSON Schema
# โข Provides contextual hints and validation
# โข Supports environment variable injection
# โข Real-time syntax validation
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โก NON-INTERACTIVE CLI WORKFLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Phase 1: RAPID CONNECTION โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Direct Connect โ ๐ Quick Capability Dump โ โ
โ โ โข Protocol auto-detection โข Structured output โ โ
โ โ โข No user interaction โข Machine-readable format โ โ
โ โ โข CI/CD friendly โข Error codes for automation โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ Phase 2: BATCH EXECUTION โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Command Scripts โ โ๏ธ Automated Testing โ ๐ Report Output โ โ
โ โ โข Direct tool execution โข Comprehensive test suite โข JSON/CSV export โ โ
โ โ โข Parameter validation โข Protocol compliance โข CI integration โ โ
โ โ โข Bulk operations โข Performance monitoring โข Success/fail codesโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ Phase 3: PRODUCTION VALIDATION โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Health Checks โ ๐ Performance Analysis โ ๐จ Alert Integrationโ โ
โ โ โข Endpoint discovery โข Response time metrics โข Monitoring systems โ โ
โ โ โข Protocol compliance โข Memory usage tracking โข Automated alerts โ โ
โ โ โข Schema validation โข Error rate analysis โข Report webhooks โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ค Use Cases: CI/CD pipelines, monitoring, automation โ
โ โก Features: Zero interaction, structured output, exit codes โ
โ ๐ง Integration: Scripts, Docker, Kubernetes health checks โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Non-Interactive Mode Commands:
# Quick capability overview
mcp-probe debug --http-sse http://localhost:8931/mcp --non-interactive
# Automated testing with reports
mcp-probe test --http-sse http://localhost:8931/mcp --report --output-dir ./reports
# Endpoint discovery for load balancers
mcp-probe test --discover http://api.company.com --report
# CI/CD integration examples
mcp-probe test --http-sse $MCP_SERVER_URL --fail-fast --timeout 30
if [ $? -eq 0 ]; then echo "โ
MCP server healthy"; else echo "โ MCP server failed"; fi
# Batch operations for monitoring
mcp-probe validate --http-sse http://prod-server/mcp --suite compliance
Multi-Endpoint Discovery: MCP Probe can discover and test multiple MCP endpoints from a base URL, perfect for load balancers and multi-service deployments.
# Discover all MCP endpoints under a domain
mcp-probe test --discover https://api.company.com
# Discovery automatically tests these patterns:
# โข https://api.company.com/mcp (Modern)
# โข https://api.company.com/sse (Legacy)
# โข https://api.company.com/events (Discovery)
# โข https://api.company.com/v1/mcp (Versioned)
# โข https://api.company.com/api/mcp (Nested)
# Output shows availability and capabilities:
โ
Modern Streamable HTTP - 47 tools, 3 resources, 2 prompts
โ
Legacy HTTP+SSE - 47 tools, 3 resources, 2 prompts
โ Versioned API - Connection failed
โ ๏ธ Nested API - Invalid response format
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ SECURITY VALIDATION โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ ๐ก๏ธ Connection Security โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โข HTTPS enforcement for production URLs โ โ
โ โ โข Origin validation to prevent DNS rebinding โ โ
โ โ โข Session ID format validation (cryptographic strength) โ โ
โ โ โข Certificate verification for remote servers โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ Session Management โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โข Automatic session discovery and renewal โ โ
โ โ โข Secure session ID generation and tracking โ โ
โ โ โข Background session monitoring for ephemeral servers โ โ
โ โ โข Session resumption after network interruptions โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โก Performance & Reliability โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โข Connection pooling and keep-alive โ โ
โ โ โข Automatic retry with exponential backoff โ โ
โ โ โข Request timeout and circuit breaker patterns โ โ
โ โ โข Memory-efficient streaming for large responses โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Comprehensive Test Suites: MCP Probe includes extensive test suites for validating protocol compliance across different versions.
# Full protocol compliance testing
mcp-probe validate --http-sse http://localhost:8931/mcp --suite all
# Specific compliance areas:
mcp-probe validate --suite initialization # Connection & handshake
mcp-probe validate --suite capabilities # Tool/resource discovery
mcp-probe validate --suite schema # JSON Schema validation
mcp-probe validate --suite security # Security best practices
mcp-probe validate --suite performance # Response time & throughput
# Generate detailed compliance reports
mcp-probe validate --suite all --report --output-dir ./compliance-reports
MCP Probe excels as a diagnostic tool for MCP deployments, providing deep insights into protocol behavior, performance bottlenecks, and integration issues.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ TROUBLESHOOTING DASHBOARD โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ ๐ด CONNECTION DIAGNOSTICS ๐ก PROTOCOL ANALYSIS โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โข Transport validation โ โ โข Message correlation โ โ
โ โ โข Authentication checks โ โ โข Response time analysis โ โ
โ โ โข Firewall/proxy detection โ โ โข Error pattern recognition โ โ
โ โ โข SSL/TLS verification โ โ โข Capability compatibility โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ข PERFORMANCE MONITORING ๐ฃ ERROR INVESTIGATION โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โข Request/response latency โ โ โข Stack trace analysis โ โ
โ โ โข Throughput measurement โ โ โข JSON schema validation โ โ
โ โ โข Memory usage tracking โ โ โข Serialization debugging โ โ
โ โ โข Connection stability โ โ โข Integration compatibility โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Symptoms: "Transport connection failed", "Connection refused"
Diagnosis with MCP Probe:
# 1. Test basic connectivity
mcp-probe debug --http-sse http://localhost:3000
# 2. Check different transports
mcp-probe debug --websocket ws://localhost:8080/mcp
mcp-probe debug --stdio python server.py
# 3. Monitor protocol flow
# Look for: Connection status, SSL handshake, authentication
Troubleshooting Guide:
Symptoms: "Serialization error", "Invalid parameters", "Tool not found"
Diagnosis with MCP Probe:
# 1. Verify tool discovery
# Navigate to Tools section, check tool list
# 2. Inspect parameter schemas
# Select tool -> Parameter form should show required fields
# 3. Check raw response data
# Use 'V' key to cycle through response formats
Common Root Causes:
Symptoms: Slow responses, timeouts, memory issues
Diagnosis with MCP Probe:
# 1. Monitor timing metrics
# Check message history for response times
# 2. Analyze message sizes
# Use Raw JSON view to inspect payload sizes
# 3. Track connection stability
# Watch for reconnection attempts in logs
Message Flow Analysis:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ PROTOCOL MESSAGE FLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Client MCP Probe Server โ
โ โ โ โ โ
โ โโโโโ initialize โโโโโโโโโบโโโโโโโ HTTP/POST โโโโโโโโโโโบโ โ
โ โ โ โ โ
โ โโโโโ init_response โโโโโโโโโโโโโ 200 OK โโโโโโโโโโโโโโโ โ
โ โ โ โ โ
โ โโโโโ tools/list โโโโโโโโโบโโโโโโโ HTTP/POST โโโโโโโโโโโบโ โ
โ โ โ โ โ
โ โโโโโ tools_response โโโโโโโโโโโโ 200 OK โโโโโโโโโโโโโโโ โ
โ โ โ โ โ
โ โโโโโ tools/call โโโโโโโโโบโโโโโโโ HTTP/POST โโโโโโโโโโโบโ โ
โ โ โ (params) โ โ
โ โ โ โ โ
โ โโโโโ result/error โโโโโโโโโโโโโโ 200/400/500 โโโโโโโโโโ โ
โ โ โ โ โ
โ โ
โ ๐ MCP Probe captures and analyzes each step: โ
โ โข Request correlation (session ID tracking) โ
โ โข Response time measurement โ
โ โข Error classification and suggestions โ
โ โข JSON schema validation โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Development Environment Checklist:
# 1. Server Implementation Validation
โ
Server responds to initialize request
โ
Capabilities are properly declared
โ
Tool schemas are valid JSON Schema
โ
Error responses include helpful messages
# 2. Integration Testing
โ
Authentication flow works correctly
โ
Session management is stable
โ
All transport types are supported
โ
Error handling is graceful
# 3. Performance Validation
โ
Response times are within SLA
โ
Memory usage is reasonable
โ
Concurrent requests are handled
โ
Rate limiting is implemented correctly
# Connection
mcp-probe debug --http-sse <url> # HTTP Server-Sent Events
mcp-probe debug --websocket <url> # WebSocket connection
mcp-probe debug --stdio <command> # STDIO transport
mcp-probe debug --tcp <host:port> # Raw TCP connection
# Configuration
mcp-probe debug <transport> --timeout 30 # Request timeout
mcp-probe debug <transport> --max-retries 3 # Retry attempts
mcp-probe debug <transport> --session-file <f> # Session persistence
| Key | Action | Description |
|---|---|---|
Tab | Cycle Focus | Move between panels |
F1 | Help | Show/hide help dialog |
F2 | Save Session | Export current session |
F3 | Toggle JSON | Switch JSON view mode |
F4 | Clear History | Reset message history |
F5 | Environment | Set environment variables |
Q | Quit | Exit application |
| Key | Action | Description |
|---|---|---|
Enter | Select | Open capability details |
โ/โ | Navigate | Move through categories/items |
โ/โ | Page | Previous/next page |
/ | Search | Activate fuzzy search |
Esc | Back | Return to categories |
| Key | Action | Description |
|---|---|---|
/ | Activate | Open search dialog |
Type | Query | Enter search terms |
โ/โ | Navigate | Browse search results |
Enter | Select | Choose result |
Esc | Cancel | Close search |
| Key | Action | Description |
|---|---|---|
โ/โ | Navigate | Move between fields (auto-edit) |
Type | Edit | Enter parameter values |
Enter | Save | Save field and move to next |
Tab | Execute | Run with current parameters |
Esc | Cancel | Close parameter form |
| Key | Action | Description |
|---|---|---|
R | Open | View selected response |
V | View Mode | Cycle formats (Formatted/Raw/Tree/Summary) |
โ/โ | Scroll V | Vertical scrolling |
โ/โ | Scroll H | Horizontal scrolling |
PgUp/PgDn | Fast Scroll | Page up/down |
Home/End | Jump | Go to top/bottom |
Esc | Close | Exit response viewer |
# Syntax: category.name {json_params}
tools.add_numbers {"a": 10, "b": 20}
tools.github_list_repos {"org": "microsoft", "per_page": 10}
resources.readme_content
prompts.code_review {"language": "rust", "style": "detailed"}
# Set variables for tool injection
KEY=value,API_TOKEN=secret123,ORG=myorg
# Variables automatically injected into tool calls
tools.api_call {} # Will include ORG=myorg if tool expects it
MCP Probe automatically organizes all generated files in a clean, structured directory hierarchy in your home directory.
~/.mcp-probe/
โโโ logs/ # All log files with timestamps
โ โโโ mcp-probe-debug.log # TUI mode debug log
โ โโโ mcp-probe-YYYYMMDD_HHMMSS.log # CLI mode logs
โโโ reports/ # All generated reports with date prefixes
โ โโโ YYYYMMDD-test-report-HHMMSS.json
โ โโโ YYYYMMDD-validation-report-HHMMSS.json
โ โโโ YYYYMMDD-discovery-report-HHMMSS.json
โโโ sessions/ # Saved session files
โ โโโ debug-session-YYYYMMDD_HHMMSS.json
โโโ config/ # Configuration files
โโโ mcp-probe.toml
# Show directory structure and usage
mcp-probe paths show
# Clean up old files (dry run)
mcp-probe paths cleanup --days 30
# Actually clean up files older than 7 days
mcp-probe paths cleanup --days 7 --force
# Open MCP Probe directory in file manager
mcp-probe paths open
All reports are automatically prefixed with dates for easy organization:
YYYYMMDD-report-name-HHMMSS.extension20250622-test-report-143052.jsonMCP Probe includes intelligent cleanup features:
# Show what would be cleaned up
mcp-probe paths cleanup --days 30
# Clean files older than 30 days
mcp-probe paths cleanup --days 30 --force
# The paths show command gives cleanup recommendations
mcp-probe paths show
# Auto-save sessions
mcp-probe debug --http-sse http://localhost:3000 --session-file debug.json
# Session contains:
# โข Connection parameters
# โข Message history with timing
# โข Error logs and diagnostics
# โข Environment variables
# โข Response cache for offline analysis
mcp-probe debug --http-sse http://localhost:3000
# โ
Most compatible with web servers
# โ
Firewall-friendly
# โ
Built-in error handling
mcp-probe debug --websocket ws://localhost:8080/mcp
# โ
Real-time bidirectional communication
# โ
Lower latency
# โ ๏ธ May require proxy configuration
mcp-probe debug --stdio python my_server.py
# โ
Perfect for local testing
# โ
Direct process communication
# โ ๏ธ Limited to local development
mcp-probe debug --tcp localhost:9000
# โ
Low-level protocol access
# โ
Custom transport implementations
# โ ๏ธ Requires manual protocol handling
mcp-probe/
โโโ crates/
โ โโโ mcp-core/ # Core MCP protocol implementation
โ โ โโโ src/
โ โ โ โโโ client.rs # High-level MCP client
โ โ โ โโโ transport/ # Transport layer abstractions
โ โ โ โโโ messages/ # Protocol message definitions
โ โ โโโ Cargo.toml
โ โโโ mcp-cli/ # TUI application
โ โโโ src/
โ โ โโโ tui.rs # Terminal UI implementation
โ โ โโโ search.rs # Capability search engine
โ โ โโโ main.rs # CLI entry point
โ โโโ Cargo.toml
โโโ target/ # Build artifacts
โโโ Cargo.toml # Workspace configuration
โโโ README.md
# Debug build
cargo build
# Release build (recommended for performance)
cargo build --release
# Run tests
cargo test
# Run with logging
RUST_LOG=debug cargo run -- debug --http-sse http://localhost:3000
This project is licensed under the MIT License - see the LICENSE file for details.
# Connect to your MCP server
mcp-probe debug --http-sse https://api.yourservice.com/mcp
# 1. Verify connection and capabilities
# 2. Search for relevant tools: /api or /user
# 3. Test tool execution with real parameters
# 4. Analyze responses for integration issues
# 5. Export session for team sharing
# Set up performance monitoring
mcp-probe debug --http-sse http://localhost:3000 --session-file perf_test.json
# 1. Execute high-frequency tool calls
# 2. Monitor response times in message history
# 3. Check for memory leaks or connection issues
# 4. Review session file for timing analysis
# Local development testing
mcp-probe debug --stdio python my_mcp_server.py
# 1. Rapid iteration on server code
# 2. Test tool schemas and validation
# 3. Debug parameter handling
# 4. Verify error response formats
MCP Probe includes comprehensive automation for code quality and CI/CD:
# Run all checks (formatting, clippy, tests)
./scripts/check.sh
# Auto-fix formatting and clippy issues
./scripts/fix.sh
# Publish to crates.io (with all checks)
./scripts/release.sh
Our GitHub Actions CI pipeline automatically runs:
rustfmt ensures consistent code styleclippy with warnings as errors for code qualitycargo audit for vulnerability scanningReleases to crates.io are fully automated:
mcp-core published first (dependency)mcp-cli published second# Install development tools
cargo install cargo-audit cargo-tarpaulin
# Set up git hooks (optional)
cargo install cargo-husky
rustfmt.toml configurationBoth crates are available on crates.io:
# Install the CLI tool
cargo install mcp-cli
# Add core library to your project
[dependencies]
mcp-core = "0.1.0"
Made with โค๏ธ in Rust
This project wouldn't be possible without:
Special thanks to the Ratatui team for creating the foundation that makes our beautiful TUI possible! ๐จ
๐ฏ MCP Probe: Making MCP protocol debugging as intuitive as it should be.
Sign in to join the discussion.
No comments yet. Be the first to say what this is good for.

Write HTML. Render video. Built for agents.
Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
SkillOpt is a text-space optimizer that trains reusable natural-language skills for frozen LLM agents through trajectory-driven edits, validation-gated updates, and deployable best_skill.md artifacts.

Omnigent is an open-source AI agent framework and meta-harness: orchestrate Claude Code, Codex, Cursor, Pi, and custom agents โ swap harnesses without rewriting, enforce policies and sandboxing, and collaborate in real time from any device.
A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.
๐ท๏ธ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!