mcp-rust-docs

mcp-rust-docs

32

The project is an MCP server designed to fetch and return documentation for Rust crates, making it useful for language learning models (LLMs) dealing with Rust. It integrates well with AI assistants and formats documentation for readability.

How do I start the MCP Rust Documentation Server?

You can start the server by running npm start in the terminal after installing the necessary dependencies.

What is the default crate used if no crate name is provided?

If no crate name is provided, the server defaults to fetching documentation for the 'tokio' crate.

How does the server handle large documentation content?

The server truncates the content if it exceeds 8000 characters to ensure the response is manageable.

What library is used to convert HTML to plain text?

The server uses the html-to-text library to convert HTML documentation to plain text.

Can I contribute to the MCP Rust Documentation Server?

Yes, contributions are welcome! You can submit a Pull Request on the project's GitHub repository.