cursor-rust-tools
44
Cursor Rust Tools is an MCP server that allows AI agents in Cursor to access and interact with Rust codebases. It provides functionalities such as retrieving crate information, accessing hover data, and running cargo commands, all within the Model Context Protocol.
Cursor Rust Tools
An MCP server that enables LLM in Cursor to access Rust Analyzer, Crate Docs, and Cargo Commands.
Features
- Retrieve documentation for crates and symbols.
- Obtain hover information, references, and implementations for symbols in files.
- Execute
cargo test
andcargo check
commands.
Installation
Install via Cargo: cargo install --git https://github.com/terhechte/cursor-rust-tools
.
Usage
Run with UI: cursor-rust-tools
or without UI: cursor-rust-tools --no-ui
.
Configuration
Configure using ~/.cursor-rust-tools
to set project paths and ignore specific crates.
Configuring Cursor
Set up mcp.json
in project directories for Cursor integration.