Cargo Doc MCP Server

list_symbols

List all symbols in a crate. Use when implementing traits or exploring available types. Shows structs, enums, traits with their paths.

Input Schema

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

Input Schema (JSON Schema)

{ "properties": { "crate_name": { "description": "Name of the crate to list symbols 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