Skip to content
Hussh
Connect MCP

Wiki-as-app — Three-Tier Architecture

SVG three-tier architecture for the Hussh wiki: clients (Capacitor + Next.js + agents) → API (HTTP reader + MCP) → store (git + Drive + qmd). Drive-visible canonical.

Diagram

TL;DR: SVG three-tier architecture for the Hussh wiki: clients (Capacitor + Next.js + agents) → API (HTTP reader + MCP) → store (git + Drive + qmd). Drive-visible canonical.

Summary

SVG three-tier architecture for the Hussh wiki: clients (Capacitor + Next.js + agents) → API (HTTP reader + MCP) → store (git + Drive + qmd). Drive-visible canonical. Status as of 2026-05-27: public reference artifact.

Hussh wiki — scalable app + MCP architecture Three tiers, one repo, qmd-backed. Same content for humans and agents. Tier 1 — Clients Capacitor 8 (iOS / Android) user app surface Next.js 16 (web reader) public visitor surface Claude / Cursor / VS Code agent surface (MCP) Tier 2 — API surfaces HTTP reader (Cloud Run) REST + qmd hybrid search — BM25, vector, LLM rerank MCP server (HTTP / SSE) 21 tools, Cloud Run, OAuth 2.1 + PKCE Tier 3 — Content store Git repo: markdown + frontmatter canonical — pages, relations, sources Drive Shared Drives + qmd indices artifact bytes · hybrid search index Same repo. Same canonical content. Three audiences served by one boundary. BYOA-aligned · dogfoods PCHP · public/private auth-tier on the same MCP
svg· bucket: diagramsOpen in Drive ↗Download

Full artifact

Stored in Google Drive (husshone): view · download.

Cross-referenced from

Drive shortcuts pointing back to this artifact live in:

  • husshone / wiki/concepts/three-layer-architecture/diagrams/wiki-as-app-three-tier-architecture.svg (open) — relates to Three-Layer Architecture
  • husshone / wiki/about/wiki-scaling-and-search/diagrams/wiki-as-app-three-tier-architecture.svg (open) — relates to Wiki Scaling And Search
  • husshone / wiki/about/public-vs-private-surfaces/diagrams/wiki-as-app-three-tier-architecture.svg (open) — relates to Public VS Private Surfaces

Relations

Sources

  • Internal Hussh source note - wiki as app three tier architecture diagram artifact synthesis and public wiki publication context.