cursor-rust-toolsServer

terhechte
GitHub
RustDeveloper ToolsCode Analysis

Loading subscription status...

💡 Description

An MCP server that allows Cursor's LLM to access Rust Analyzer, Crate Docs, and Cargo Commands, providing functionalities such as fetching documentation for specific symbols or crates, obtaining type information, and executing cargo commands.

📝 JSON Entries

{
  "mcpServers": [
    {
      "cursor-rust-tools": {
        "env": {
          "CURSOR_HOME": "~/.cursor-rust-tools"
        },
        "args": [
          "--no-ui"
        ],
        "command": "cursor-rust-tools"
      }
    }
  ]
}

🛠️ Tools

Rust AnalyzerCargo

Features

  • Access to type information via LSP
  • Documentation retrieval for Rust symbols
  • Execution of cargo commands such as test and check

💬 Example Queries

  • Get the documentation for the symbol 'tokio'
  • List all references for the symbol 'tokio::spawn'
  • Execute 'cargo test' command for the project