GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Up-to-date docs for AI. DEPRECATED: Use io.github.docfork/docfork instead.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.docfork.com打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": [
"-y",
"docfork"
]
}
}
}在终端中运行这条命令
claude mcp add --transport http docfork https://mcp.docfork.comclaude mcp add docfork -- npx -y docfork粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"docfork": {
"url": "https://mcp.docfork.com"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": [
"-y",
"docfork"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"docfork": {
"type": "http",
"url": "https://mcp.docfork.com"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"docfork": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"docfork"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.docfork.com菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 docfork.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(1.3.3)于10个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
[!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.
app.use('/api/*', jwt({ secret: ... }))
app.use('/api/*', bearerAuth({ verifyToken: ... }))
npx dgrep setup
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:
| Tool | Returns |
|---|---|
search_docs | Ranked documentation sections with titles, URLs, and relevance scores. |
fetch_doc | Full rendered markdown content from a documentation URL. |
No prompt suffix needed:
Set up server-side rendering with Next.js App Router.
Or search from the terminal:
dgrep search "middleware redirect based on authentication" -l vercel/next.js
dgrep search "server actions with forms" -l vercel/next.js
Quickstart → · dgrep docs → · CLI reference →
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 →
Free: 1,000 requests/month per organization. For team rollout, commit the MCP config to your repo:
// .cursor/mcp.json (committed to git, picked up by every engineer)
{ "mcpServers": { "docfork": { "url": "https://mcp.docfork.com/mcp", "headers": { "DOCFORK_API_KEY": "YOUR_TEAM_API_KEY" } } } }
Share API keys and Cabinets across your organization. Docfork doesn't store your code or prompts. Security → · Pricing →
[!TIP]
Run
npx dgrep setupto install automatically (use--agent claude-codeto target one). Manual config below for other clients.
Cursor —
{
"mcpServers": { "docfork": { "url": "https://mcp.docfork.com/mcp", "headers": { "DOCFORK_API_KEY": "YOUR_API_KEY" } } } }
Claude Code
claude mcp add --transport http docfork https://mcp.docfork.com/mcp/oauth
OpenCode
{
"mcp": { "docfork": { "type": "remote", "url": "https://mcp.docfork.com/mcp", "headers": { "DOCFORK_API_KEY": "YOUR_API_KEY" }, "enabled": true, }, }, }
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:
- "url": "https://mcp.docfork.com/mcp"
_Note: OAuth is for remote HTTP connections only. View full OAuth guide →_
Add a rule so your agent calls Docfork MCP automatically. Full rule and IDE-specific setup →
[!NOTE]
[Add Rule to Cursor (One-Click)](https://cursor.com/link/rule?name=docfork-policy&text=When%20writing%20or%20debugging%20code%20that%20involves%20third-party%20libraries%2C%20frameworks%2C%20or%20APIs%2C%20use%20Docfork%20MCP%20%60search_docs%60%20and%20%60fetch_doc%60%20tools%20rather%20than%20relying%20on%20training%20data.%0A%0A%2A%2ATwo%20defaults%20to%20follow%20every%20time%3A%2A%2A%0A-%20Start%20%60library%60%20with%20a%20short%20name%20or%20keyword%20%28e.g.%2C%20%60nextjs%60%2C%20%60zod%60%29.%20Use%20the%20%60owner%2Frepo%60%20from%20the%20result%20URL%20for%20follow-up%20calls%2C%20never%20guess%20it%20upfront.%0A-%20After%20finding%20a%20relevant%20result%2C%20call%20%60fetch_doc%60%20to%20get%20the%20full%20content.%20Search%20results%20are%20summaries%20only.%0A%0ASkip%20Docfork%20when%3A%0A-%20Language%20built-ins%2C%20general%20algorithms%2C%20syntax%20stable%20across%20versions%0A-%20Code%20or%20docs%20the%20user%20has%20already%20provided%20in%20context%0A%0AWhen%20uncertain%2C%20default%20to%20using%20Docfork.)
Claude Code — add to your CLAUDE.md:
## Docfork policy
Use Docfork MCP search_docs and fetch_doc tools for library/API docs, setup, and configuration questions.
library with a short name or keyword (e.g., nextjs, zod). Use the owner/repo from the result URL for follow-up calls, never guess it upfront.fetch_doc to get the full content. Search results are summaries only.
Full rule (all clients)
When writing or debugging code that involves third-party libraries, frameworks, or APIs, use Docfork MCP `search_docs` and `fetch_doc` tools rather than relying on training data.
Two defaults to follow every time:
library with a short name or keyword (e.g., nextjs, zod). Use the owner/repo from the result URL for follow-up calls, never guess it upfront.fetch_doc to get the full content. Search results are summaries only.Skip Docfork when:
When uncertain, default to using Docfork.
How is Docfork different from Context7? Both provide MCP servers and CLIs for searching library documentation. Here are the key differences:
dgrep init reads your package.json and scopes all searches to your declared dependencies. Cabinets let you version-pin those libraries across a team.dgrep init resolves package names to canonical identifiers once and caches the mapping in .dgrep/config.json. No per-query resolution step.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 →
MIT