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

コメント

「メモリとナレッジ」の他のコンテンツ