/rust-analyzer-mcp:rust-analyzer-mcp-setupfrom rust-analyzer-mcp
Install or repair rust-analyzer and the local rust-analyzer-mcp server, then make the server available through this plugin. Use when the server is missing, disconnected, or newly installed.
Ships in rust-analyzer-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The plugin starts the rust-analyzer-mcp executable as a local stdio server.
When the user asks for setup, check the existing toolchain, install only
missing prerequisites, and verify the MCP connection.
rustup show, cargo --version, rust-analyzer --version,
and rust-analyzer-mcp --help. On Windows use Get-Command to locate the
executables; on macOS/Linux use command -v.If rustup is missing, install it from the official instructions for the user's
operating system. Preserve existing toolchain overrides and settings. Add the
rust-analyzer and rust-src components to the toolchain used by the workspace, then install
the selected server release:
rustup component add rust-analyzer rust-src
cargo install rust-analyzer-mcp --version 0.4.0 --locked
If no Rust toolchain is installed, select a stable toolchain with rustup before
adding the component. Do not overwrite an existing rust-toolchain.toml,
project override, or Cargo configuration as a generic setup step.
The plugin already registers the stdio MCP server. Do not also run codex mcp add or claude mcp add for the same server. After installation, open a fresh
chat (or restart Claude Code), confirm the server in /mcp, set the intended workspace with
rust_analyzer_set_workspace, and make a harmless read-only call.
Report toolchain, component, server executable, MCP connection, and callable
tool checks separately. If the shell sees rust-analyzer-mcp but the host
(Codex or Claude Code) does not, refresh the host process or follow the
reference to set the full executable path in a host-supported MCP
configuration. A shell check alone does not prove the host loaded the server.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub wayzer107/rpfm-plugin --plugin rust-analyzer-mcp