Linux command
mcp-probe 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Debug an MCP server
mcp-probe debug --stdio [command]
Debug via HTTP+SSE
mcp-probe debug --http-sse [url]
Debug via Streamable HTTP
mcp-probe debug --streamable-http [url]
Run compliance validation
mcp-probe validate --http-sse [url] --suite all
说明
mcp-probe is an interactive debugger and testing toolkit for Model Context Protocol (MCP) servers. The TUI provides automatic discovery of tools, resources, and prompts, advanced fuzzy search, and multiple view modes for inspecting server responses. It supports compliance testing with report generation in HTML, Markdown, JSON, and YAML formats, making it suitable for CI/CD pipeline integration.
参数
- debug
- Launch interactive TUI debugger for an MCP server.
- validate
- Run automated compliance tests against an MCP server.
- --stdio _COMMAND_
- Connect to MCP server via stdio transport.
- --http-sse _URL_
- Connect to MCP server via HTTP+SSE transport.
- --streamable-http _URL_
- Connect to MCP server via Streamable HTTP transport.
- --suite _SUITE_
- Compliance test suite to run (all, initialization, capabilities, security, performance).
- --format _FORMAT_
- Output format for validation reports (html, markdown, json, yaml).
FAQ
What is the mcp-probe command used for?
mcp-probe is an interactive debugger and testing toolkit for Model Context Protocol (MCP) servers. The TUI provides automatic discovery of tools, resources, and prompts, advanced fuzzy search, and multiple view modes for inspecting server responses. It supports compliance testing with report generation in HTML, Markdown, JSON, and YAML formats, making it suitable for CI/CD pipeline integration.
How do I run a basic mcp-probe example?
Run `mcp-probe debug --stdio [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does debug do in mcp-probe?
Launch interactive TUI debugger for an MCP server.