Rust Analyzer MCP
UnclaimedA Model Context Protocol (MCP) server that provides integration with rust-analyzer
Install
cargo install rust-analyzerUnclaimed 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 serverTools (16)
character
Character position (0-based)
end_character
End character position (0-based)
end_line
End line number (0-based)
file_path
Path to the Rust file
line
Line number (0-based)
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_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.
workspace_path
Path to the new workspace root