Cargo Doc MCP Server

get_crate_doc

Get crate's main documentation page. Useful for unresolved imports (e.g. use get_crate_doc when seeing 'unresolved import tokio') or understanding crate features.

Input Schema

NameRequiredDescriptionDefault
crate_nameYesName of the crate to get documentation for
project_pathYesPath to the Rust project (must be absolute path)

Input Schema (JSON Schema)

{ "properties": { "crate_name": { "description": "Name of the crate to get documentation for", "type": "string" }, "project_path": { "description": "Path to the Rust project (must be absolute path)", "type": "string" } }, "required": [ "project_path", "crate_name" ], "type": "object" }

You must be authenticated.

Other Tools