Give Claude Code a publish_page tool
One command gives Claude Code a publish_page tool: Markdown or HTML in, a shareable link out. Team .mcp.json, ${VAR} keys, permission rules, limits.
Claude Code writes things that are too long for the terminal and too structured for a chat: a migration plan that needs a second pair of eyes, a "what changed and why" note at the end of a two-hour session, review comments across twelve files, a status report for people who don't have the repo. Pasted into Slack it loses its tables; in a PR description it is buried. MintPage is a remote MCP server that gives Claude Code one more tool, publish_page: Markdown or HTML in, a public URL out, so the output becomes a link you can send to anyone.
What Claude Code gets
publish_page: Markdown (GitHub flavour: tables, task lists, fenced code, details/summary) or sanitized HTML, three themes (paper, ink, terminal), a preview card when the link lands in Slack or iMessageget_account: your plan and how many pages are left today, without spending one- With a free key:
update_page(same URL, new content, so a status page can be refreshed on every run),list_pages,get_page_stats(views, 30 days),pause_page,delete_page,revoke_link - 15 tools in total; the five read-only ones (
get_account,list_pages,get_page_stats,list_comments,list_images) are markedreadOnlyHint, so they are safe to allow without a prompt
Connect in one command
claude mcp add --transport http mintpage https://mintpage.ai/mcp
That is the whole setup. Claude Code stores the server in its local scope (this project, you only). Add --scope user to have it in every project, or --scope project to write it to .mcp.json in the repo for the whole team (see below). The command saves the config without validating it; the first connection happens when Claude Code starts.
No account is needed to try it: as a guest you get 3 pages a day, each live for 24 hours.
Check it before you publish
Start claude and run /mcp. The panel lists mintpage with its status and tool count; claude mcp list from the shell shows the same (✔ Connected, or ✘ Failed to connect with the reason). Then ask: "Check my MintPage account." Claude calls get_account and answers with your plan and the pages left today. Nothing is published.
That check matters once you add a key: a key that doesn't reach the server, or has a typo, is not an error on /mcp. The server quietly treats the call as a guest, so plan: guest after you configured a key means the header is wrong, not that MintPage is down.
Share it with the team: .mcp.json
A project-scoped server lives in .mcp.json at the repo root and is picked up by everyone who opens the project in Claude Code:
{
"mcpServers": {
"mintpage": {
"type": "http",
"url": "https://mintpage.ai/mcp"
}
}
}
Two details from Claude Code's docs that cost people time: a remote server needs "type": "http" (a url without a type is treated as stdio and skipped with an error), and Claude Code asks each developer to approve project-scoped servers the first time it sees them (claude mcp reset-project-choices clears those answers). In claude -p and SDK runs there is no prompt: project servers load as configured.
With a free key
A free key (one email at /start, no card) lifts the limits to 10 live pages that last 7 days, with view stats, and lets Claude edit, pause and delete its pages. Pass it as a header:
claude mcp add --transport http mintpage https://mintpage.ai/mcp \
--header "Authorization: Bearer mp_your_key"
In a committed .mcp.json, don't paste the key. Claude Code expands ${VAR} in url and headers, so the file can carry the variable name and each developer sets their own key in the shell they start Claude Code from:
{
"mcpServers": {
"mintpage": {
"type": "http",
"url": "https://mintpage.ai/mcp",
"headers": {
"Authorization": "Bearer ${MINTPAGE_API_KEY}"
}
}
}
}
If the variable is unset the config still loads with the literal ${MINTPAGE_API_KEY} text and claude mcp list warns about it — and get_account answers plan: guest.
Prefer signing in to pasting a key? Add https://mintpage.ai/mcp/account instead of /mcp and run /mcp: Claude Code opens the browser for MintPage's OAuth sign-in and stores the token itself. That endpoint has the account tools (no rotate_api_key, which would revoke its own connection).
Prompts that work
- "Publish the migration plan as a page so I can send it for review. Paper theme."
- "Summarize everything you changed in this session, with the reasoning, and give me a link."
- "Turn the test output into a dark-themed page and update the same page on the next run."
- "Write onboarding notes for this repo (setup, scripts, where things live) and publish them."
- "Publish the handoff note for the next session and put the link at the end of CLAUDE.md."
Claude Code asks before running a tool it hasn't been allowed, so the first publish_page shows you the content that is about to go out. If you'd rather write the rules yourself, MCP tools are named mcp__<server>__<tool> in permission rules, so in .claude/settings.json:
{
"permissions": {
"allow": [
"mcp__mintpage__get_account",
"mcp__mintpage__list_pages",
"mcp__mintpage__get_page_stats"
]
}
}
keeps the read-only tools silent and leaves the prompt on publish_page, update_page and delete_page. mcp__mintpage__* would allow all 15.
A good line for CLAUDE.md: "When a report, plan or summary is longer than a screen, publish it with MintPage and reply with the link instead of pasting it."
What the page looks like
Claude sends the content exactly as it wrote it. MintPage renders it on a paper, ink (dark) or terminal (monospace) card, adds a title and byline if given, and returns https://mintpage.ai/p/<slug>. Guest and free pages carry a small MintPage badge and a safety notice; Pro pages don't. Scripts, forms, iframes and event handlers are stripped from HTML and every page is served with a strict Content-Security-Policy, so a page can't run code or read anything from the reader's browser. Pages are public to anyone with the link, and the tool description tells the agent never to publish secrets. Live examples are on the showcase.
Limits and price
| Plan | Live pages | Size | Lifetime | Extras |
|---|---|---|---|---|
| Guest (no key) | 3 per day | 250 KB | 24 hours | — |
| Free key | 10 | 1 MB | 7 days | stats, edit, pause, delete |
| Pro, $5/month or $39/year | 500 | 2 MB | permanent | custom slugs like /p/q3-review, search-indexable, no badge |
Prices are in USD; Stripe handles sales tax. Nothing to install on your side and nothing to host.
FAQ
Local, user or project scope? local (the default) is just you in this repo; user is you everywhere; project is .mcp.json, committed and shared. If the same name exists in two scopes, Claude Code uses the more specific one (local wins over project, project over user) — so a stale local entry with an old key can shadow the team's .mcp.json.
Does it work in claude -p and CI? Yes. Non-interactive runs load .mcp.json servers without the approval prompt, and a key from ${MINTPAGE_API_KEY} means the pipeline publishes under your account, not as a guest. Keep the key in the CI secret store.
Can Claude edit a page later? With a key, yes: update_page keeps the URL, and Claude can also list, pause, delete or revoke its pages. Guest pages can't be edited; they expire after 24 hours.
Can I keep a page private? No. Every page is public to anyone with the link, there are no passwords. Don't publish credentials, customer data or anything you wouldn't put in a public gist. A revoked link answers 410 forever.
Can a page run JavaScript or load my CSS? No scripts, ever; inline CSS is allowed (scoped to the article), external stylesheets are dropped. The publish result lists what was stripped as warnings.
Where do I see what Claude Code did? /mcp shows the connection; the publish result contains the URL, and with a key list_pages and get_page_stats show every page and its views. claude mcp get mintpage prints the stored config (useful when the header isn't what you thought).
Other ways in
The same server works from agent reports, ChatGPT, Claude.ai & Desktop, Codex CLI, Cursor, Gemini CLI, the Markdown API, VS Code, Windsurf, n8n. Full tool reference in the docs; what's public is on /security.
Try it in one line
No account needed. Pages last 24 hours as a guest, 7 days with a free key, forever on Pro.
claude mcp add --transport http mintpage https://mintpage.ai/mcp