
mosif16/doc-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
A Model Context Protocol (MCP) server written in Rust that provides seamless access to developer documentation from multiple sources directly within your AI coding assistant.
概要
A Model Context Protocol (MCP) server written in Rust that provides seamless access to developer documentation from multiple sources directly within your AI coding assistant. Build the Rust binary (requires Rust 1.76+): The server exposes a single unified query tool that automatically detects the appropriate provider and returns comprehensive documentation. Simply describe what you're looking for: The query tool automatically routes to the correct provider based on keywords: - : SwiftUI, UIKit, iOS, macOS, Foundation, CoreData, etc. - : std, tokio, serde, HashMap, Vec, async, etc. - : bot, sendMessage, getUpdates, webhook, etc. - : blockchain, wallet, jetton, tonapi, etc. - : confidential computing, TDX, attestation, etc. - : JavaScript, JS, DOM, fetch, promise, array, etc. - : hook, useState, useEffect, component, JSX, etc. - : nextjs, App Router, server component, etc. - : nodejs, fs, path, http, stream, etc. - : mlx, mlxarray, mlxnn, apple silicon, ml-explore, etc.
README
以下は原文 README の抜粋です。原文を見る。
Multi-Provider Documentation MCP Server
A Model Context Protocol (MCP) server written in Rust that provides seamless access to developer documentation from multiple sources directly within your AI coding assistant.
Supported Documentation Providers
| Provider | Description | Technologies |
|---|---|---|
| Apple | iOS/macOS development | SwiftUI, UIKit, Foundation, CoreML, Vision, and 60+ frameworks |
| Rust | Rust documentation | std, core, alloc + any crate from docs.rs |
| Telegram | Bot API documentation | Methods, types, and parameters |
| TON | Blockchain API | REST endpoints and schemas |
| Cocoon | Confidential computing | Architecture and smart contracts |
| MDN | Web development | JavaScript, TypeScript, Web APIs, DOM |
| Web Frameworks | Frontend/Backend | React, Next.js, Node.js |
| MLX | Apple Silicon ML | MLXArray, MLXNN, MLXOptimizers (Swift & Python) |
| Hugging Face | LLM/AI development | Transformers, swift-transformers, model cards |
Quick Start
Build the Rust binary (requires Rust 1.76+):
cargo build --release
Configure your MCP client:
{
"mcpServers": {
"docs-mcp": {
"command": "/absolute/path/to/target/release/docs-mcp-cli"
}
}
}
For local development:
cargo run -p docs-mcp-cli
Usage
The server exposes a single unified query tool that automatically detects the appropriate provider and returns comprehensive documentation.
Natural Language Queries
Simply describe what you’re looking for:
query { "query": "SwiftUI NavigationStack" }
query { "query": "Rust tokio spawn async" }
query { "query": "Telegram sendMessage parameters" }
query { "query": "JavaScript Array map filter" }
query { "query": "React useState hook" }
query { "query": "Next.js server components" }
query { "query": "Node.js fs readFile" }
How-To Queries
Ask implementation questions:
query { "query": "how to use SwiftUI NavigationStack" }
query { "query": "how to implement tab navigation in SwiftUI" }
Provider Auto-Detection
The query tool automatically routes to the correct provider based on keywords:
- Apple: SwiftUI, UIKit, iOS, macOS, Foundation, CoreData, etc.
- Rust: std, tokio, serde, HashMap, Vec, async, etc.
- Telegram: bot, sendMessage, getUpdates, webhook, etc.
- TON: blockchain, wallet, jetton, tonapi, etc.
- Cocoon: confidential computing, TDX, attestation, etc.
- MDN: JavaScript, JS, DOM, fetch, promise, array, etc.
- React: hook, useState, useEffect, component, JSX, etc.
- Next.js: nextjs, App Router, server component, etc.
- Node.js: nodejs, fs, path, http, stream, etc.
- MLX: mlx, mlxarray, mlxnn, apple silicon, ml-explore, etc.
- Hugging Face: huggingface, transformers, automodel, autotokenizer, etc.
What You Get
For each query, the tool returns:
- Full documentation content (not truncated summaries)
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"docs-mcp": {
"command": "/absolute/path/to/target/release/docs-mcp-cli"
}
}
}