mcp-discovery
A command-line tool written in Rust for discovering and documenting MCP Server capabilities.
claude mcp add --transport stdio rust-mcp-stack-mcp-discovery npx -y @modelcontextprotocol/server-everything
How to use
MCP Discovery is a Rust-based CLI tool that inventories MCP Server capabilities and presents them in the terminal or as generated documentation files. The tool can render output using built-in templates (md, md-plain, html, txt) or custom Handlebars templates, and it can generate or update documentation files with the discovered server details. Use it to inspect a target MCP Server's information, tools, resources, and capabilities, then save that information as Markdown, HTML, or plain text for embedding in README files or project docs. Examples show running the CLI to print capabilities or to create/update files with rendered output, either from built-in templates or a custom template you provide.
How to install
Prerequisites:
- A machine with Rust toolchain installed (Rustup, cargo).
- Optional: prebuilt binaries from releases if you prefer not to build from source.
Install from source (via cargo):
- Install Rust and Cargo: follow https://www.rust-lang.org/tools/install
- Install the MCP Discovery CLI binary: cargo install mcp-discovery
- Verify installation: mcp-discovery --version
Alternatively, install using a package manager or download a release binary from the project releases page and place the executable in your PATH. After installation, you can run the CLI with the examples shown in the README.
Additional notes
Tips and notes:
- By default, mcp-discovery will use the print subcommand if no subcommand is provided.
- Use -f to specify an output file when creating or updating documentation, and -t to choose a built-in template (md, md-plain, html, txt).
- You can inject a custom Handlebars template using --template-file or --template-string, and you can embed an inline template inside a render block for update commands.
- When updating existing files, the tool will insert content between the mcp-discovery-render markers to keep documentation current.
- The command examples typically show using npx to fetch a server package; adapt the command according to how you deploy or integrate MCP servers in your environment.
Related MCP Servers
mcp-probe
A Model Context Protocol (MCP) client library and debugging toolkit in Rust. This foundation provides both a production-ready SDK for building MCP integrations and the core architecture for an interactive debugger.
mcp-kit
A CLI tool to create MCP (Model Context Protocol) applications with ease.
turbomcp
A full featured, enterprise grade rust MCP SDK
dynamic-shell
Dynamic Shell Command MCP Server
scraps
Scraps is a portable CLI knowledge hub for managing interconnected Markdown documentation with Wiki-link notation.
mcp-proxy
Fast rust MCP proxy between stdio and SSE