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 分