mcpField
F
Fast Html Mcp

Fast Html Mcp

Local
github.com/Aimino-TechDeveloper Tools7Updated 19w ago

About Fast Html Mcp

Fast Html Mcp is an MCP server that lets AI agents create and revise structured HTML pages instead of markdown. It provides page components, templates, and tools for editing, inspection, and email output.

Key features

  1. 01Compose pages from components
  2. 02Use page templates
  3. 03Patch and edit HTML
  4. 04Read and format HTML
  5. 05Render email output
  6. 06Check and propagate edits

Use cases

  1. 01Create reports and dashboards
  2. 02Build invoices or landing pages
  3. 03Inspect and revise generated pages

MCP support

It exposes HTML creation, editing, reading, formatting, preview, and email tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"fast-html": {
"command": "npx",
"args": [
"-y",
"@aimino/fast-html-mcp-server"
]
}
}
}
Run commandnpx -y @aimino/fast-html-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@aimino/fast-html-mcp-server0.1.2

Tools

19

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
templatestringYesTemplate name (report, exploration, deck, code-review, design, prototyping, illustrations, research, custom-editor, minimal, documentation, invoice, data-sheet, pitch-deck, dashboard, newsletter, changelog, faq, api-doc, landing-page, budget, meeting-notes, comparison, financial-summary, error-page)
sectionsarrayYesArray of component sections to assemble
output_pathstringYesAbsolute path for the output HTML file
optionsobjectNo
options.titlestringNo
options.themeenumNodark | light
options.css_varsobjectNo
options.inject_cssstringNo
options.inject_jsstringNo
options.line_widthnumberNo
options.compressionenumNonone | low | high | ai
options.modeenumNonormal | stream
options.skip_formatbooleanNo
budgetobjectNo
budget.max_tokensnumberYes
entity_annotationsarrayNoOptional CSS selector-to-entity mappings for consistency engine support

Details

From the project README

OpenTalk2HTML-NotMD MCP Server

GitHub stars GitHub forks GitHub issues GitHub pull requests npm version License Node MCP GitHub Discussions

AI talks to you through beautiful pages — not overwhelming markdown dumps.

OpenTalk2HTML-NotMD is an MCP server that transforms how AI agents communicate with you. Instead of drowning in raw markdown files that nobody can read, AI builds clean, organized HTML pages — reports, dashboards, landing pages, invoices, anything — delivered instantly, no browser required.


The Vision

AI should communicate with humans the way humans communicate with each other: through well-designed pages, not raw text files.

Every time an AI agent dumps markdown on you, it's choosing the easiest path for the machine — not the best path for you. OpenTalk2HTML-NotMD changes that. It gives AI agents a tool to create proper, structured, beautiful HTML pages that you can actually read, scan, and share.

One command. Any AI platform. Real pages.

npx -y @aimino/fast-html-mcp-server

The Problem → The Solution

🚫 You're stuck with this✅ You get this instead
Raw markdown walls you can't scanClean HTML pages with navigation and sections
## Headings and - bullets everywhereStyled reports, dashboards, and data tables
Scroll for 20 minutes to find one numberJump between sections, read what matters
One massive file you'll never open againBeautiful pages you'll actually share
AI choosing what's easy for itAI building what's good for you

See It In Action

OpenTalk2HTML-NotMD Demo

AI builds a real dashboard page in seconds — no browser, no Playwright, no Docker.


Quick Start

npx -y @aimino/fast-html-mcp-server

Add to Claude Desktop, Cursor, VS Code, or any MCP client:

{
  "mcpServers": {
    "open-talk-2-html-not-md": {
      "command": "npx",
      "args": ["-y", "@aimino/fast-html-mcp-server"]
    }
  }
}

That's it. Your AI agent now talks to you through pages.


What Does This Look Like?

An AI agent using OpenTalk2HTML-NotMD can build you:

You ask for...Instead of markdownAI creates
"Show me Q3 numbers"## Q3\n- Revenue: $1.2M\n- Users: 45KA styled report with tables & badges
"Make an invoice"# Invoice\n**Client:** Acme CorpA proper invoice page
"Dashboard please"## Metrics\n**ARR:** $10MAnalytics dashboard with visuals
"Pitch deck for investors"Raw text with --- slidesSlide deck with real design
"API documentation"Markdown with ``` blocksProper API docs page

See all 22+ use cases in the interactive showcase.


How It Works

OpenTalk2HTML-NotMD is a five-tier MCP server purpose-built for AI-to-human communication:

OpenTalk2HTML-NotMD MCP Server
├── Assembly   → render_page (compose pages from components)
├── Patch      → patch_html, set_attribute, edit_html_range (make surgical edits)
├── Read       → read_html (inspect with 97% token savings)
├── Raw        → write_raw_html, format_html, preview_html
├── Email      → render_email, html_to_email (send to inbox)
└── Consistency→ propagate_edit, check_consistency (keep data in sync)

AI builds, edits, reads, and refines HTML pages — the same way you'd work with a document, except it happens in milliseconds and costs pennies.


Why This Exists

The Markdown Trap

AI agents default to markdown because it's the easiest output format. But markdown was designed for lightweight text formatting, not for communicating complex AI outputs to humans. The result:

  • Users drown in walls of raw text
  • No structure — everything is flat, nothing is scannable
  • No visuals — tables, charts, and badges are ASCII at best
  • No sharing — you can't send a markdown file to a colleague
The HTML Alternative

HTML fixes all of this: structure, navigation, styling, visuals, sharing — built in, no browser needed on the server side. The AI creates real pages that humans can actually consume.

OpenTalk2HTML-NotMD bridges the gap: AI writes HTML instead of markdown, and you get pages you can read, scan, and share.


Tools

TierToolWhat It Does
Assemblyrender_pageCompose a page from components & template
Assemblyregister_templateAdd your own template at runtime
Patchpatch_htmlReplace content by CSS selector
Patchset_attributeChange an attribute by CSS selector
Patchedit_html_rangeReplace lines (most token-efficient edit)
Readread_htmlInspect HTML in 4 modes (97% token savings)
Rawwrite_raw_htmlWrite raw HTML to file
Rawformat_htmlBeautify HTML
Rawpreview_htmlPreview without writing to disk
Emailrender_emailBuild email-safe HTML
Emailhtml_to_emailConvert web HTML to email-safe
Consistencypropagate_editUpdate all cross-references
Consistencycheck_consistencyAudit for stale references
Utilitylist_componentsBrowse available components
Utilitylist_templatesBrowse available templates
Utilityget_template_schemaSee template variables
Utilityget_component_schemaSee component props

Components & Templates

22 Components

Layout: header, footer, sidebar, card-deck, grid Data: data-table, stats-grid, timeline, financial-table, evidence-grid Visual: risk-matrix, valuation-chart, prisma-flow Media: figure, image-gallery Interactive: tabs, accordion Utility: hero, callout, code-block, citation-block

25+ Templates

Reports: report, exploration, research, code-review, equity-research, lit-review, research-briefing, scientific-paper, journal-club, earnings-summary, industry-overview

Business: invoice, budget, financial-summary, data-sheet, dashboard, financial-dashboard

Communication: newsletter, changelog, faq, meeting-notes, comparison, landing-page, error-page

Presentation: pitch-deck, deck, design, prototyping, illustrations

Developer: api-doc, custom-editor, minimal, documentation


Performance Benchmarks

OperationOpenTalk2HTML-NotMDAlternatives
Cold start → first render~1.5sPlaywright/Puppeteer: 5-15s
page render~900msHandlebars: similar
Patch by #id~200msCheerio: 2-5s
Patch by CSS selector~800msRegex: 1-3s
5 sequential patches~2s totalRe-parsing: 10s+
Compression ratio40-70%html-minifier: 10-30%
AI-compressed read (106KB page)~1,000 tokens (97% saved)Raw: 30,553 tokens

Why is it this fast?

  1. #id fast-path — direct text substitution instead of full AST parsing (~10x faster)
  2. Pre-compiled doT.js — templates compiled at startup, not render time
  3. No browser runtime — operates on strings and AST, zero headless overhead

Architecture

The Ping-Pong Loop
1. Discover   → list templates & components
2. Build      → render a page
3. Inspect    → read it back (97% token savings)
4. Refine     → patch, edit, set attributes
5. Consistency→ propagate edits across sections
Key Design Decisions
  • doT.js — 10x faster compile time than Handlebars/EJS
  • #id fast-path — direct string substitution for id-targeted edits
  • parse5 — safe AST-based HTML patching (not regex)
  • DOMPurify — XSS prevention on all output
  • Atomic writes — tmp file + rename to prevent corruption
  • ESM — Node.js 20+, TypeScript, ES modules

Token Efficiency (Why AI Agents Love This)

Designed from the ground up for AI token budgets:

Reading a 106KB HTML Page
ModeTokensSavingsUse
Text1,00097%Token-minimal reading
Compressed3,90987%Summary + stats
Content7,99174%Typed blocks
Structure9,16370%Tree overview
Editing (500-line page, one value change)
ApproachTokensWhen to use
patch_html by id~2,396Small targets
edit_html_range~48Large containers, surgical changes

Development

git clone https://github.com/Aimino-Tech/OpenTalk2HTML-NotMD.git
cd OpenTalk2HTML-NotMD
npm install
npm run build
npm run dev              # hot reload
npm test                 # vitest

License

GNU General Public License v3.0 — see LICENSE.


Built by Aimino Tech — making AI communicate like a human.

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.