Opentalk2html Notmd

io.github.Aimino-Tech由 GitHub 账号 Aimino-Tech 发布v0.1.2更新于 Oct 24, 2026

MCP server for HTML generation from AI agents

概览

AI 生成的概览

一个本地 MCP 服务器,让 AI 助手生成、编辑、读取和预览样式化 HTML 页面及邮件安全 HTML,而不是输出 Markdown。

可以做什么
用 22 个组件和 25 个以上模板组合页面,并可在运行时注册自定义模板,先浏览可用的组件、模板及其 schema。按 CSS 选择器、属性或行范围对现有 HTML 做精细修改,并跨交叉引用传播修改或检查过期引用。以多种节省 token 的模式读回 HTML,写入原始 HTML 文件、格式化,或不落盘直接预览。生成邮件安全 HTML,并把网页 HTML 转换为邮件安全标记。
适用场景
适合希望助手把结果输出为可读、可分享的页面(报告、仪表盘、发票、文档、幻灯片或简报)而非冗长 Markdown 文件的场景,也适合需要反复修改同一页面而不必重读整份文档的情况。
运行要求
作为本地 stdio 进程在桌面运行,通过 npx 从 npm 包启动;README 说明需要 Node.js 20+ 和 ES 模块。未声明认证、环境变量或请求头。无需浏览器、Playwright 或 Docker。
安装前请注意
相关工具会向磁盘写入 HTML 文件,请将其指向你愿意被修改的目录;README 提到采用原子写入以避免损坏。输出经过 DOMPurify 做 XSS 防护,但分享前仍应检查生成的页面。README 中的安装命令所指包名与清单不一致,请确认实际运行的包。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Opentalk2html Notmd,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

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

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

json
{  "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 & components2. Build      → render a page3. Inspect    → read it back (97% token savings)4. Refine     → patch, edit, set attributes5. 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

bash
git clone https://github.com/Aimino-Tech/OpenTalk2HTML-NotMD.gitcd OpenTalk2HTML-NotMDnpm installnpm run buildnpm run dev              # hot reloadnpm test                 # vitest

License

GNU General Public License v3.0 — see LICENSE.


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

来源:README.md,提交 8d09605

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分