rust_analyzer_format

MCP tool from Rust Analyzer MCP by zeenix

Format a Rust file using rust-analyzer's formatter. Returns an array of text edits to apply.

How to use it

Project documentation lists rust_analyzer_format for the Rust Analyzer MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Rust Analyzer MCP

$cargo install rust-analyzer
FULL RUST ANALYZER MCP LISTING