Docfork Mcp
com.docfork由 docfork.com 发布官方发布者v1.3.3更新于 Oct 24, 2026
Up-to-date docs for AI. DEPRECATED: Use io.github.docfork/docfork instead.
概览
已弃用的文档查询 MCP 服务器,曾让编程助手搜索并获取最新的库文档;该服务已关停,端点均已下线
- 可以做什么
- 搜索库文档,返回带标题、链接和相关度评分的排序章节(search_docs)。按文档链接获取完整的渲染后 Markdown 内容(fetch_doc)。将公开或私有 GitHub 仓库索引为自定义库,使内部 API 和运维手册可被搜索。把搜索范围限定到项目声明的依赖,并在团队内对库版本进行固定。
- 适用场景
- 不适合新安装:README 说明该服务已于 2026 年 6 月 14 日关停,MCP 服务器、CLI 和所有托管端点均已离线。注册表描述将其标记为已弃用,并指向替代服务器。
- 运行要求
- 远程端点,或通过 stdio 运行的 npm 包 docfork。README 提到首次使用时登录或提供 DOCFORK_API_KEY 请求头,远程 HTTP 连接可使用 OAuth。这些现在都不可用:API 密钥已失效,安装命令会失败。
安装
在 SourceWeft 中
- 打开 控制台中的 Docfork Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.docfork%2Fdocfork-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"docfork": {
"type": "http",
"url": "https://mcp.docfork.com/"
}
}
}README
[!CAUTION] Docfork has shut down as of June 14, 2026. The MCP server, CLI, and all hosted endpoints are offline and will not return. API keys no longer work, and
npx dgrep setupwill fail. Thank you to everyone who used the service.
Up-to-date docs for AI coding agents.
AI agents hallucinate APIs, bloat context with stale docs, and write code against outdated signatures. Docfork serves up-to-date documentation directly in Cursor, Claude Code, and Windsurf.
Without Docfork
With Docfork
Get Started
Installs the Docfork MCP server in your IDE. Detects your installed agents and writes the config file; sign in to Docfork on first use, no API key needed. Target one with --agent claude-code (also: cursor, codex, opencode, vscode, windsurf, amp, factory, zed).
Your agent now has two tools:
No prompt suffix needed:
Or search from the terminal:
Quickstart → · dgrep docs → · CLI reference →
Your own docs
Index any public or private GitHub repository as a custom library. Your internal APIs, SDKs, and runbooks become searchable by your agents — same pipeline as public libraries. GitHub integration setup →
Teams
Free: 1,000 requests/month per organization. For team rollout, commit the MCP config to your repo:
Share API keys and Cabinets across your organization. Docfork doesn't store your code or prompts. Security → · Pricing →
MCP Setup
[!TIP] Run
npx dgrep setupto install automatically (use--agent claude-codeto target one). Manual config below for other clients.
Cursor — [Add to Cursor]
Claude Code
OpenCode
Don't see your client? Setup guides for all 29 supported clients →
OAuth Authentication
Docfork supports MCP OAuth specs. Change your endpoint to use OAuth:
Note: OAuth is for remote HTTP connections only. View full OAuth guide →
Agent Rule
Add a rule so your agent calls Docfork MCP automatically. Full rule and IDE-specific setup →
[!NOTE] Add Rule to Cursor (One-Click)
Claude Code — add to your CLAUDE.md:
Full rule (all clients)
FAQ
How is Docfork different from Context7? Both provide MCP servers and CLIs for searching library documentation. Here are the key differences:
- Stack scoping.
dgrep initreads yourpackage.jsonand scopes all searches to your declared dependencies. Cabinets let you version-pin those libraries across a team. - Resolve once, search many.
dgrep initresolves package names to canonical identifiers once and caches the mapping in.dgrep/config.json. No per-query resolution step. - Hybrid search. Semantic search and BM25 run in parallel, fused via Reciprocal Rank Fusion. AST-aware chunking preserves function boundaries.
Does Docfork store my code or prompts? Your code and prompts never leave your machine. At search time, only the query and library name are sent to Docfork — queries are not stored. Indexed documentation content lives in an upstream vector store; private library content is end-to-end encrypted and deleted atomically when you remove the library. Security →
What libraries are supported? Docfork maintains a curated catalog of popular frameworks. Add any public or private GitHub repository as a custom library. Add custom libraries →
Docs
Community
- Changelog
- X (Twitter)
- Found an issue? Open a GitHub issue or contact us.
Star History
License
MIT
来源:README.md,提交 3cb4ba2
工具
0版本历史
1- v1.3.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式必需10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分