Skip to main content
Glama

Cargo Doc MCP Server

by spacemeowx2

get_crate_doc

Retrieve the main documentation page for a Rust crate to resolve unresolved imports or explore crate features. Input requires crate name and project path.

Instructions

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 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