R

Rust Docs

Fetches and returns Rust crate documentation from docs.rs, providing essential context for working with Rust code.

Rust·No reviews yet
Repo
Share:

About

Fetches and returns Rust crate documentation from docs.rs, providing essential context for working with Rust code.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

create_task
Create a new task
list_tasks
List tasks with filters
update_task
Update fields of an existing task

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Rust Docs.

What is the primary function of the Rust Docs MCP?
The Rust Docs MCP retrieves and presents Rust crate documentation directly from docs.rs. It aims to provide developers with essential context when working with Rust code, integrating documentation retrieval into their workflow.
How can I install the Rust Docs MCP in a client like Cline?
Installation in Cline typically involves adding the MCP's repository URL to your client's configuration. You would then use the client's interface to discover and enable the Rust Docs MCP, making its documentation retrieval tools available locally.
Does the Rust Docs MCP require an API key or other credentials?
No, the Rust Docs MCP does not require an API key, OAuth, or any other credentials for its operation. It accesses publicly available documentation on docs.rs directly.
What specific documentation capabilities does this MCP offer?
The Rust Docs MCP provides the ability to fetch and display Rust crate documentation. This includes information about crates, modules, functions, and types, as hosted on docs.rs.
Are there any known limitations or prerequisites for using the Rust Docs MCP?
A key prerequisite for using the Rust Docs MCP is an active internet connection to access docs.rs. It relies on the availability and structure of documentation on docs.rs, and cannot fetch documentation for crates not hosted there.

Install Rust Docs

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "rust-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rust-docs"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "rust-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rust-docs"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "rust-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rust-docs"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.