rustdoc-mcp-0.1.2 is not a library.
rustdoc-mcp
A Model Context Protocol server for rust documentation
Note: This crate requires nightly
to be installed, since it uses unstable rustdoc json output format.
Additionally, if you want to allow your MCP users to reference std
, core
, alloc
, proc_macro
,
and test
, you'll need to rustup component add rust-docs-json
. This is optional.
Tools
set-working-directory Set the working context path for a session
get-item Get detailed information about a specific item or list items in a module/crate
list-crates List available crates in the workspace, including dependencies
Installation
Usage with Claude Desktop or gemini-cli
Add this to your MCP configuration JSON file: