
A MCP server for managing Rust documentation through cargo doc commands. This server provides tools
A MCP server for managing Rust documentation through cargo doc commands. This server provides tools to check, build, and search Rust documentation locally.
·
A MCP server for managing Rust documentation through cargo doc commands. This server provides tools to check, build, and search Rust documentation locally.
get_crate_doc - Get crate's main documentation page for understanding overall concepts and usage
project_path: Path to the Rust project (must be absolute path)crate_name: Name of the crate to get documentation forlist_symbols - List all symbols (structs, enums, traits, etc.) in a crate's documentation
project_path: Path to the Rust project (must be absolute path)crate_name: Name of the crate to list symbols forsearch_doc - Search within a crate's documentation
project_path: Path to the Rust project (must be absolute path)crate_name: Name of the crate to search inquery: Search query (keyword or symbol)limit (optional): Maximum number of results to return (default: 10)Install dependencies:
pnpm installBuild the server:
pnpm run buildFor development with auto-rebuild:
pnpm run watchAdd the following configuration:
{
"mcpServers": {
"docs-rs-mcp": {
"command": "/absolute/path/to/docs-rs-mcp/build/index.js"
}
}
}Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
pnpm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
The server maintains a cache of built documentation paths to improve performance. Cache entries expire after 24 hours to ensure documentation stays up-to-date.
MIT
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add docs-rs-mcp -- /absolute/path/to/docs-rs-mcp/build/index.js{
"mcpServers": {
"docs-rs-mcp": {
"command": "/absolute/path/to/docs-rs-mcp/build/index.js"
}
}
}code --add-mcp '{"name":"docs-rs-mcp","command":"/absolute/path/to/docs-rs-mcp/build/index.js"}'[mcp_servers.docs-rs-mcp]
command = "/absolute/path/to/docs-rs-mcp/build/index.js"Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/cargo-doc-mcp-server to learn what the "cargo doc MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/cargo-doc-mcp-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "cargo-doc-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.