Otskit Mcp

io.github.AlexAlves87由 GitHub 帳號 AlexAlves87 發布v0.2.1更新於 Oct 24, 2026

Stamp, upgrade, and verify Bitcoin timestamps via AI agents. No API keys required.

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理用 OpenTimestamps 為檔案或 SHA-256 雜湊打時間戳、查詢比特幣確認並驗證證明。

可以做什麼
將 SHA-256 雜湊或本機檔案提交到公開 OpenTimestamps 日曆打時間戳,並在本機保存證明。查詢待確認時間戳的比特幣確認狀態並進行升級。對照比特幣區塊鏈驗證已存時間戳或外部 .ots 證明檔案。離線檢查已存證明、依狀態列出時間戳,並計算本機檔案的 SHA-256 雜湊。
適用情境
適合需要助理證明某文件或雜湊在某個比特幣區塊之前已存在,或在對話中追蹤與驗證 OpenTimestamps 證明、而不使用命令列的情境。
執行需求
以本機程序執行,透過 npm 套件 @otskit/mcp 安裝,需要 Node.js 20 或更新版本。無需 API 金鑰。需要連線至公開 OpenTimestamps 日曆的網路,並會在使用者家目錄下的本機目錄寫入資料。
安裝前請注意
打時間戳會把檔案的 SHA-256 雜湊傳送到公開 OpenTimestamps 日曆,雜湊因此對第三方可見。證明在比特幣確認前一直處於待確認狀態,可能耗時數小時。伺服器會寫入本機 SQLite 資料庫,設定時可能修改代理設定檔並保留備份。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[OTSkit MCP]

@otskit/mcp

[CI] [npm version] [npm downloads] [TypeScript] [Node] [Coverage] [Quality Gate] [License] [smithery badge]

OpenTimestamps MCP server - stamp, upgrade, and verify Bitcoin timestamps via AI agents.

Exposes a set of tools to any MCP-compatible agent so it can timestamp documents, monitor confirmation status, and verify proofs against the Bitcoin blockchain - all from a conversation.

This is an independent implementation of the OpenTimestamps protocol. It is not affiliated with, endorsed by, or maintained by the OpenTimestamps project.

[OTSkit MCP server on Glama — security, license and quality rating plus download count]

Note on confirmation times: After stamping, a proof is pending until Bitcoin confirms it. Confirmations typically arrive within ~60 minutes, but can take several hours during network congestion. Use ots-mcp watch or upgrade_timestamp to monitor. A pending proof is not a failed proof.

Install

bash
npm install -g @otskit/mcp

Agent setup

bash
ots-mcp setup claude        # Claude Desktopots-mcp setup claude-code   # Claude Code CLIots-mcp setup codex         # Codex CLI

Each command writes the MCP entry into the agent's config file, makes a .bak backup if the file already exists, and skips if ots-mcp is already configured. Restart the agent afterwards to apply the changes.

CLI commands

CommandDescription
ots-mcp serveStart the MCP server (stdio transport)
ots-mcp stamp <sha256>Stamp a SHA-256 hash against Bitcoin calendars
ots-mcp upgrade <id>Check if a pending stamp has been confirmed
ots-mcp verify <id>Verify a stamp against Bitcoin
ots-mcp list [status]List stamps (pending / confirmed / failed)
ots-mcp watch [minutes]Monitor pending stamps and attempt due upgrades (default: 30 min, minimum: 15 min)
ots-mcp check-pendingRun one upgrade pass over all pending stamps
ots-mcp scheduler install|remove|statusManage OS-level scheduler for auto-upgrades
ots-mcp backup [dest]Backup the SQLite database
ots-mcp setup <claude|claude-code|codex>Configure MCP for an agent

MCP tools exposed to agents

ToolDescription
create_timestampStamp a SHA-256 hash against 4 public OTS calendars
upgrade_timestampCheck if a pending stamp has been confirmed in Bitcoin
verify_timestampVerify a stamp - proves hash existed before a given Bitcoin block
verify_external_proofVerify a whitelisted local file against its external .ots proof, without changing the local stamp store
inspect_timestampInspect a stored proof file without network calls
list_pendingList stamps with status, retry count, and filters
watchOpen a terminal window monitoring pending stamps and attempting due upgrades
hash_fileCompute the SHA-256 of a local file and return it as a 64-char hex string (no network calls)
stamp_fileCompute SHA-256 of a local file and stamp it on Bitcoin in one step

Data directory

All data is stored in ~/.ots-mcp/:

text
~/.ots-mcp/  ots-mcp.db       # SQLite database (stamps, proof files)  config.json      # Optional config overrides  ots-mcp.log      # Log file

Configuration

Create ~/.ots-mcp/config.json to override defaults:

json
{  "stamp_enabled": true,  "scheduler_interval_minutes": 30,  "retry_max_attempts": 20,  "calendar_timeout_ms": 10000,  "calendars": [    "https://alice.btc.calendar.opentimestamps.org",    "https://bob.btc.calendar.opentimestamps.org",    "https://finney.calendar.eternitywall.com",    "https://btc.calendar.catallaxy.com"  ]}

Development

bash
npm run build    # production buildnpm run dev      # watch modenpm test         # run tests

Dependencies

Requires Node.js >= 20.

來源:README.md,提交 39799bd

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分