mcpField
N
nyuchi-docs

nyuchi-docs

Remote
docs.nyuchi.comDeveloper Tools0Updated 3w ago

About nyuchi-docs

nyuchi-docs is an engineering documentation site for Nyuchi projects and Mzizi tools, aimed at developers and users working with that ecosystem. Its MCP server offers a hosted endpoint plus a stdio bridge for clients that cannot use Streamable HTTP.

Key features

  1. 01Engineering and product documentation
  2. 02Documentation search and Ask AI tab
  3. 03Retrieval-grounded answers with citations
  4. 04Hosted MCP endpoint and stdio bridge
  5. 05Agent skill for the documentation

Use cases

  1. 01Find Nyuchi platform and API guidance
  2. 02Look up deployment and identity documentation
  3. 03Ask questions about documentation with cited answers

MCP support

The hosted MCP server is available at docs.nyuchi.com/mcp. A stdio bridge connects clients that cannot speak Streamable HTTP.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://docs.nyuchi.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmnyuchi-docs-mcp0.1.0

Tools

5
ParameterTypeRequiredDescription
querystringYesWhat to search for
top_knumberNoMax results (default 5, max 10)

Details

From the project README

Nyuchi Docs

Nyuchi engineering documentation — how things are done at Nyuchi, and how to use the Mzizi tools from a Nyuchi project.

lint build Astro Starlight Cloudflare pnpm

Live: docs.nyuchi.com | Product docs: docs.bundu.org | MCP: docs.nyuchi.com/mcp


Packages

A pnpm workspace of six packages.

PackagePathWhat it does
sitesite/The Astro + Starlight docs site itself. Ships as a Cloudflare Worker with Static Assets.
@nyuchi/nyuchi-docs-searchnyuchi-docs-search/cmdk-style search modal + Ask-AI tab for Starlight sites. Not yet published to npm.
shamwari-docs-aishamwari-docs-ai/Cloudflare Worker — the Ask-AI chat proxy (SSE).
nyuchi-docs-mcp-workernyuchi-docs-mcp-worker/Cloudflare Worker nyuchi-docs-mcp — the docs MCP server at docs.nyuchi.com/mcp.
@nyuchi/nyuchi-docs-mcpnyuchi-docs-mcp/The stdio bridge to that hosted endpoint, for clients that cannot speak Streamable HTTP.
@nyuchi/nyuchi-docs-skillsnyuchi-docs-skills/The public agent skill for docs.nyuchi.com. The repo's authoring skills are internal and deliberately not shipped.

Companion site

bundu-labs/bundu-docs covers the Bundu Foundation's outward-facing projects — the Mzizi product, the Ubuntu doctrine, and the Bundu brand system. It is an internal-visibility repository, so that link resolves only for org members. It consumes @nyuchi/nyuchi-docs-search and points at the nyuchi-docs-mcp worker.

@nyuchi/nyuchi-docs-search is not on npm — registry.npmjs.org returns {"error":"Not found"} for it (checked 2026-09-12). Until it is published, bundu-docs cannot install it from the registry.

Sections (site/src/content/docs/)

  • platform/ — the product guide for the Nyuchi platform.
  • api/ — API Docs: the /v1 gateway, WorkOS authentication, console-managed API keys, security, and the product namespaces.
  • analytics/ — dashboards, reports, and connecting data sources.
  • kweli/ — Mukoko Kweli product guides: verification, cross-app how-to, open data, data quality, design system.
  • mukoko-weather/ — Mukoko Weather user guide and stations.
  • integrations/ — connectors, webhooks, the docs MCP server, and the Mukoko Events MCP server.
  • identity/ — WorkOS, accounts.mukoko.com (the AuthKit issuer), SSO, JWTs.
  • console/ — the Nyuchi Console at platform.nyuchi.com.
  • tools/ — the cross-repo tools directory: every skill, CLI, and MCP server across the Nyuchi and Bundu repos.
  • mzizi-tools/ — mzizi-mcp, mzizi-cli, mzizi-skills, the DNA double-helix architecture, registry health, and the A2A design.
  • deployment/ — Cloudflare, Vercel, and Supabase deployment patterns.
  • conventions/ — PR doctrine, commit doctrine, repo-naming rules.

Develop

pnpm install
pnpm dev            # site only
pnpm -r build       # all packages
pnpm -r test        # all packages

Site dev server: http://localhost:4321. Content lives in site/src/content/docs/; the sidebar is configured in site/astro.config.mjs.

Search + Ask AI

The search modal opens with ⌘K / Ctrl+K. The Ask AI tab streams answers from shamwari-docs-ai (Cloudflare Worker) with retrieval-grounded citations. To enable it locally, copy site/.env.example to site/.env:

cp site/.env.example site/.env
# .env:
# PUBLIC_SHAMWARI_AI_URL=https://shamwari-docs-ai.nyuchi.workers.dev

