Give the Cursor agent a publish_page tool
Add MintPage to .cursor/mcp.json and the Cursor agent gets a publish_page tool: Markdown or HTML in, a shareable link out. Config, free key, prompts, limits.
Cursor's agent writes things that don't fit where they end up: a migration plan that needs sign-off, a "what changed and why" summary after a two-hour session, onboarding notes generated from the codebase. Pasted into a chat they lose their tables and code blocks; in a commit message they are too long. MintPage is a remote MCP server that gives the Cursor agent one more tool, publish_page: Markdown or HTML in, a public URL out, so the output becomes a link you can send to someone who isn't in the editor.
What the agent 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: plan and pages left today, without using a page- 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 read-only ones are marked so Cursor can allowlist them
Connect Cursor
Cursor reads MCP servers from .cursor/mcp.json in the project (shared with the repo) or ~/.cursor/mcp.json in your home folder (every project). Create either file with:
{
"mcpServers": {
"mintpage": {
"url": "https://mintpage.ai/mcp"
}
}
}
That is the whole setup: a remote server needs only url (Streamable HTTP; no command, no type). The server then shows under Customize in the sidebar, where you can switch it on and off. Cursor's docs say to restart Cursor after changing a custom server's files; if mintpage doesn't appear, that is the first thing to try.
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
Ask the agent: "Check my MintPage account." It calls get_account and answers with your plan and how many pages are left today. Nothing is published. If the server isn't listed, open the Output panel and pick MCP Logs in the dropdown: a JSON typo in mcp.json shows up there.
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 the agent edit, pause and delete its pages. Add it as a header:
{
"mcpServers": {
"mintpage": {
"url": "https://mintpage.ai/mcp",
"headers": {
"Authorization": "Bearer ${env:MINTPAGE_API_KEY}"
}
}
}
}
${env:NAME} is Cursor's own syntax: the key is read from your environment, so a project mcp.json can be committed without the key in it. Pasting the literal Bearer mp_… works too, in which case keep the file out of version control. If get_account still answers plan: guest after you added a key, the header didn't reach the server: check the spelling of headers and Authorization, and that the variable is set in the shell Cursor was started from.
Prompts that work
- "Publish the implementation 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."
Cursor asks for approval before running an MCP tool by default, so the first publish_page shows you what is about to go out. In Auto-review mode, tools you allowlist run without the prompt; get_account, list_pages and get_page_stats are safe to allowlist, they change nothing.
A good line for .cursor/rules: "When a report or plan is longer than a screen, publish it with MintPage and reply with the link instead of pasting it."
What the page looks like
The agent 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.
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
Project or global file? Use .cursor/mcp.json when the whole team should have the tool in this repo (with ${env:…} for the key), ~/.cursor/mcp.json when it's just for you across projects. If both define mintpage, keep one: with two definitions it is unclear which one (and which key) a tool call uses.
Can the agent edit a page later? With a key, yes: update_page keeps the URL, and the agent 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.
Other ways in
The same server works from agent reports, ChatGPT, Claude.ai & Desktop, Claude Code, Codex CLI, Gemini CLI, the Markdown API, VS Code, Windsurf, n8n. Full tool reference in the docs; live examples on the showcase; 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