cursor-rust-tools
If you are the rightful owner of cursor-rust-tools and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Cursor Rust Tools is an MCP server that allows LLMs in Cursor to access Rust Analyzer, Crate Docs, and Cargo Commands, providing a UI for configuration.
Cursor Rust Tools addresses the limitations of AI agents in accessing Rust type information from the Language Server Protocol (LSP). By providing access to Rust Analyzer, Crate Docs, and Cargo Commands, it ensures that the LLM can retrieve up-to-date and accurate type information and documentation. This is crucial as AI models often rely on outdated training data, leading to potential errors. The tool offers a user interface for configuration, making it easier to manage projects and settings. It supports various functionalities such as retrieving crate documentation, hover information, symbol references, and cargo command outputs. The tool operates by spinning up a new Rust Analyzer instance to index the codebase and running `cargo docs` to parse documentation into markdown, stored locally for quick access.
Features
- Retrieve documentation for a crate or specific symbol.
- Get hover information for symbols in a file.
- List all references for a specific symbol.
- Retrieve the implementation of a symbol.
- Execute and get output from `cargo test` and `cargo check`.