agentdocs

السجل الرسمي أدوات المطورين

Fresh, source-verified docs for building MCP servers and Claude agents, for AI coding agents.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package mcp-agentdocs
Claude Code
claude mcp add agentdocs -- npx -y mcp-agentdocs@0.1.3
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "agentdocs": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-agentdocs@0.1.3"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. agentdocs
  2. Install & connect
  3. Tools
  4. What's covered (v1)
  5. Freshness
  6. Development
  7. License

agentdocs

Fresh, source-verified docs for building MCP servers and Claude agents — served straight to your AI coding agent over MCP.

Coding agents hallucinate on fast-moving APIs like the Model Context Protocol and the Claude Agent SDK: training data lags the spec, so you get plausible-but-wrong imports, deprecated patterns, and invented options. agentdocs is a local MCP server that gives your agent a curated, source-verified corpus to search instead of guessing.

  • 🔎 Three tools: list_topics, search_docs, get_doc
  • 📎 Every answer is attributed to its upstream source URL
  • 🏠 Runs locally over stdio — no account, no hosting, no data leaves your machine
  • ✅ Each doc carries a verified flag set only after human review against the source

Install & connect

Requires Node.js 18+.

Claude Code
claude mcp add agentdocs -- npx -y mcp-agentdocs@latest
Cursor / other MCP clients (mcp.json)
{
  "mcpServers": {
    "agentdocs": {
      "command": "npx",
      "args": ["-y", "mcp-agentdocs@latest"]
    }
  }
}

Then ask your agent things like "check agentdocs for how MCP stdio handles logging" or "search agentdocs for the Streamable HTTP session header" — it will call the tools and answer from the verified corpus.

Tools

ToolUse it to
list_topicsSee every curated doc, its topic, source URL, and verified status
search_docs(query, topic?)Get ranked, source-attributed snippets for a question
get_doc(id)Read the full verified markdown of one document

What's covered (v1)

The Model Context Protocol (spec 2025-11-25) and building MCP servers / Claude agents. Corpus grows over time; run list_topics for the current set.

Freshness

Every document records the date it was last verified against its primary source. Sources are diffed on a regular cadence; when one drifts, the affected doc is re-verified and a new version is published. Using mcp-agentdocs@latest (as above) keeps you on the current corpus. See CHANGELOG.md for what changed and when.

Development

npm install
npm run build      # tsc -> dist/
npm test           # vitest: retrieval, manifest integrity, unicode safety
npm run ingest     # refresh sources into corpus/_staging/ for human review

Curation is the point: npm run ingest fetches upstream sources for review but never silently overwrites a curated doc — a human diffs, promotes, and sets verified: true in corpus/manifest.json only after checking the content against its source. Run npm run check-freshness to flag docs that have drifted or are due for re-verification.

License

MIT

الأسئلة الشائعة

ما هو agentdocs؟

Fresh, source-verified docs for building MCP servers and Claude agents, for AI coding agents.

كيف أثبّت agentdocs؟

يعمل على جهازك. في Claude Code: claude mcp add agentdocs -- npx -y mcp-agentdocs@0.1.3. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج agentdocs إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل agentdocs مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون agentdocs؟

ينشره titov-d. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.