Cursor Rust Tools MCP Server

A MCP server to allow the LLM in Cursor to access Rust Analyzer, Crate Docs and Cargo Commands.

Local serverstdio

What is the Cursor Rust Tools MCP Server?

A MCP server to allow the LLM in Cursor to access Rust Analyzer, Crate Docs and Cargo Commands.

What it actually does

  • Get the documentation for a crate or for a specific symbol in the crate (e.g. tokio or tokio::spawn)
  • Get the hover information (type, description) for a specific symbol in a file
  • Get a list of all the references for a specific symbol in a file
  • Get the implementation of a symbol in a file (retrieves the whole file that contains the implementation)
  • Find a type just by name in a file the project and return the hover information
  • Get the output of cargo test

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Frequently asked questions

It runs `cargo docs` locally, then parses the generated HTML documentation into markdown. This information is cached in the `.docs-cache` folder in the project root.