npm @tempmd/mcpstreamable-httpMITupdated 13d ago
MCP server for temp.md — give agent-made artifacts one stable public link that updates in place.
¿Qué puedes hacer con tempmd?
@tempmd/mcp
MCP server for temp.md — give agent-made artifacts one stable public link that updates in place.
Publish an HTML, Markdown, CSV, or Mermaid artifact and get a canonical URL like amber-hill-9eb6.temp.md. Push new versions behind the same URL — no re-sharing, ever. Temps expire intentionally when the work goes cold (7-day active window, resets on every update) and can be restored within 7 days of expiry.
Install
Remote — no install
claude mcp add --transport http tempmd https://api.temp.md/mcp
Remote MCP accepts inline UTF-8 or base64 files. Anonymous publishing needs no
credential. To publish directly into an account and use account tools, configure
the connection with Authorization: Bearer <tempmd_key_...>.
Local stdio — best for filesystem access and larger directories
claude mcp add tempmd -- npx -y @tempmd/mcp
Cursor / Windsurf / any MCP client — add to your MCP config:
{
"mcpServers": {
"tempmd": {
"command": "npx",
"args": ["-y", "@tempmd/mcp"]
}
}
}
tempmd-mcp remains available as a compatibility package with the same
implementation and version.
No account or API key required — temp.md is anonymous-create-first. Claim a Temp later to keep it.
The remote transport is limited to 10 MiB and 20 inline files per bundle. The stdio package uses local paths and supports the full 50 MiB / 100-file bundle.
Tools
| Tool | Local stdio | Remote | What it does |
|---|---|---|---|
publish_temp |
✓ | ✓ | Publish a new artifact and get a stable public URL |
update_temp |
✓ | ✓ | Push a new version behind the same URL |
get_temp_status |
✓ | ✓ | Check lifecycle and restore eligibility |
restore_temp |
✓ | ✓ | Bring a recently expired Temp back at the same URL |
snapshot_temp |
✓ | ✓ | Freeze the current version as a fixed reference |
set_comments |
✓ | ✓ | Toggle pinned visitor comments |
list_temps |
✓ | ✓ | List local project records or account-owned Temps |
recover_update_token |
— | ✓ | Rotate and recover a lost scoped update token |
publish_temp and update_temp accept spa_mode: true for client-routed
single-page apps. Leave it off for static sites so missing assets return 404.
Uploads are capped at 10 MB per file, 50 MB per bundle, and 100 files; publish
and update limits are 60/hour/IP and 120/hour/Temp/IP respectively.
How credentials work
publish_temp saves a record (Temp ID, URL, update token, expiry) to a .tempmd file in the project root. Every other tool reads that file automatically, so an agent can update the same Temp across sessions without you managing tokens. Tokens can also be passed explicitly via update_token.
Add .tempmd to .gitignore if the update token shouldn't be shared with everyone who can read the repo.
Configuration
| Env var | Default | Purpose |
|---|---|---|
TEMPMD_API_URL |
https://api.temp.md |
Point at a different API (e.g. local dev http://localhost:8787) |
Development
This repo mirrors the packages/mcp package from the temp.md monorepo, where development happens. Issues and feature requests are welcome here.
Semantics agents should preserve
- The canonical URL is the only link to share — never surface version-specific links.
- A failed update never breaks the live link; the last successful version keeps serving.
- Prefer
update_tempoverpublish_tempwhen the project already has a Temp for the artifact.
Instalación
Añade tempmd a tu cliente. Elige el que uses.
{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.temp.md/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp -- npx -y @tempmd/mcpcodex mcp add mcp -- npx -y @tempmd/mcpamp mcp add mcp -- npx -y @tempmd/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tempmd/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tempmd/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tempmd/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tempmd/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tempmd/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@tempmd/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@tempmd/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @tempmd/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
8 herramientas
tempmd expone 8 herramientas a un agente conectado.
- publish_temp
- ✓
- update_temp
- ✓
- get_temp_status
- ✓
- restore_temp
- ✓
- snapshot_temp
- ✓
- set_comments
- ✓
- list_temps
- ✓
- recover_update_token
- —
Puntuación
78 / 100
Buena
- Documentación22/25
- Mantenimiento19/25
- Confianza16/20
- Capacidad6/15
- Instalación15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 5 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 8 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Historial de versiones
| Versiones | Publicada |
|---|---|
| 0.4.3Última | 27 ago 2026 |
| 0.4.2 | 27 ago 2026 |