stamp
Concierge MCP for agentic workflows: verified time + drift, uuid, diff, calc, attest, verify.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"stamp": {
"command": "uvx",
"args": [
"stamp-mcp"
]
}
}
}可运行的软件包
0.6.1stdio远程端点
https://stamp-mcp.terradev.cloud/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢get_time(server, timezone)
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.
输入模式
{
"type": "object",
"properties": {
"server": {
"type": "string",
"description": "NTP server to query",
"default": "time.cloudflare.com"
},
"timezone": {
"type": "string",
"description": "IANA timezone for a 'local' field, e.g. America/New_York. Optional -- the HTTP transport also takes ?tz= in the URL."
}
}
}⚪generate_uuid(count)
Generate one or more random UUIDv4 identifiers -- for records, sessions, and IDs created in agent pipelines.
输入模式
{
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "How many UUIDs to generate",
"default": 1,
"minimum": 1,
"maximum": 1000
}
}
}⚪diff(text_a, text_b, context)
Unified diff between two texts, with added/removed line counts. For reviewing edits, comparing outputs, or validating transformations.
输入模式
{
"type": "object",
"properties": {
"text_a": {
"type": "string",
"description": "Original text"
},
"text_b": {
"type": "string",
"description": "Revised text"
},
"context": {
"type": "integer",
"description": "Lines of context around each change",
"default": 3,
"minimum": 0
}
},
"required": [
"text_a",
"text_b"
]
}🟢calculate(expression)
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.
输入模式
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "e.g. \"(1500 * 0.23) + 47\""
}
},
"required": [
"expression"
]
}⚪attest(payload, server)
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.
输入模式
{
"type": "object",
"properties": {
"payload": {
"description": "Any JSON value to attest"
},
"server": {
"type": "string",
"description": "NTP server for the verified timestamp",
"default": "time.cloudflare.com"
}
},
"required": [
"payload"
]
}🟢verify(attested)
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.
输入模式
{
"type": "object",
"properties": {
"attested": {
"type": "object",
"description": "The record returned by attest"
}
},
"required": [
"attested"
]
}社区
证据