hubdocs
Integrates with Hermes to query architecture documentation hubs, providing tools for listing IDs, retrieving elements, checking dependencies, validating links, routing topics, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hubdocsShow me the orphans in the architecture docs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hubdocs
Local MCP for arc42 × C4 docs hubs: index architecture/product IDs, deps, orphans, broken links, and chapter routing — so agents query the hub without dumping whole trees.
Indexes and validates Markdown only — does not replace Structurizr or diagram renderers.
GitHub: raintr91/hubdocs
Init (agents): docs/INIT.md
Package bootstrap: docs/INSTALL.md
Independence
Hubdocs owns the architecture authoring harness (/architecture family +
/hubdocs) and the docs ID/graph tools. ArtifactGraph is an optional
accelerator for registries/tags/parity only.
Hubdocs never requires ArtifactGraph.
ArtifactGraph must not index or own architecture Markdown.
Missing ArtifactGraph falls back to targeted local reads and emits one deduplicated
hubdocs.missing-optionalevent per run/optional with measuredfileReadsandcontextBytes; token usage is not estimated.Missing Hubdocs MCP never blocks Markdown authoring: use repository search and targeted file reads.
Related MCP server: Documentation MCP Server
What it does
Công dụng | Chi tiết |
ID index | Liệt kê LND / CTX / CTR / CMP / FLOW / DEP / ADR / W / API / UI từ MD |
Slice theo ID | Mở file + excerpt cho một phần tử — không load cả cây docs |
Deps / dependents | Ai tham chiếu ID này / ID này tham chiếu ai |
Catalog health | Orphans (thiếu FLOW/ADR/CMP), broken MD links |
Routing | Topic → chương arc42 + skill gợi ý |
Journeys | Liệt kê |
Quick start
Linux / WSL
curl -fsSL https://raw.githubusercontent.com/raintr91/hubdocs/main/install.sh | bash
hubdocs version
cd /path/to/your/docs-hub # thư mục có architecture/
hubdocs init --location=local --yes
# hubdocs init # interactive; local is the defaultWindows
irm https://raw.githubusercontent.com/raintr91/hubdocs/main/install.ps1 | iexRequires Node ≥ 22.
Local init lấy docs root theo thứ tự --docs-root → HUBDOCS_ROOT → cwd có
architecture/. Không có sibling fallback hay package-global root marker.
Global wiring phải dùng --location=global. Không truyền --docs-root thì MCP
global là rootless và mỗi tool call phải truyền docsRoot.
Sau init: restart agent → thử tool hubdocs_list_ids.
Update
Cùng lệnh cài — ghi đè ~/.hubdocs + symlink CLI:
curl -fsSL https://raw.githubusercontent.com/raintr91/hubdocs/main/install.sh | bash
hubdocs versionPin bản cụ thể:
HUBDOCS_REF=v1.0.2 curl -fsSL https://raw.githubusercontent.com/raintr91/hubdocs/v1.0.2/install.sh | bashWindows: chạy lại irm …/install.ps1 | iex.
Sau update: nếu đổi wire MCP thì cd docs hub → hubdocs init --location=local --yes
rồi restart agent.
Uninstall: curl -fsSL …/install.sh | bash -s -- --uninstall
Commands
Step | CLI |
Install / update package |
|
Wire agents (local default) |
|
Explicit rootless global MCP |
|
Print MCP snippet |
|
Install Cursor skill/rule/hooks |
|
Inspect managed harness assets |
|
Preview/remove stale managed assets |
|
Version / paths |
|
install = deprecated alias của init.
Harness installs record direct-copy Hubdocs assets in
.hubdocs/install-manifest.json. Upgrades preserve locally modified managed
files unless --force is passed. Assets removed from a newer package become
stale; prune is a dry run, and prune --yes deletes only stale files whose
hash still matches the installed copy. Shared merged
.cursor/extracts/extract-registry.json and platform-repos.json are never
claimed or pruned. The Hubdocs-owned optional fallback schema is installed at
.cursor/schemas/hubdocs/missing-optional-event.schema.json and follows the
same managed lifecycle.
Agents hỗ trợ: Claude · Cursor · Codex · opencode · Hermes · Gemini · Antigravity · Kiro · Kilo.
MCP tools
Tool | Purpose |
| List LND/CTX/CTR/CMP/FLOW/DEP/ADR/W/API |
| Files + excerpt for one ID |
| IDs referenced from that element’s files |
| IDs that mention this ID |
| Missing canonical FLOW/ADR/CMP paths; catalog draft/TBD |
| Broken MD links under architecture (+ product) |
| Topic → arc42 chapter + skill |
| List |
| Canonical paths per ID kind + ignored redirect stubs |
Manual Cursor snippet: mcp.cursor.example.json. Ưu tiên hubdocs init sau install.sh.
Docs root: tool docsRoot → project MCP HUBDOCS_ROOT → valid cwd → setup
error. Hub phải có architecture/.
Redirect stubs (old flat C4) bị bỏ qua khi index. DYN-* không còn được index — dùng FLOW-*.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceScrapes and indexes documentation websites to provide AI assistants with searchable access to documentation content, API references, and code examples through configurable URL crawling.Last updated
- AlicenseAqualityCmaintenanceEnables AI assistants to navigate and query hierarchical documentation structures, supporting markdown files with YAML metadata and OpenAPI 3.x specifications. It features intelligent full-text search, metadata filtering, and a built-in web interface for both human and AI-driven documentation access.Last updated6MIT
- Alicense-qualityAmaintenanceIndexes GitHub repositories and provides living documentation context to coding agents, enabling them to ground work in actual repository conventions and propose doc updates.Last updated1392MIT
- Alicense-qualityBmaintenanceProvides up-to-date documentation for AI agents by locally querying a community-driven registry of pre-built docs packages.Last updatedApache 2.0
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/raintr91/hubdocs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server