Back to Home
46ki75 icon

mcp-rust-docs

Verified Safe

by 46ki75

Overview

This server provides AI agents with tools to search for Rust crates on crates.io and retrieve detailed documentation from docs.rs.

Installation

Run Command
pnpx mcp-rust-docs@latest

Security Notes

The server primarily performs HTTP GET requests to public APIs (crates.io, docs.rs) and parses the HTML/JSON responses. It uses standard Rust libraries (`reqwest`, `crates_io_api`, `scraper`, `html2md`, `tantivy`). There are no signs of direct command execution, `eval` usage, hardcoded secrets, or obfuscation. User inputs for crate names, versions, and paths are used to construct URLs for docs.rs; while direct injection is mitigated by the nature of HTTP GET and docs.rs's expected handling of invalid paths, it's good practice to ensure inputs are well-formed. The fuzzy search uses a temporary directory for its index, which is a secure practice.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3500
Stars0
Forks2
Last Update2026-01-16

Tags

RustDocumentationCrates.ioDocs.rsAPI