Atlas / MCP servers / docfork / Docfork

DocforkBLOCK

mcp/docfork/docfork-1

Docfork - Up-to-date docs for AI Coding Agents.

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
3 3r · 0w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
487
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[!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 setup will 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

app.use('/api/*', jwt({ secret: ... }))
-                       ^^^ removed in Hono v4

With Docfork

app.use('/api/*', bearerAuth({ verifyToken: ... }))
+                       ^^^ current API, Hono v4.2

Get Started

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:

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
Read from source at commit 01d13189ca6aOBSERVED · 2026-10-02
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add docfork -- npx -y [email protected]
03

Exposed tools (3)

3 read · 0 write · 0 destructive.

ToolRiskDescription
DocforkreadGets the latest documentation and code examples for any library.
fetch_docread
search_docsread
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (17)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/dgrep/src/lib/device-flow.ts:125
exec(`${cmd} "${url}"`, () => {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-manifest.json
.release-please-manifest.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
packages/dgrep/.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
packages/mcp/.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/release.yml:108
#         ../../mcp-publisher publish
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/dgrep/test/commands/add.test.ts:23
const { add } = await import("../../src/commands/add.js");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/dgrep/test/commands/add.test.ts:40
const { add } = await import("../../src/commands/add.js");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/dgrep/test/commands/add.test.ts:56
const { add } = await import("../../src/commands/add.js");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/dgrep/test/commands/add.test.ts:66
const { add } = await import("../../src/commands/add.js");
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
prettier, turbo, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/dgrep/package.json
smol-toml, @clack/prompts, @types/yargs, msw, obuild, picocolors, vitest, yargs
Why it matters. 8 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/mcp/package.json
dotenv, jose, concurrently
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/sdk/package.json
@hey-api/openapi-ts, @types/node, eslint-plugin-n, prettier, publint, tsdown, tsx, typescript
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.fetch_and_trust · CWE-94, CWE-1427
packages/mcp/README.md:40
If you prefer to configure MCP manually, get a free API key at **[docfork.com](https://app.docfork.com/signup)** (1,000 requests/month, 5 team seats) and follow the instructions for your client below.
Why it matters. remote text is to be obeyed as instructions
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:85
Share API keys and [Cabinets](https://docfork.com/docs/cabinets) across your organization. Docfork doesn't store your code or prompts. [Security →](https://docfork.com/security) · [Pricing →](https://
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
packages/mcp/README.md:1199
Free: 1,000 requests/month. Share API keys and Cabinets across your organization. [Security →](https://docfork.com/security) · [Pricing →](https://docfork.com/pricing)
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-02 · audit v0.4.1 · source sha 01d13189ca6afull audit observations/trust-audit/mcp-server/docfork__docfork-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0201d13189ca6aBLOCKD69first audit
06

Questions

What is the Docfork MCP server?

Docfork - Up-to-date docs for AI Coding Agents.

What tools does Docfork expose?

3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Docfork safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does Docfork need?

It reads CLIENT_IP_ENCRYPTION_KEY and DOCFORK_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Docfork run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @docfork/sdk at 0.0.1.

How current is this page?

The grade is for one exact copy of the source (01d13189ca6a), read on 2026-10-02. The repository is watched and re-audited when it changes.

Advertisement