MCP Discovery
A command-line tool written in Rust for discovering and documenting MCP Server capabilities.
What is MCP Discovery?
MCP Discovery is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to command-line tool written in rust for discovering and documenting mcp server capabilities.
A command-line tool written in Rust for discovering and documenting MCP Server capabilities.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A command-line tool written in Rust for discovering and docu
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-discoveryConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Discovery
MCP Discovery is a command-line tool written in Rust that connects to any MCP server, introspects its capabilities, and produces formatted documentation covering all exposed tools, resources, and prompts. It acts as a developer utility for cataloging what an MCP server can do — useful when evaluating new servers, automating documentation pipelines, or maintaining up-to-date capability references. Output can be rendered as Markdown, HTML, plain text, JSON, or custom Handlebars templates, and an 'update' subcommand supports marker-based in-place documentation updates for keeping files current as servers evolve.
Prerequisites
- Rust toolchain installed (cargo, rustc) if building from source, or a pre-built binary from the GitHub releases page
- At least one MCP server available to introspect (can be any stdio-based MCP server)
- Optional: Handlebars template files if you want custom output formatting
Install mcp-discovery
Install mcp-discovery using Cargo from crates.io, or download a pre-built binary from the GitHub releases page.
cargo install mcp-discoveryVerify the installation
Run mcp-discovery with the help flag to confirm it is installed and accessible.
mcp-discovery --helpPrint capabilities of an MCP server
Use the 'print' subcommand (the default) to connect to an MCP server and display its tools, resources, and capabilities in the terminal. Pass the server launch command after the double-dash separator.
mcp-discovery print -- npx -y @modelcontextprotocol/server-everythingGenerate a documentation file
Use the 'create' subcommand to generate a new documentation file in your preferred format. Specify the output file path and format.
mcp-discovery create -f capabilities.md -- npx -y @modelcontextprotocol/server-filesystem /tmpUpdate an existing documentation file in place
Add mcp-discovery-render / mcp-discovery-render-end marker comments to an existing file, then use the 'update' subcommand to inject the latest server capabilities between those markers automatically.
# In your existing docs file, add markers:
# <!-- mcp-discovery-render -->
# <!-- mcp-discovery-render-end -->
# Then run:
mcp-discovery update docs/server-capabilities.md -- npx -y @modelcontextprotocol/server-everythingMCP Discovery Examples
Client configuration
MCP Discovery is a CLI tool, not an MCP server you configure in a client. Here is an example command that generates HTML documentation for any MCP server.
{
"example": "mcp-discovery is a CLI tool, not an MCP server client config",
"usage": "mcp-discovery create -f capabilities.html -- npx -y @modelcontextprotocol/server-everything",
"formats": ["markdown", "html", "text", "json", "handlebars-template"]
}Prompts to try
Example CLI commands that demonstrate what mcp-discovery can do.
- mcp-discovery print -- npx -y @modelcontextprotocol/server-filesystem /tmp
- mcp-discovery create -f capabilities.md -- npx -y @modelcontextprotocol/server-everything
- mcp-discovery create -f capabilities.html -- npx -y @modelcontextprotocol/server-github
- mcp-discovery update README.md -- npx -y @modelcontextprotocol/server-slack
- mcp-discovery print --format json -- python -m my_mcp_serverTroubleshooting MCP Discovery
mcp-discovery cannot connect to the target MCP server
Make sure the command after the double-dash (--) launches a working MCP server. Test the command independently in a terminal first. If the server requires environment variables (API keys, etc.), pass them before the command: ENV_VAR=value mcp-discovery print -- npx -y some-mcp-server.
Output file is empty or missing sections
Confirm the server actually exposes tools, resources, or prompts. Some servers only expose tools with no resources, which will result in empty sections. Use the JSON output format to inspect the raw capability data: mcp-discovery print --format json -- <server command>.
cargo install fails to build
Ensure you have a recent stable Rust toolchain: run 'rustup update stable'. If your system lacks native dependencies (OpenSSL, etc.), install them via your package manager (e.g., 'sudo apt install libssl-dev pkg-config' on Ubuntu).
Frequently Asked Questions about MCP Discovery
What is MCP Discovery?
MCP Discovery is a Model Context Protocol (MCP) server that command-line tool written in rust for discovering and documenting mcp server capabilities. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Discovery?
Follow the installation instructions on the MCP Discovery GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Discovery?
MCP Discovery works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Discovery free to use?
Yes, MCP Discovery is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP Discovery Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Discovery? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Discovery in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Discovery?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.