← 返回
未分类

Skill

Generate, patch, read, and compress HTML pages for reports, dashboards, and docs with fast AI-agent speed and precise CSS selector updates.
生成、修补、读取并压缩报告、仪表盘和文档的 HTML 页面,具备高速 AI 代理速度和精准的 CSS 选择器更新。
xdnaimino xdnaimino 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 203
下载
💾 0
安装
1
版本
#latest

概述

Fast HTML MCP Server

Five-tier MCP server for lightning-fast HTML generation from AI agents. 15 tools, 22 components, 25 templates — purpose-built for AI-driven page creation with sub-second patch times and AI-grade token compression.

When to Use

  • Generating complex HTML pages (reports, dashboards, landing pages, docs) from structured component specs
  • Patching existing HTML by element id or CSS selector without re-rendering the entire page
  • Compressing HTML to fit within token limits while preserving semantic content
  • Maintaining cross-section consistency across large multi-section documents
  • Building equity research, financial summaries, or data-heavy pages with charts and tables
  • Creating email newsletters, pitch decks, changelogs, or API documentation

Quick Start

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

Add to MCP client config:

Claude Desktop / Cursor / VS Code Copilot

{
  "mcpServers": {
    "fast-html-mcp": {
      "command": "npx",
      "args": ["-y", "@aimino.xdn/fast-html-mcp-server"]
    }
  }
}

Claude Code

claude mcp add fast-html-mcp -e npx -a "-y" -a "@aimino.xdn/fast-html-mcp-server"

Workflow

1. Discover what's available

list_templates
list_components
get_template_schema(template: "report")
get_component_schema(component: "hero")

2. Build a page

render_page(
  template: "report",
  sections: [
    {component: "hero", props: {title: "Q3 Report", badge: "Draft"}},
    {component: "data-table", props: {headers: ["Metric","Value"], rows: [["Revenue","$1.2M"]]}}
  ],
  output_path: "/tmp/report.html",
  options: {title: "Q3 Report"}
)

3. Inspect the output

read_html(path: "/tmp/report.html", mode: "compressed")

Read modes (by token efficiency):

  • structure — tree overview (70% savings)
  • content — typed blocks (74% savings)
  • compressed — summary + stats (87% savings)
  • text — plain text only (97% savings, best for token budgets)

4. Refine with surgical patches

patch_html(file_path: "/tmp/report.html", selector: "#content", html: "<p>Updated content</p>")
set_attribute(file_path: "/tmp/report.html", selector: "#main-title", attr: "class", value: "highlight")

5. Compress for token efficiency

read_html(path: "/tmp/report.html", mode: "compressed", offset: 0, limit: 1000)

6. Maintain consistency (multi-section documents)

check_consistency(path: "/tmp/report.html")
propagate_edit(path: "/tmp/report.html", entity: "Revenue", value: "$1.5M", sections: ["summary", "details"])

Resources

  • references/ — detailed examples and advanced use cases
  • scripts/ — automation scripts
  • assets/ — templates and resources

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 23:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,123 📥 842,526
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 842 📥 321,222
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,488 📥 551,419