living-docs
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
living-docs
Turns a source document into a designed, self-contained HTML doc in one of three styles: an academic paper, dark reading notes, or a telemetry console. Ships an AXI CLI and a stdio MCP server over the same core.
Key Features
Themes:
paper-lightfor papers and reports,paper-darkfor reading notes and essays,hudfor repo audits and system snapshots. Curated looks (field-notes,editorial,blueprint) sit on them, andingest --draftdesigns a look and accent from the source itself.Generated visuals: diagrams and charts render as inline SVG from a compact spec, and the console hero uses a seeded graph layout.
Living timeline: cues highlight the source's own sentences, light up the figure parts they describe, count numbers, type text, and scroll the video frame. Motion stays inside each block, so figures and text stay flat and legible. Drafted docs get cues automatically. See Timeline and video.
Video export:
render --format mp4|webm|gifrecords the timeline frame by frame, with optional Playwright and ffmpeg.Figure motion:
draw,reveal, andstepsanimate a generated figure with scoped CSS, then freeze for print and reduced motion. See Document model.Per-source style tokens: palette, seed color, type pairing, density, and figure treatment adapt a theme without arbitrary CSS. See Style tokens.
One self-contained file: inline CSS, inline SVG, no network assets, and print rules. See Guarantees.
Engine and interfaces: the same core powers the CLI and the MCP server.
Tech Stack
Language: JavaScript on Node.js 20 or newer, ECMAScript modules.
Rendering: no UI framework and no build step; blocks, SVG, and theme CSS are plain JavaScript.
Dependencies:
@modelcontextprotocol/sdkfor the MCP server andunpdffor PDF text extraction. Video export uses the optionalplaywrightpackage andffmpeg.Tests: the Node.js built-in test runner.
Table of Contents
Getting Started
Install the package globally or run it without installing.
Prerequisites
Node.js 20 or newer.
npm 10 or newer.
Installation
Install from npm:
npm install -g living-docs-axiOr clone the repository:
git clone https://github.com/bytesbybrandon/living-docs.git cd living-docsInstall dependencies for a checkout:
npm installEnvironment setup: none. The engine reads files and URLs only.
Usage
Running Locally
Render the bundled samples:
npm run samplesThat writes one HTML file per sample model into docs/.
Code Example
node bin/living-docs-axi.js ingest samples/source/harness-notes.md --draft --theme paper-dark -o docs/note.model.json
node bin/living-docs-axi.js render docs/note.model.json --theme paper-dark -o docs/note.html
node bin/living-docs-axi.js preview docsWith the published package, use npx -y living-docs-axi for each command.
Detailed references:
Website, built from this repository with
npm run site
Running Tests
npm testThe suite covers rendering determinism and self-containment, escaping and link sanitization, schema validation, ingest of Markdown, HTML, and text, CLI behavior and exit codes, an in-memory MCP client round trip, and style token resolution.
Project Structure
living-docs/
bin/ CLI and MCP entry points
src/
axi/ command parsing, compact output, file writes, preview
ingest/ Markdown, text, HTML, URL, and PDF intake
mcp/ stdio MCP server and tool definitions
model/ document model schema, validator, safe inline Markdown
render/ block renderers, SVG generators, style resolution, themes
server/ local preview server
samples/ sample models and one Markdown source
scripts/ sample and website build scripts
site/ landing page template and stylesheet for the website
tests/ Node test runner suites
docs/
decisions/ architecture decision records
guide/ user and contributor guidesContributing
Contributions are welcome. Read CONTRIBUTING.md for the fork, branch, test, and pull request workflow. Repository agent rules live in AGENTS.md, and module boundaries live in ARCHITECTURE.md.
License
Released under the MIT License. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate PDF, Word (.docx) and PowerPoint (.pptx) documents from Markdown over MCP.
Publish and share access-controlled Markdown documents from any MCP-enabled AI tool.
Render HTML, Markdown, or URLs to images, PDF, or branded artifacts; extract and watch pages.
Convert files, URLs, and documents to clean, AI-ready Markdown via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConverts various file formats to Markdown using the MarkItDown utility and can be integrated with MCP clients for seamless document processing and conversion.88MIT
- AlicenseAqualityCmaintenanceConverts documents, web pages, media, and more to Markdown via an MCP server with tools for conversion, inspection, vault capture, and format listing, all running locally with privacy-first design.51MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that converts raw Markdown into a complete, self-contained HTML document with clean typographic styling, syntax highlighting, and automatic light/dark mode.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read public web content as clean Markdown, search a private library of previously read documents, and access these tools via MCP, REST API, CLI, and WebMCP.4 npm22MIT