What runtime does Fast HTML MCP require?
Node.js 20 or higher, and the server is distributed as an ES module (ESM).
@Aimino-Tech
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"fast-html-mcp-server": {
"command": "npx",
"args": [
"-y",
"@aimino/fast-html-mcp-server"
]
}
}
}Assemble page from structured components
Patch HTML element(s) by CSS selector
Set attribute on element(s) by CSS selector
Replace a range of lines in an HTML file with new content (most token-efficient edit — send only the changed lines)
Replace a rendered section in an HTML file with a new component. Pages rendered with render_page embed section markers. Use list_sections to discover available indices. Provide component+props to re-render, or html for raw replacement.
Insert a new component section at a specific index, pushing existing sections forward. Uses the same section marker system as render_page. Auto-renumbers all subsequent sections.
List all component sections in an HTML file that was built with render_page. Returns section indices, component types, and sizes.
Read/analyze existing HTML file. Use mode='text' for token-efficient plain text extraction with offset/limit progressive reading.
Write raw HTML content directly to file
Write content as formatted HTML file
Format/beautify an existing HTML file
Preview rendered HTML string without writing
List available template shells (optionally filter by category)
Propagate an entity edit through the dependency graph, updating all transitively affected sections
Audit document for stale cross-section references and dependency violations
List available interactive components (optionally filter by category)
Get template metadata including available variables with defaults
Get component schema with available props
Register a custom template at runtime for immediate use with render_page/preview_html
Fast HTML MCP is a Model Context Protocol server for fast HTML generation and editing by AI agents. It uses a five-tier architecture (Assembly–Patch–Read–Raw–Consistency) and provides 15 tools, 22 components, and 25 templates purpose-built for AI-driven page creation with sub-second patch times and token-efficient reading.
Install and run with npx -y @aimino/fast-html-mcp-server. Configure the server in your MCP client (Claude Desktop, Cursor, VS Code via GitHub Copilot, or Claude Code) using the provided JSON snippets. Invoke tools via JSON-RPC calls—for example, list_templates, render_page, read_html—following the Ping-Pong Loop: discover, build, inspect, refine, and maintain consistency.
Node.js 20 or higher, and the server is distributed as an ES module (ESM).
It uses a #id fast-path for direct string substitution on `#id` selectors (~10× faster than full AST parse), pre-compiled doT.js templates, no browser runtime (unlike Playwright/Puppeteer), and atomic in-place edits without full DOM re-serialization.
It is a dependency-graph-based engine that propagates entity edits across sections, detects stale cross-section references with 100% accuracy, and auto-updates affected sections—achieving ~11 ms worst-case propagation for 100 sections.
Compression modes reduce HTML size: `high` mode yields 40–70% reduction, and `ai` mode produces token-aware minification (~1600 chars for a full report). Read modes also save tokens: `text` mode strips HTML tags for 97% savings over raw HTML.
All output is sanitized with DOMPurify to prevent XSS. File writes are atomic (tmp file + rename) to prevent partial writes.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

Model Context Protocol Servers
Hindsight: Agent Memory That Learns
评论