Cargo Doc
Createdspacemeowx2
Provides an MCP server to manage, build, check, and search Rust documentation locally.
About
Cargo Doc provides an MCP server designed for managing Rust documentation through cargo doc commands. It enables developers to check, build, and search Rust documentation locally, streamlining the process of understanding and utilizing Rust crates. Features include retrieving crate documentation, listing symbols, and searching within documentation, all integrated into a server designed to improve documentation accessibility and development workflow.
Key Features
- Retrieves main documentation pages for crates.
- Lists all symbols (structs, enums, traits) within a crate's documentation.
- Enables searching within a crate's documentation using keywords or symbols.
- Caches built documentation paths for improved performance.
- Includes an MCP inspector for easier debugging.
Use Cases
- Quickly find documentation for Rust crates within a project.
- List symbols to get an overview of available functionalities in a crate.
- Search for specific terms or functions within Rust documentation locally.