Back to Home
Govcraft icon

rust-docs-mcp-server

Verified Safe

by Govcraft

Overview

Provides up-to-date Rust crate documentation via semantic search and LLM summarization to AI coding assistants.

Installation

Run Command
rustdocs_mcp_server "serde@^1.0"

Environment Variables

  • OPENAI_API_KEY
  • EMBEDDING_MODEL
  • LLM_MODEL
  • OPENAI_API_BASE

Security Notes

The server relies on the `cargo` library to download and generate documentation for specified crates, which entails fetching code from crates.io. While standard for Rust, this introduces a dependency on the security of the crate ecosystem. It also interacts with the OpenAI API, requiring an API key, which must be secured by the user. There are no obvious signs of arbitrary code execution ('eval' equivalents) or hardcoded secrets in the provided source code, and network access is limited to necessary external APIs and crate registries.

Similar Servers

Stats

Interest Score67
Security Score8
Cost ClassLow
Avg Tokens2600
Stars219
Forks31
Last Update2025-11-24

Tags

RustLLMDocumentationMCPSemantic Search