MCP.so
登录

Rust Docs MCP Server

@laptou

关于 Rust Docs MCP Server

暂无概览

基本信息

分类

记忆与知识

运行时

node

传输方式

stdio

发布者

laptou

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "rust-docs-mcp-server-laptou": {
      "command": "bun",
      "args": [
        "run",
        "build"
      ]
    }
  }
}

工具

7

Search for crates on docs.rs

Get documentation for a specific crate

Get type information for a specific item

Get feature flags for a crate

Get available versions for a crate

Get source code for a specific item

Search for symbols within a crate

概览

What is Rust Docs MCP Server?

An MCP (Model Context Protocol) server that provides access to Rust documentation from docs.rs. It allows AI tools to search for documentation, type information, feature flags, version numbers, and symbol definitions/source code.

How to use Rust Docs MCP Server?

Clone the repository, install dependencies with bun install, build with bun run build, and run with bun run dev (development) or bun run start (built). Then configure any MCP client to connect to this server. The server exposes multiple tools such as search_crates, get_crate_documentation, and get_source_code.

Key features of Rust Docs MCP Server

  • Search for crates on docs.rs
  • Get documentation for specific crates and versions
  • Get type information (structs, enums, traits, etc.)
  • Get feature flags for crates
  • Get available versions for crates
  • Get source code for specific items

Use cases of Rust Docs MCP Server

  • Allow AI assistants to answer questions about Rust crate APIs
  • Retrieve accurate type definitions and feature flags for library usage
  • Help developers select the correct crate version for a project
  • Enable AI tools to fetch source code for debugging or learning
  • Support symbol search

评论

记忆与知识 分类下的更多 MCP 服务器