Tempmd

io.github.tempmd由 GitHub 帳號 tempmd 發布v0.4.3更新於 Nov 2, 2026

Publish artifacts to one stable public temp.md link that updates in place. No account needed.

已驗證Streamable HTTP可網頁執行檔案與儲存開發者工具

概覽

AI 產生的概覽

把代理產生的 HTML、Markdown、CSV 或 Mermaid 成品發佈到一個固定的 temp.md 公開連結,並在原連結上更新。

可以做什麼
  • 發佈內嵌文字或 base64 檔案包,取得一個標準的公開網址
  • 在同一個網址推送新版本,或將目前版本凍結成固定快照
  • 查看生命週期、到期時間、還原資格、歸屬與審核狀態
  • 在寬限期內把剛過期的 Temp 以同一網址還原
  • 開關 Temp 上的置頂訪客留言
  • 列出帳號擁有的 Temp,並輪替遺失的限定更新權杖
適用情境
適合代理產出報告、儀表板、HTML 頁面或圖表,需要讓別人用瀏覽器開啟,且內容反覆修改時連結保持不變。也適合在不想架設託管或註冊帳號的情況下分享成品。
執行需求
可作為遠端端點使用,也可透過 npx 執行本機 npm 套件。匿名發佈不需要帳號或 API 金鑰;發佈到帳號並使用帳號工具時,需在 Authorization 標頭提供 temp.md API 金鑰。選用環境變數 TEMPMD_API_URL 可覆寫 API 基礎位址。遠端方式限制為 10 MiB、20 個內嵌檔案,本機套件支援 50 MiB、100 個檔案。
安裝前請注意
發佈後的成品在固定網址上公開,檔案包中的任何內容對取得連結的人都可見。本機套件會在專案根目錄寫入 .tempmd 檔案,內含 Temp ID、網址、更新權杖與到期時間;該權杖可更新內容,倉庫共用時應把該檔案加入 .gitignore。列出 Temp、輪替更新權杖等帳號工具需在 Authorization 標頭提供帳號 API 金鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tempmd,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.tempmd%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "tempmd": {
      "type": "http",
      "url": "https://api.temp.md/mcp"
    }
  }
}

README

@tempmd/mcp

[tempmd-mcp MCP server]

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

bash
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

bash
claude mcp add tempmd -- npx -y @tempmd/mcp

Cursor / Windsurf / any MCP client — add to your MCP config:

json
{  "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

ToolLocal stdioRemoteWhat 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 varDefaultPurpose
TEMPMD_API_URLhttps://api.temp.mdPoint 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_temp over publish_temp when the project already has a Temp for the artifact.

來源:README.md,提交 8cb6fab

工具

8

publish_temp

Publish a new Temp

Publish an inline text or base64 bundle to a stable public URL. Send index.html as the main page. Repeated identical calls are idempotent. If the MCP connection uses a temp.md account API key, the Temp is owned by that account immediately.

輸入參數files必填titlespa_modeidempotency_key

update_temp

Update an existing Temp

Atomically publish a new inline bundle behind the same canonical URL. The previous Version stays live if this call fails.

輸入參數files必填titletemp_id必填spa_modeupdate_tokenidempotency_key

get_temp_status

Get Temp status

Inspect lifecycle, expiry, restore eligibility, ownership, moderation, and settings.

輸入參數temp_id必填update_token

restore_temp

Restore an expired Temp

Reactivate an expired Temp during its restore grace period without changing its URL.

輸入參數temp_id必填update_token

snapshot_temp

Freeze a snapshot

Create a fixed snapshot URL for the current Version while the canonical URL continues to track the latest Version.

輸入參數labeltemp_id必填update_token

set_comments

Enable or disable comments

Toggle pinned visitor feedback on a Temp.

輸入參數enabled必填temp_id必填update_token

list_temps

List account Temps

List Temps owned by the account API key supplied in the MCP Authorization header.

無需輸入參數。

recover_update_token

Recover a Temp update token

Rotate every prior scoped update token and return one replacement. Requires an owning account API key in the MCP Authorization header.

輸入參數temp_id必填

版本歷史

1
  1. v0.4.3最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分