Purpose
tempmd-mcp is the MCP server for temp.md, used to provide a stable public link for works generated by agents, with support for in-place updates. After publishing HTML, Markdown, CSV, or Mermaid works, you get a canonical URL, for example amber-hill-9eb6.temp.md.
Main capabilities
- Publish a public link for works generated by agents; the link can be updated in place without needing to reshare it.
- Supports publishing HTML, Markdown, CSV, or Mermaid type works.
- Temp expires based on activity: a 7-day active window, reset on each update; recoverable within 7 days after expiration.
publish_tempandupdate_tempacceptspa_mode: true, for single-page applications with client-side routing; static sites should keep it off so missing resources return 404.
Usage
Remote method (no installation required)
The remote MCP accepts inline UTF-8 or base64 files. Anonymous publishing requires no credentials. To publish directly to an account and use account tools, configure Authorization: Bearer <tempmd_key_...>in the connection. Remote transport is limited to 10 MiB and 20 inline files per package.
Local stdio (suitable for filesystem access and larger directories)
Add it to the MCP configuration of Cursor, Windsurf, or any MCP client. The stdio package uses local paths and supports the full 50 MiB / 100 file package.
tempmd-mcp is still provided as a compatibility package, with the same implementation as the version.
No account or API key is required—temp.md prioritizes anonymous creation. You can later claim a Temp to keep it.
How credentials work
publish_temp saves the record (Temp ID, URL, update token, expiration time) to the .tempmd file in the project root. All other tools automatically read this file, so agents can update the same Temp across sessions without you having to manually manage tokens. The token can also be passed explicitly via update_token .
If the update token should not be shared with everyone who can read the repository, add .tempmd to .gitignore.
Limits
- Upload limits are 10 MB per file, 50 MB per package, and 100 files.
- Publish and update limits are 60/hour/IP and 120/hour/Temp/IP respectively.
- Remote transport is limited to 10 MiB and 20 inline files per package.
Semantics agents should preserve
- The canonical URL is the only link that needs to be shared—never expose version-specific links.
- A failed update does not break the existing link; the last successful version continues to be served.
- When a project already has a Temp for a work, prefer using
update_tempinstead ofpublish_temp.
This repository is mirrored from the packages/mcp package in the temp.md monorepo, where development takes place.