Deploy

Both workers in this repo deploy via Cloudflare Workers Builds — the Cloudflare GitHub App is connected to nyuchi/nyuchi-docs with one trigger per worker (root directory points at the worker package). No GitHub Actions deploy workflow, no CLOUDFLARE_API_TOKEN repo secret.

  • nyuchi-docs (site) — root site/, ships as a Cloudflare Worker with Workers Static Assets. Live at https://nyuchi-docs.nyuchi.workers.dev, and the cutover is done: docs.nyuchi.com now serves this Worker. Both hosts return the same Astro 7.2.9 / Starlight 0.41.10 page (checked 2026-09-12); there is no Mintlify-on-Vercel deployment behind the apex any more.
  • shamwari-docs-ai — root shamwari-docs-ai/, thin proxy in front of Cloudflare AI Search. Live at https://shamwari-docs-ai.nyuchi.workers.dev, which serves exactly two routes: GET /health and POST /chat. Its root returns 404, correctly. See shamwari-docs-ai/README.md for the per-corpus AI Search instance setup (managed via REST API).
  • nyuchi-docs-mcp — root nyuchi-docs-mcp-worker/, the docs MCP server. Live at https://nyuchi-docs-mcp.nyuchi.workers.dev and routed from docs.nyuchi.com/mcp*. Needs its own Workers Builds trigger (root directory nyuchi-docs-mcp-worker/).

Well-known and machine-readable endpoints

docs.nyuchi.com serves these outside the docs tree. Most are static files in site/public/; security.txt is generated per request by the site worker.

PathServed fromWhat it is
/robots.txtsite/public/robots.txtCrawl policy + sitemap pointer. Everything here is meant to be indexed.
/llms.txtsite/public/llms.txtMachine-readable site index for LLMs.
/AUTH.mdsite/public/AUTH.mdAgent-facing WorkOS auth reference, synced from nyuchi/api-gateway.
/.well-known/mcp/server-card.jsonsite/public/.well-known/mcp/MCP server card for the nyuchi-docs-mcp worker at /mcp.
/.well-known/security.txtsite/src/worker/security-txt.tsRFC 9116 disclosure contact — generated per request, not a static file.

security.txt is dynamic because RFC 9116 makes Expires mandatory and caps it under one year, so a checked-in file silently becomes non-compliant as it ages. site/wrangler.toml sets run_worker_first = true, so every request already passes through site/src/worker/gate.ts; it answers this path before the gate check and before the asset router, deriving Expires from the request time (180 days out). Same approach as mukoko-dev/mukoko-events (formerly nhimbe) and mukoko-dev/kweli.

Why pnpm workspace

The search package (nyuchi-docs-search) is consumed by both nyuchi-docs (this repo, via workspace:*) and bundu-docs (separate repo, via the npm registry). Keeping it in the same workspace as the docs site means local changes to the search UI are picked up instantly during pnpm dev, while the published package is a single pnpm publish away.

Commands

CommandDescription
pnpm devThe docs site on :4321
pnpm buildBuild the site
pnpm build:allBuild every workspace package
pnpm testEvery package's tests
pnpm lintEvery package's linter
pnpm checkEvery package's type/content check
pnpm skills:validateValidate the shipped agent skills
pnpm deploy:workerDeploy shamwari-docs-ai
pnpm deploy:mcpDeploy nyuchi-docs-mcp-worker
pnpm ingestRe-ingest the corpus into Cloudflare AI Search

Never run prettier --write on an .mdx file. Prettier 3.9.x rewrites {/* … */} to {/_ … _/} and produces invalid MDX. .md is safe.

Ecosystem

  • docs.bundu.org — Bundu Foundation product docs
  • mzizi.dev — the Mzizi design system, an open-architecture project of the Bundu Foundation, operated and developed by Nyuchi
  • api.nyuchi.com — the /v1 gateway these docs describe

Versioning

Releases follow the org versioning policy (nyuchi/.github#80). The branch decides the bump, and there are no version labels:

  • A merge into staging (the live beta) is tagged as the next patch automatically, by staging-version.yml.
  • A release to main is the next minor above the highest tag. The PR that releases sets version in nyuchi-docs-mcp/package.json to it. CI refuses any other version and names the right one.
  • A major is only ever made by hand: the owner runs the release workflow from the Actions tab with bump: major.
  • Each segment holds 0–999. Patch 999 rolls into the next minor; minor 999 stops and asks for a manual major.

Versions released before 2026-10-04 are not renumbered.

Licence

This repository is public but carries no LICENSE file, so no licence is granted over it as a whole: all rights reserved. © Nyuchi Africa (PVT) Ltd. The @nyuchi/nyuchi-docs-search package declares MIT in its own package.json; if that is the intent for the package, the repository needs a LICENSE to back it.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.