fast-html-mcp-server — Five-tier MCP server for lightning-fast HTML generation from AI agents
I wanted AI agents to generate and edit HTML pages without booting Playwright or Puppeteer every time (5-15s cold start). So I built fast-html-mcp-server.
Architecture: Assembly → Patch → Read → Raw → Consistency
15 tools. 22 components. 25 templates (reports, dashboards, landing pages, docs, financial research, pitch decks).
The speed trick: patch_html detects #id selectors and uses direct text substitution instead of full parse5 AST re-parse. Most edits land in 200-800ms rather than 5-15s.
Cold-start benchmarks:
- render_page (25 templates): ~900ms
- patch_html #id fast-path: ~200ms
- 5 sequential patches on same file: ~2s total (vs 10s+ re-parsing each time)
- Consistency check on 100-section doc: ~9ms
- Compression:ai mode: ~1600 tokens for a full report
Consistency Engine: Entity-aware dependency graph tracks cross-section references. Edit once, it propagates to all dependent sections. 100-section star graph propagates in ~8.6ms.
MCP name: io.github.aimino-tech/fast-html-mcp-server
Usage: npx -y @aimino/fast-html-mcp-server
Would love feedback from the MCP community — what's missing or what integrations would you want to see?