Rust Cargo Docs RAG MCP
rust-cargo-docs-rag-mcp is an MCP (Model Context Protocol) server that provides tools for Rust crate documentation lookup. It allows LLMs to look up documentation for Rust crates they are unfamiliar with.
This README focuses on how to build, version, release, and install the project using two common paths:
- pkgx (build/install locally from source)
- Docker image (published to GitHub Container Registry — GHCR)
Release / Versioning workflow (maintainers)
git clone https://github.com/promptexecution/rust-cargo-docs-rag-mcp.git
cd rust-cargo-docs-rag-mcp
cargo build --release
cargo install --path .
# Or install the pkgx-managed binary and check its version
just install-pkgxInstalling with pkgx
The repository includes a mini pkgx pantry so you can build and run the CLI through pkgx without touching your global toolchain:
git clone https://github.com/promptexecution/rust-cargo-docs-rag-mcp.git
cd rust-cargo-docs-rag-mcp
export PKGX_PANTRY_PATH=$PWD/pkgx
export PKGX_PANTRY_DIR=$PWD/pkgx # pkgx^2 compatibility
pkgx cratedocs version





