Rust Analyzer MCP
UnclaimedA Model Context Protocol (MCP) server that provides integration with rust-analyzer
Install
cargo install rust-analyzerSet up this server
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
11 of 11 tools
Documented tools (11)
From project documentation. A server handshake does not verify each tool’s description or behavior.
rust_analyzer_code_actions
Get available code actions (quick fixes, refactorings) for a range.
rust_analyzer_completion
Get code completion suggestions at a specific position.
rust_analyzer_definition
Find the definition of a symbol at a specific position.
rust_analyzer_diagnostics
Get diagnostics (errors, warnings, hints) for a specific file.
rust_analyzer_format
Format a Rust file using rust-analyzer's formatter. Returns an array of text edits to apply.
rust_analyzer_hover
Get hover information (documentation, type info) for a symbol at a specific position.
rust_analyzer_references
Find all references to a symbol at a specific position.
rust_analyzer_rename
Rename the symbol at a position, everywhere it is used in the workspace.
rust_analyzer_set_workspace
Change the workspace root directory.
rust_analyzer_symbols
Get all symbols (functions, structs, enums, etc.) in a file.
rust_analyzer_workspace_diagnostics
Get all diagnostics across the entire workspace.
Tool change history
FAQ
Questions about Rust Analyzer MCP Server
- How do I connect Rust Analyzer MCP Server to Claude?
- The listing records `cargo install rust-analyzer` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Desktop, Claude Code as compatible clients.
- Is Rust Analyzer MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Rust Analyzer MCP Server do?
- Rust Analyzer MCP Server documents 11 tools to the agent, including rust_analyzer_code_actions, rust_analyzer_completion, rust_analyzer_definition. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.