Skip to main content
Glama
markdown-to-html

markdown-to-html

by Br0ski777

Markdown to HTML API

MCP Server x402 License: MIT

Markdown をクリーンな HTML に変換します -- 見出し、リスト、コードブロック、表、リンク、画像。完全な HTML ドキュメントとしてラップすることもできます。x402 による従量課金 (Base L2 上の USDC) -- キー不要、サインアップ不要、レート制限の壁なし。

klymax402 マーケットプレイスの一部 -- AI エージェント向けの 100 の x402 マイクロペイメント API、1 つのウォレット、Base 上の USDC。

クイックスタート -- MCP

MCP クライアント (Claude Desktop、Cursor、ElizaOS など) の設定に追加します:

{
  "mcpServers": {
    "markdown-to-html": {
      "url": "https://markdown-to-html.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: markdown-renderer

クイックスタート -- 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 -> 署名 -> 再試行 のサイクルを自動的に行います。

ツール

Tool

Method

Path

Price

Description

text_convert_markdown_to_html

POST

/api/convert

$0.003

Markdown テキストを HTML に変換します

text_convert_markdown_to_html

Markdown テキストをクリーンな HTML に変換する必要がある場合に使用します。変換結果の HTML を JSON で返します。

パラメータ

名前

型

必須

Description

markdown

string

はい

変換する Markdown テキスト

wrapInDocument

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 ファイルを変換する場合、ドキュメントページを構築する場合、メールテンプレートを生成する場合。

対象外: 確実なHTML から Markdownへの変換 (text_convert_html_to_markdown を使用)、CSS テーマ付きのスタイル済み HTML (text_render_markdown を使用)、PDF 生成 (document_generate_pdf を使用)。

エージェントプロンプトの例

  • "Markdown テキストをクリーンな HTML に変換します"

支払い

  • プロトコル: x402 -- HTTPベースの従量課金、サインアップ不要、API キー不要

  • ネットワーク: Base 2 層 (eip155:8453)

  • 資産種別: USDC

  • 提供者: Coinbase CD平台 (正規), PAYAI (予備) Also reachable via ATXP (OAuth でラップされた x402、RFC 9728 の保護リソース・メタデータ)

klymax402 の一部

AI エージェント向けの 100 つの x402 マイクロペイメント API -- 1 つのウォレット、Base 上の USDC、サインアップ不要。

ライセンス

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables extracting clean Markdown from any webpage by paying $0.005 USDC per call via the x402 protocol, with automatic wallet-based payment settlement.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Converts PDF, Word, Excel, and PowerPoint documents to Markdown using a pay-per-conversion model with USDC on Base via the x402 protocol.
      2
      51 PyPI
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables extracting clean, structured markdown from any URL—stripping nav, ads, and scripts—for RAG pipelines and AI research agents, with pay-per-call micropayments via x402.
      MIT