# PasteHTML

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

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 10
- Author: AliOsm
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/AliOsm/pastehtml.dev
- Updated: 2026-08-19
- HTML: https://affpapa.org/en/nevibecode/mcp/pastehtml

## What it 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.

## Requirements
- Remote server: `https://pastehtml.dev/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://pastehtml.dev/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add pastehtml --url https://pastehtml.dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pastehtml": {
            "url": "https://pastehtml.dev/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pastehtml": {
            "type": "http",
            "url": "https://pastehtml.dev/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http pastehtml https://pastehtml.dev/mcp
```

## When to use it
- 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
- 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

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
