html2pptx-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_htmlC | 校验受限 HTML 是否符合契约;返回 errors/warnings/fixes 的 JSON 报告。 |
| convert_htmlC | 把受限 HTML 编译为原生可编辑 .pptx 并写入 output_path。 |
| get_contractB | 导出契约:format=llm 为精简规范,format=json 为完整契约。 |
| ppt_outlineB | 盘点参考 pptx:主题色板/字体体系 + 每页形状清单与角色初判(标题/背景/徽章/图片…);选择性逆转的选片依据。 |
| ppt_reverseB | 把参考 pptx 逆转为受限 HTML(契约子集)供复用。pages/elements 缺省=全逆转,给其一即选择性逆转;产物落盘,片段不大于 12KB 时内联回传。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| design_html_slide | 按契约规范生成一页幻灯片的 HTML。 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| html-contract | 完整的受限 HTML 契约(JSON) |
| html-contract-llm | 给模型看的契约精简规范(Markdown) |
TDQS
Scored across 5 tools
Each tool has a clearly distinct role: contract retrieval, HTML validation, HTML-to-PPTX conversion, PPTX outline inspection, and PPTX-to-HTML reversal. validate_html and convert_html both involve HTML but are separated by validation versus compilation, so misselection risk is low.
All names use snake_case and are generally readable, but the pattern is not fully uniform: validate_html/convert_html/get_contract are verb-first, while ppt_outline and ppt_reverse are object-first. The deviation is minor and still predictable.
Five tools is well-scoped for an HTML-to-PPTX conversion server. Each tool covers a necessary stage in the workflow without redundant or filler operations.
The surface covers the full lifecycle: retrieve the contract, validate input, convert to editable PPTX, inspect reference decks, and reverse decks back into HTML. No obvious dead ends for the stated purpose.