Stamp

io.github.theoddden由 GitHub 帳號 theoddden 發布v0.6.1更新於 Oct 27, 2026

Concierge MCP for agentic workflows: verified time + drift, uuid, diff, calc, attest, verify.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

輕量工具型 MCP 伺服器,提供經 NTP 驗證的時間與漂移趨勢、UUID 產生、文字 diff、安全數學計算,以及防竄改的 attest/verify 記錄。

可以做什麼
  • 查詢 NTP 伺服器取得目前 UTC 時間與本機時鐘偏移,並記錄漂移速率與穩定趨勢
  • 產生一個或多個隨機 UUIDv4 識別碼,用於記錄、工作階段或流程中的 ID
  • 比較兩段文字並給出統一 diff 及新增、刪除行數
  • 透過白名單 AST 安全求值數學運算式,不使用 eval 或執行任意程式碼
  • 把任意內容包裝成含 UUID、時間戳與 sha256 的防竄改記錄
  • 驗證 attest 產生的記錄,重新計算雜湊並回傳通過或失敗
適用情境
適合代理需要可信時間戳、穩定識別碼、快速文字比對、算術計算,或需要證明某段內容在某個時刻未被更動的情境。它是通用輔助工具,而非權威記錄系統。
執行需求
可作為遠端 streamable HTTP 端點使用,也可透過 stdio 執行本機 Python 套件 stamp-mcp。未宣告驗證、環境變數或請求標頭。要取得經 NTP 驗證的時間戳需能連線 NTP 伺服器,否則使用本機時鐘並在記錄中註明。
安裝前請注意
attest 與 verify 僅為防竄改雜湊,並非簽章或公證服務,任何人都能重新計算雜湊,應只視為完整性檢查。時間準確度取決於能否連線 NTP,無法連線時會退回本機時鐘。反覆查詢時間會持續累積漂移日誌樣本。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "stamp": {
      "type": "http",
      "url": "https://stamp-mcp.terradev.cloud/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

6

get_time

Query an NTP server for current UTC time and this clock's offset. Appends the sample to the drift log and returns the trend inline: current offset, drift rate (ms/day), and whether the clock is stable, drifting, or accelerating.

輸入參數servertimezone

generate_uuid

Generate one or more random UUIDv4 identifiers -- for records, sessions, and IDs created in agent pipelines.

輸入參數count

diff

Unified diff between two texts, with added/removed line counts. For reviewing edits, comparing outputs, or validating transformations.

輸入參數text_a必填text_b必填context

calculate

Evaluate a math expression safely: + - * / // % **, parentheses, functions (abs round min max sqrt floor ceil exp log log2 log10 pow sin cos tan), constants pi e tau inf. Parsed to an AST and only whitelisted nodes are computed -- no eval(), no names, no arbitrary code.

輸入參數expression必填

attest

Wrap any payload in a tamper-evident record: a UUID, a timestamp (NTP-verified when reachable, local clock otherwise -- the record says which), and a sha256 over the canonical record. One call, the record is complete and tamper-evident.

輸入參數serverpayload必填

verify

Check a record produced by attest: recompute the sha256 over the record and compare. Pass/fail -- did this payload produce this hash at this timestamp. Any modified field breaks it.

輸入參數attested必填

版本歷史

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

評分

已滿足適用檢查項的 75%

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

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

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。