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 分

    请在仓库或注册中心条目中声明许可证。