Cargo Doc MCP Server
by spacemeowx2
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
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. |
list_symbols | List all symbols in a crate. Use when implementing traits or exploring available types. Shows structs, enums, traits with their paths. |
search_doc | Search crate docs for specific features, error messages, or usage examples. Helps debug compilation issues or learn new APIs. |