MCPVault

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

rust_analyzer_format is exposed by the Rust Analyzer MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the rust_analyzer_format tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Rust Analyzer MCP

$cargo install rust-analyzer
FULL RUST ANALYZER MCP LISTING