Skip to main content
Glama
laptou

Rust Docs MCP Server

by laptou

Rust ドキュメント MCP サーバー

docs.rsからRustドキュメントへのアクセスを提供するMCP(Model Context Protocol)サーバー。このサーバーにより、AIツールはドキュメント、型情報、機能フラグ、バージョン番号、シンボル定義/ソースコードを検索できます。

特徴

  • docs.rsでクレートを検索

  • 特定のクレートとバージョンのドキュメントを入手する

  • 型情報(構造体、列挙型、特性など)を取得します。

  • クレートの機能フラグを取得する

  • 利用可能なクレートのバージョンを取得する

  • 特定のアイテムのソースコードを取得する

  • 箱の中のシンボルを探す

Related MCP server: @sanderkooger/mcp-server-ragdocs

インストール

このプロジェクトは開発に Bun を使用していますが、構築したサーバーは Node.js でも実行できます。

# Clone the repository
git clone https://github.com/yourusername/rust-docs-mcp-server.git
cd rust-docs-mcp-server

# Install dependencies
bun install

建物

# Build the server
bun run build

これにより、コンパイルされた JavaScript ファイルを含むビルド ディレクトリが作成されます。

ランニング

# Run the development server
bun run dev

# Or run the built server
bun run start

MCPクライアントでの使用

このサーバーはモデルコンテキストプロトコル(MCP)を実装しており、あらゆるMCPクライアントで使用できます。MCPクライアントで使用するには、クライアントがこのサーバーに接続するように設定する必要があります。

利用可能なツール

サーバーは次のツールを提供します。

  • search_crates : docs.rs でクレートを検索

  • get_crate_documentation : 特定のクレートに関するドキュメントを取得する

  • get_type_info : 特定のアイテムの型情報を取得する

  • get_feature_flags : クレートの機能フラグを取得する

  • get_crate_versions : クレートに利用可能なバージョンを取得する

  • get_source_code : 特定のアイテムのソースコードを取得する

  • search_symbols : クレート内のシンボルを検索

テスト

# Run tests
bun test

ライセンス

マサチューセッツ工科大学

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/laptou/rust-docs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server