
Mcp Docs Server
io.github.praveenc由 GitHub 帳號 praveenc 發布v0.1.0更新於 Oct 24, 2026
MCP server for searching MCP protocol documentation
概覽
本機 MCP 伺服器,讓助理以 BM25 排序搜尋並取得 modelcontextprotocol.io 上的 MCP 協定文件。
- 可以做什麼
- 依相關度搜尋 MCP 協定文件,可指定回傳筆數
- 依 URL 取得文件頁面的完整內容
- 回傳符合項目的標題、分數與摘要,並對標題、程式碼區塊與連結加權
- 適用情境
- 適合在開發或除錯 MCP 伺服器與用戶端時,讓助理直接在對話中查閱協定規格、傳輸方式、工具等文件內容。
- 執行需求
- 以本機 stdio 程序執行,通常透過 npx 啟動 npm 套件 @praveenc/mcp-docs-server(需要 Node.js),也可全域安裝。未宣告任何驗證、環境變數或標頭。取得文件需要連線至 modelcontextprotocol.io 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Docs Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MCP Docs Server
A Model Context Protocol (MCP) server for searching MCP protocol documentation. Built with TypeScript using the official MCP SDK.
Features
- BM25 Search - High-quality ranked search using BM25 algorithm with Porter stemming
- Fast Startup - Indexes document titles at startup, fetches content on-demand
- Markdown Aware - Weights headers, code blocks, and links for better relevance
- stdio Transport - Runs as a local process for easy integration
Installation
Quick Start (Recommended)
Add to your MCP client configuration (Claude Desktop, Kiro, etc.):
That's it! The server will be downloaded and run automatically.
Global Install
Then configure your MCP client:
Tools
search_mcp_docs
Search MCP protocol documentation with ranked results.
Parameters:
query(string, required): Search query stringk(number, optional): Maximum results to return (default: 5). Returns fewer if fewer documents match.
Example:
Returns:
fetch_mcp_doc
Fetch full document content by URL.
Parameters:
uri(string, required): Document URL from modelcontextprotocol.io
Example:
Returns:
Testing with MCP Inspector
Development
Clone the repository for local development:
Commands
Local MCP Client Config (Development)
Architecture
Search Algorithm
The search uses BM25 (Best Matching 25) with enhancements:
- Porter Stemming - Matches word variants (e.g., "running" → "run")
- Bigrams - Captures phrase matches (e.g., "tool input")
- Weighted Scoring:
- Title matches: 3-8x boost
- Header matches: 4x weight
- Code blocks: 2x weight
- Link text: 2x weight
- Domain Term Preservation - Technical terms like "mcp", "json", "stdio" are not stemmed
License
MIT
來源:README.md,提交 e0bb31d
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。