markdown-to-html
Markdown to HTML API
将 Markdown 转换为干净的 HTML —— 标题、列表、代码块、表格、链接、图片。可选地将输出包装为完整的 HTML 文档。通过 x402 按次付费(USDC on Base L2)—— 无需 API 密钥、无需注册、没有速率限制。
作为 klymax402 市场的一部分 —— 为 AI 智能体提供 100 个 x402 微支付 API,一个钱包,USDC on Base。
快速开始 —— MCP
添加到你的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等):
{
"mcpServers": {
"markdown-to-html": {
"url": "https://markdown-to-html.api.klymax402.com/mcp"
}
}
}Related MCP server: PDF Generator MCP Server
快速开始 —— HTTP (x402)
curl -X POST "https://markdown-to-html.api.klymax402.com/api/convert" \
-H "Content-Type: application/json" \
-d '{"markdown":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body任何支持 x402 的客户端(@x402/fetch、x402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试 循环。
工具
工具 | 方法 | 路径 | 价格 | 描述 |
| POST |
| $0.003 | 将 Markdown 文本转换为 HTML |
text_convert_markdown_to_html
当需要将 Markdown 文本转换为干净的 HTML 时,使用此工具。以 JSON 形式返回转换后的 HTML。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 要转换的 Markdown 文本 |
| boolean | 否 | 将输出包装为完整的 HTML 文档(默认:false) |
示例响应:
{"html":"<h1>Hello World</h1>\n<p>This is <strong>bold</strong> and <em>italic</em>.</p>","inputLength":42,"outputLength":68}适用场景:在 Web 应用中渲染 Markdown 内容、转换 README 文件、构建文档页面、从 Markdown 生成邮件模板。
不适用于:HTML 转 Markdown(使用 text_convert_html_to_markdown)、带 CSS 主题的样式化 HTML(使用 text_render_markdown)、PDF 生成(使用 document_generate_pdf)。
示例智能体提示
"将 Markdown 文本转换为干净的 HTML"
支付
协议:x402 —— HTTP 原生按次付费,无需注册,无需 API 密钥
网络:Base L2(
eip155:8453)资产:USDC
促进方:Coinbase CDP(主要)、PayAI(备用)
也可通过 ATXP 访问(OAuth 包装的 x402,符合 RFC 9728 受保护资源元数据)
作为 klymax402 的一部分
为 AI 智能体提供 100 个 x402 微支付 API —— 一个钱包,USDC on Base,零注册。
完整 API 参考:https://klymax402.com/llms-full.txt
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables extracting clean Markdown from any webpage by paying $0.005 USDC per call via the x402 protocol, with automatic wallet-based payment settlement.14MIT
- AlicenseNot gradedqualityDmaintenanceGenerates PDF documents from HTML or Markdown content with customizable page size, margins, and orientation, supporting pay-per-call payments via x402.MIT
- AlicenseNot gradedqualityBmaintenanceRenders Markdown to styled HTML with CSS themes (light, dark, GitHub) via pay-per-call x402 micropayments. No API key or signup required.MIT
- AlicenseAqualityCmaintenanceConverts PDF, Word, Excel, and PowerPoint documents to Markdown using a pay-per-conversion model with USDC on Base via the x402 protocol.2MIT
Related MCP Connectors
Convert files and authorized public HTTPS pages to Markdown with secure job and billing guidance.
Markdown in, any format out. PDFs merged, split, watermarked. Runs on our own doc engines.
x402 MCP web parser: URLs to Markdown for agents. USDC on Base, Polygon, Arbitrum, Ethereum.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/markdown-to-html-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server