Skip to main content
MCP server CX Codex

PasteHTML — Claude Code MCP server: what it does, how to install

Publishes HTML documents and Markdown pages to pastehtml.dev directly from coding agents. Useful for sharing mockups, design plans, and test reports.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp https://pastehtml.dev/mcp
Open on GitHub

What PasteHTML does

This server links your development agent with pastehtml.dev over HTTP. Whenever the model creates markup files up to 2 MB, it uploads them to dedicated subdomains and returns live URLs alongside source inspection pages. Each paste runs on its own isolated origin, allowing local storage and client scripts to work safely.

Communication uses the remote endpoint at https://pastehtml.dev/mcp. You do not need to configure static tokens in project configs: the client authenticates via a browser consent screen through OAuth on initial execution. After granting access, uploads map directly to your account folders and tracking dashboard.

Keep in mind that pastes cannot be deleted once created on the platform. The service only permits in-place overwrites to replace file bytes while preserving the existing link.

What it helps with

  • Publish generated HTML mockups directly to an isolated live link
  • Update shared web pages in place without breaking existing URLs
  • Organize agent-created documentation into specific account folders
  • Protect sensitive deployment drafts with a custom password

Example prompts for the agent

  • Publish design-plan.html to pastehtml.dev inside the Specs folder
  • Deploy this HTML preview to pastehtml and protect it with password testsecret
  • Update the existing pastehtml link with the latest build output

How to install PasteHTML

Platform CLI: remote server

claude mcp add --transport http mcp https://pastehtml.dev/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about PasteHTML

How to install PasteHTML in Claude Code?

Run claude mcp add --transport http pastehtml https://pastehtml.dev/mcp. Complete the authorization screen inside your browser when prompted.

What does the PasteHTML MCP server do?

It gives coding agents tools to publish HTML or Markdown to pastehtml.dev, organize items across directories, and update live pages.

Can you delete uploaded pastes?

Deletion is not supported on pastehtml.dev. You can overwrite paste contents under the original link, but you cannot destroy published entries.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor