Skip to main content
Glama

Cargo Doc MCP Server

by spacemeowx2

list_symbols

Retrieve all symbols within a Rust crate to explore or implement traits, structs, and enums. Requires project path and crate name for detailed symbol paths.

Instructions

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" }
Install Server

Other Tools from Cargo Doc MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/spacemeowx2/cargo-doc-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server