rust-docs-mcp-server
The Rust Docs MCP Server is an MCP server providing programmatic access to documentation and other information related to Rust crates hosted on docs.rs, aimed at AI integration. Notable features include retrieving documentation, type info, and search capabilities.
Rust Docs MCP Server
An MCP server providing access to Rust documentation from docs.rs. Key features include searching for crates, retrieving documentation, type information, feature flags, version numbers, and symbol definitions. Suitable for integration with any MCP client.
Features
- Search for crates on docs.rs
- Get documentation for specific crates and versions
- Get type information
- Get feature flags for crates
- Get available versions for crates
- Get source code for items
- Search for symbols in crates
Installation
The server uses Bun for development and can run with Node.js.
Building
Use Bun to build the server, creating a compiled JavaScript build.
Running
Run the server in development mode or start the built server using Bun.
Usage with MCP Clients
Configurable with any MCP client supporting the Model Context Protocol.
Testing
Run tests using Bun.