Rust Analyzer MCP
未认领A Model Context Protocol (MCP) server that provides integration with rust-analyzer
安装
cargo install rust-analyzer更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
11 个工具中显示 11 个
文档中列出的工具 (11)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
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.