hubdocs

hubdocs

Indexes and validates architecture documentation hubs, enabling agents to query IDs, dependencies, orphans, and broken links without loading the full doc tree.

Category
Visit Server

README

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.


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ê FLOW-* dưới 06-runtime/journeys/

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 --yes           # ↑↓ · Space nếu bỏ --yes

Windows

irm https://raw.githubusercontent.com/raintr91/hubdocs/main/install.ps1 | iex

Requires Node ≥ 22.

init tự lấy cwd làm HUBDOCS_ROOT. Chỉ cần --docs-root=… khi chạy từ chỗ khác.

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 version

Pin bản cụ thể:

HUBDOCS_REF=v0.1.0 curl -fsSL https://raw.githubusercontent.com/raintr91/hubdocs/v0.1.0/install.sh | bash

Windows: chạy lại irm …/install.ps1 | iex.

Sau update: nếu đổi wire MCP thì cd docs hub → hubdocs init --yes rồi restart agent.

Uninstall: curl -fsSL …/install.sh | bash -s -- --uninstall


Commands

Step CLI
Install / update package curl …/install.sh | bash
Wire agents (global/local) hubdocs init
Print MCP snippet hubdocs init --print-config cursor
Version / paths hubdocs version

install = deprecated alias của init.

Agents hỗ trợ: Claude · Cursor · Codex · opencode · Hermes · Gemini · Antigravity · Kiro · Kilo.


MCP tools

Tool Purpose
hubdocs_list_ids List LND/CTX/CTR/CMP/FLOW/DEP/ADR/W/API
hubdocs_get_element Files + excerpt for one ID
hubdocs_deps_of IDs referenced from that element’s files
hubdocs_dependents_of IDs that mention this ID
hubdocs_orphans Missing canonical FLOW/ADR/CMP paths; catalog draft/TBD
hubdocs_validate_links Broken MD links under architecture (+ product)
hubdocs_route Topic → arc42 chapter + skill
hubdocs_journeys List FLOW-* under 06-runtime/journeys/
hubdocs_layout 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: HUBDOCS_ROOT hoặc --docs-root (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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured