Publish HTML from Claude Code (CLI) with MCP

The RunThis.page MCP server lets Claude Code publish HTML pages directly from your terminal. Ask Claude to build a page, and it goes live instantly — no file downloads, no browser tabs, no manual uploads.

MCP (Model Context Protocol) is an open standard that gives AI tools the ability to call external services. The RunThis.page MCP server exposes five tools that let Claude Code create, update, list, delete, and get analytics for your hosted HTML pages.

Step-by-step: Set up MCP for Claude Code

  1. 1

    Get a Pro or Business plan

    The MCP server uses API keys, which require a Pro ($30/mo) or Business ($50/mo) plan. Sign up if you haven't already.

  2. 2

    Generate an API key

    Go to Settings in your dashboard and create an API key. Copy it immediately — it's only shown once. It starts with rtp_.

  3. 3

    Add the MCP server to Claude Code

    You can add the server with a single CLI command:

    claude mcp add runthispage \
      -e RUNTHISPAGE_API_KEY=rtp_your_key_here \
      -- npx @runthispage/mcp-server

    Or edit your .claude.json file directly:

    {
      "mcpServers": {
        "runthispage": {
          "command": "npx",
          "args": ["@runthispage/mcp-server"],
          "env": {
            "RUNTHISPAGE_API_KEY": "rtp_your_key_here"
          }
        }
      }
    }
  4. 4

    Start using it

    Run claude in your terminal. The RunThis.page tools are now available. The first run downloads the package automatically via npx.

What you can ask Claude to do

Once the MCP server is connected, Claude can use five tools to manage your pages:

Example prompts to try

"Build documentation pages for this project and publish them to RunThis.page"

Claude reads your codebase, generates HTML docs, and calls publish_page to host them.

"Create a status page showing our API health and publish it"

Claude builds a styled status page and publishes it in one step.

"Generate a test coverage report as an HTML page and publish it"

Claude runs your tests, builds a visual report, and publishes it — great for sharing with your team.

Why MCP instead of manual upload?

The MCP server also works with Claude Desktop, Cursor, Windsurf, and VS Code with GitHub Copilot. For programmatic publishing from scripts or CI/CD, see the REST API guide.

Ready to share your HTML?

Upload your file and get a shareable link in seconds.

Get Started

Plans start at $15/mo. See pricing