Atlas / MCP servers / agentskit-io / doc-bridge

doc-bridgeCAUTION

mcp/agentskit-io/doc-bridge

Portable doc bridge for AI agents — OKF + Self-Describe + AgentHandoff. CLI, MCP, Fumadocs/Docusaurus adapters.

Verdict
CAUTION
Grade
C
Trust score
79 /100
Exposed tools
30 21r · 9w · 0d
Transport
—
License
MIT
Stars
9
01

Overview

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

[](https://www.npmjs.com/package/@agentskit/doc-bridge) [](https://github.com/AgentsKit-io/doc-bridge/actions/workflows/ci.yml) [](https://doc-bridge.agentskit.io/) [](https://www.bestpractices.dev/projects/13872) [](LICENSE) [](package.json) [](dist/index.d.ts)

npm: `@agentskit/doc-bridge` · CLI: ak-docs · Landing: agentskit-io.github.io/doc-bridge

Topics: ai-agents · documentation · developer-experience · mcp · llms-txt · typescript

Compatibility: node >=22 · TypeScript 5.8+ · pnpm, npm, or yarn consumers

Deterministic proof of documentation drift, with evidence-linked handoffs for coding agents.

Turn your docs into executable handoffs: doc-bridge reads your repo docs, ownership map, and human documentation site, then gives humans and agents the same evidence-linked starting point:

  • where to start reading
  • which files/packages it may edit
  • which checks prove the change
  • which human docs explain the feature

The core works without any LLM or API key; the documentation portal dogfoods AgentsKit Chat as an optional surface over that deterministic layer.

Built

Read from source at commit 2fba43664f01OBSERVED · 2026-10-12
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
claude mcp add doc-bridge-signature-fixture --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env OPENAI_API_KEY=${OPENAI_API_KEY} --env OPENROUTER_API_KEY=${OPENROUTER_API_KEY} -- npx -y doc-bridge-signature-fixture
claude-desktop
{
  "mcpServers": {
    "doc-bridge-signature-fixture": {
      "command": "npx",
      "args": [
        "-y",
        "doc-bridge-signature-fixture"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
        "OPENAI_API_KEY": "${OPENAI_API_KEY}",
        "OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}"
      }
    }
  }
}
03

Exposed tools (30)

21 read · 9 write · 0 destructive.

ToolRiskDescription
areareadOne page per code area: purpose, modules, documents, related areas, checks and open findings
change-digestreadEntities and documents whose content hash moved since the last scan, and the documents that should have moved with them
content-fact-checkerreadFact Checker — typed output agent (draft spec).
content-style-guide-enforcerreadStyle Guide Enforcer — typed output agent (draft spec).
doc.getreadUse after doc.search or handoff.resolve to read one cited document in full, by its indexed id or path. Fails for ids or paths that are not in the index.
doc.searchreadUse first for questions about how the repository works, its contracts, architecture, decisions or ownership, before broad grep. Returns ranked indexed documents and entities with their ids, types and paths.
docbridge.diagnosticsreadRead bounded diagnostics from the latest canonical reconciliation report.
docbridge.proposalsreadPrepare and revalidate region remediations; human approval and application use the local CLI.
docbridge.relationsreadRead bounded observed and declared relations from the latest canonical snapshot.
docbridge.reportwriteRead the canonical reconciliation report from the latest workflow run.
docbridge.runwriteRead the latest resumable workflow state and artifact references.
docbridge.snapshotwriteRead the bounded canonical repository snapshot from the latest workflow run.
ecosystem-doc-bridge-corpus-scannerreadScans doc-bridge corpus listings into typed path/staleness report.
gate.statusreadEvaluate documentation gates without writing files.
handoff.resolvereadUse when changing a package or handing off its ownership: returns the deterministic AgentHandoff for a package id or an ownership id, with start-here documents, edit roots and checks.
knowledge.lookupreadReturn an entity with its neighbours by relation kind, the documents about it, its handoff, its open diagnostics and its evidence, within a token budget.
knowledge.searchreadRank every indexed entity for a query, optionally by kind, with an explanation and within a token budget.
llms.txtwriteThe curated reading order for agents, as
memory.classifyreadClassify local memory candidates into agent, human, playbook, or discard routes.
memory.promoteDraftreadBuild a reviewable draft promotion body from local memory candidates without publishing it.
overlay-reviewreadPending agent proposals with their evidence, for a human to judge
ownershipwriteOne sidecar per ownership record: where to start, what to read, what to run
registry.topologyreadReturn the static Doc Bridge curator and delegate topology.
repo_listreadList public source paths, optionally containing a substring.
repo_readwriteRead a public source file with line numbers. Start at a one-based line; at most 100 lines.
repo_searchreadFind literal text in public sources. Optional path substring; returns at most 30 matching lines.
retriever.queryreadReturn relevant local Doc Bridge index chunks for a query.
submit_corpus_scannerwriteSubmit corpus scan report. Call exactly once.
submit_fact_checkerwriteSubmit result. Once.
submit_guide_enforcerwriteSubmit result. Once.
04

Trust audit

CAUTIONgrade C · trust 79/100 Install with care. The audit found things worth knowing before you trust its output.

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

What the source does

Filesystem
declared (2 observation(s))
Network
declared (4 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
playwright.config.ts:4
const baseURL = `http://127.0.0.1:${port}`
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/smoke-ollama.mjs:23
const res = spawnSync('curl', ['-sf', 'http://127.0.0.1:11434/api/tags'], { encoding: 'utf8' })
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/smoke-ollama.mjs:47
if (!ollamaUp()) skip('Ollama not running at http://127.0.0.1:11434 — start with: ollama serve')
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/enrich/context-pack.ts:229
if (raw !== undefined && sha256NormalizedV1(raw.replace(/^/, '')) === entity.evidence[0].contentHash) {
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/render/generated.ts:69
const lines = content.replace(/^/, '').split(/\r?\n/)
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/retrieval/project.ts:319
if (raw !== undefined && (!hash || sha256NormalizedV1(raw.replace(/^/, '')) === hash || entity.metadata?.markdownSyntax === 'obsidian' && sha256NormalizedV1(raw) === hash)) bodyText = extractSearchBod
LOWInventory / provenance · inv.hidden_file · CWE-1104
.cross-platform-baseline.json
.cross-platform-baseline.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.impeccable.md
.impeccable.md
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
mcpb/.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.suspicious_name · CWE-1104
docs/landing/assets/context-payload-reduction.svg
context-payload-reduction.svg
Why it matters. member named after an attack tool
Fix. remove or justify
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/html-report.test.ts:83
expect(() => new Function(script as string)).not.toThrow()
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/docs/app/page.tsx:30
const sourceCount = readdirSync(resolve(process.cwd(), '../../docs'), { recursive: true })
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/docs/components/site-footer.tsx:1
import ecosystem from '../../../ecosystem.json'
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/docs/source.config.ts:6
dir: '../../docs',
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/discovery/facts/cli.ts:5
import type { DiscoverySnapshotV1, Evidence } from '../../schemas/knowledge.js'
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/discovery/facts/cli.ts:6
import { surfaceFactEntityId, type SurfaceFact } from '../../storage/facts.js'
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/ollama-demo.md:35
baseUrl: 'http://127.0.0.1:11434',
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/ollama-chat.config.ts:28
baseUrl: 'http://127.0.0.1:11434',
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
tests/incremental.test.ts:130
expect(markdownContentHash('# Overview\n')).toBe(markdownContentHash('# Overview\n'))
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@agentskit/cross-platform, @agentskit/net, github-slugger, graphology, graphology-communities-louvain, graphology-dag, graphology-metrics, graphology-shortest-path
Why it matters. 28 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
PRIVACY.md:26
The local MCP server does not send project data to AgentsKit or another model provider and requires no API key. Claude Desktop receives tool results as the MCP client selected by the user; Anthropic's
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
README.md:446
The local MCP server reads only the project selected through `doc-bridge.config.json`. It does not require an API key, send project data to AgentsKit, collect telemetry, or write project files through
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
INFOInventory / provenance · inv.oversize · CWE-1104
docs/study/observation-ledger-v1.json
docs/study/observation-ledger-v1.json
Why it matters. 1156766 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/study/round-1-adjudicated-smoke-v1.json
docs/study/round-1-adjudicated-smoke-v1.json
Why it matters. 1157144 bytes not read
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/MARKETPLACE.md:134
| `pull_request_target` | Never execute or load head code with write credentials | Prefer a separate trusted publisher consuming only bound bounded artifacts. |
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 2fba43664f01full audit observations/trust-audit/mcp-server/agentskit-io__doc-bridge.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-122fba43664f01CAUTIONC79first audit
06

Questions

What is the @agentskit/doc-bridge MCP server?

Portable doc bridge for AI agents — OKF + Self-Describe + AgentHandoff. CLI, MCP, Fumadocs/Docusaurus adapters.

What tools does @agentskit/doc-bridge expose?

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

Is @agentskit/doc-bridge safe to connect to an agent?

With care. The audit graded it C (79/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does @agentskit/doc-bridge need?

It reads ANTHROPIC_API_KEY, OPENAI_API_KEY and OPENROUTER_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 current is this page?

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

Advertisement