Cargo Doc MCP Server

search_doc

Search crate docs for specific features, error messages, or usage examples. Helps debug compilation issues or learn new APIs.

Input Schema

NameRequiredDescriptionDefault
crate_nameYesName of the crate to search in
project_pathYesPath to the Rust project (must be absolute path)
queryYesSearch query (keyword or symbol)

Input Schema (JSON Schema)

{ "properties": { "crate_name": { "description": "Name of the crate to search in", "type": "string" }, "project_path": { "description": "Path to the Rust project (must be absolute path)", "type": "string" }, "query": { "description": "Search query (keyword or symbol)", "type": "string" } }, "required": [ "project_path", "crate_name", "query" ], "type": "object" }

You must be authenticated.

Other Tools