CastHTML リモートMCPを Cursor にMCP接続する方法(設定手順)

CastHTML のリモートMCPサーバーを Cursor に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🛡️ Official✓ VerifiedStreamable HTTPBearer Token🛡️ A+~416 tok5 tools
Streamable HTTPhttps://casthtml.com/mcp

🔒 Client-side only — never leaves your browser.

Install in Cursor →

Or add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "casthtml": {
      "url": "https://casthtml.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

接続手順

  1. MCP 設定を開く — Cursor → Settings → MCP。またはグローバル ~/.cursor/mcp.json / プロジェクト .cursor/mcp.json を直接編集。
  2. サーバーを追加 — ワンクリック deeplink を使うか、mcpServers に "casthtml": { "url": https://casthtml.com/mcp } を追加します。
  3. 認証を完了 — CastHTML のコンソールで資格情報を取得し、設定の Authorization: Bearer <キー> ヘッダーに追加します。
  4. 検証 — オンライン Inspector に https://casthtml.com/mcp を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(5)

ToolSafetyDescriptionParameters
publish_report
~140 tok
🟠 WritePublish an HTML page or Markdown report into a secure sandbox and get a shareable /r/{slug} link.content*: stringtitle: stringformat: stringrender_mode: stringis_public: boolean
update_report
~97 tok
🟠 WriteUpdate an existing report in place by id_or_slug while keeping the share link unchanged.id_or_slug*: stringcontent*: stringtitle: string
list_reports
~40 tok
🟢 ReadList the most recent 50 reports on the current account.—
get_report
~56 tok
🟢 ReadFetch report metadata and body by id_or_slug.id_or_slug*: string
delete_report
~63 tok
🔴 DestructivePermanently delete a report by id_or_slug and invalidate its share link.id_or_slug*: string

その他の接続ガイド