Vtimestamp Write

io.github.vdappdev2由 GitHub 帳號 vdappdev2 發布v1.0.0更新於 Oct 24, 2026

MCP server for creating vtimestamp proofs on the Verus blockchain via a local or remote daemon

已驗證STDIO僅桌面檔案與儲存金融

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理透過 Verus 守護程式在 Verus 區塊鏈上為文件建立 SHA-256 時間戳,寫入指定的 VerusID。

可以做什麼
從檔案路徑或給定文字在 VerusID 上建立時間戳,自動計算 SHA-256 雜湊,並可附上標題、描述、檔名與檔案大小。為鏈上交易指定出資地址與費用報價。項目以公開加密資料寫入身分的內容多重對應,之後任何人都能解密。身分不存在、雜湊重複、檔案缺失或守護程式 RPC 失敗時會回報錯誤。
適用情境
適合需要助理把文件或聲明錨定到 Verus 區塊鏈上自己 VerusID 的情境,例如為報告、發票核准或合約打時間戳。若只需唯讀驗證且不想執行守護程式或錢包,README 建議改用另一個唯讀伺服器。
執行需求
透過 npx 在本機執行,需要 Node.js 18 以上版本。需要執行中的 Verus 守護程式(verusd),啟用 RPC,且該身分的私鑰已匯入其錢包。RPC 憑證會從 VRSC.conf 自動讀取;遠端守護程式可透過 VERUS_RPC_URL、VERUS_RPC_USER 與 VERUS_RPC_PASSWORD 設定,VERUS_NETWORK 選擇主網或測試網。
安裝前請注意
會執行鏈上寫入並產生少量交易費(預設 0.0001 VRSC),由 sourceoffunds 與 feeoffer 參數控制。守護程式錢包必須持有該身分的私鑰,因此伺服器可簽署並廣播身分更新。它會讀取 VRSC.conf 取得 RPC 憑證,而這些憑證以明文 HTTP 傳輸;連接遠端守護程式時 README 建議使用 SSH 通道,不要直接暴露 RPC 連接埠。時間戳為公開加密,任何人都能解密。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

vtimestamp-mcp-write

MCP server for creating vtimestamp proofs on the Verus blockchain.

Enables AI agents (Claude Desktop, VS Code, etc.) to create document timestamps on a VerusID — writing directly to the Verus blockchain via a local or remote daemon.

Looking for the read-only server? See vtimestamp-mcp — no daemon or wallet required.

Prerequisites

  • Node.js 18+
  • Verus daemon (verusd) running with:
    • The identity's private key imported into the wallet
    • RPC access enabled (default on localhost)

Installation

Claude Code

bash
claude mcp add --transport stdio --scope user vtimestamp-write -- npx vtimestamp-mcp-write@latest

Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "vtimestamp-write": {
      "command": "npx",
      "args": ["-y", "vtimestamp-mcp-write@latest"]
    }
  }
}

That's it — the server auto-detects your RPC credentials from VRSC.conf (see Configuration below).

VS Code

Add to your VS Code MCP settings:

json
{
  "mcp": {
    "servers": {
      "vtimestamp-write": {
        "command": "npx",
        "args": ["-y", "vtimestamp-mcp-write@latest"]
      }
    }
  }
}

Configuration

The server automatically reads RPC credentials from your local VRSC.conf file. No manual configuration is needed for most users.

Auto-detected VRSC.conf paths:

  • macOS: ~/Library/Application Support/Komodo/VRSC/VRSC.conf
  • Linux: ~/.komodo/VRSC/VRSC.conf
  • Windows: %AppData%\Roaming\Komodo\VRSC\VRSC.conf

Environment Variables

All optional — only needed for non-standard setups or remote daemons.

VariableDescription
VERUS_CONF_PATHCustom path to VRSC.conf
VERUS_RPC_URLOverride: daemon RPC URL (for remote daemons)
VERUS_RPC_USEROverride: RPC username (for remote daemons)
VERUS_RPC_PASSWORDOverride: RPC password (for remote daemons)

Tools

vtimestamp_create

Create a new timestamp on a VerusID. Provide either a file path or text — the server computes the SHA-256 hash automatically.

ParameterTypeRequiredDescription
identitystringYesVerusID name (e.g., alice@)
file_pathstringOne ofPath to a file to hash and timestamp
textstringOne ofText to hash and timestamp (e.g., an attestation or report)
titlestringYesTitle for the timestamp
descriptionstringNoDescription of the content
filenamestringNoOriginal filename (auto-detected when using file_path)
filesizenumberNoFile size in bytes (auto-detected when using file_path)
sourceoffundsstringNoFunding address (R-address, z-address, or ID@)
feeoffernumberNoFee offer in VRSC (default: 0.0001)

Either file_path or text must be provided (mutually exclusive).

Example prompts:

  • "Timestamp the file at /path/to/report.pdf on alice@"
  • "Timestamp this text on alice@: I attest that invoice #4521 was approved"

Success response:

json
{
  "success": true,
  "identity": "alice@",
  "hash": "a7f3b2c1...",
  "title": "Q4 Report",
  "transaction_id": "abc123...",
  "message": "Timestamp created successfully"
}

Error cases:

  • Identity not found → error with identity name
  • Duplicate hash → error with existing block height and txid
  • File not found → InvalidParams error
  • RPC failure → error with daemon message

How It Works

The server connects to your Verus daemon (local or remote) to create on-chain timestamps. The daemon must have the identity's private key in its wallet to sign the updateidentity transaction.

AI Agent (Claude Desktop, VS Code, etc.)
    │ stdio (JSON-RPC)
    ▼
vtimestamp-mcp-write (local)
    │ HTTP (JSON-RPC 1.0, with auth)
    ▼
Your Verus Daemon (verusd)
    ├── Has identity's private key in wallet
    ├── Signs and broadcasts updateidentity tx
    └── Local (127.0.0.1) or remote (VPS)

On-chain storage shape

As of v1.2.0, this server writes timestamps as public-encrypted entries under the VerusID's contentmultimap. Each timestamp produces a single entry under the proof.basic outer key (iJvkQ3uTKmRoFiE3rtP8YJxryLBKu8enmX) using the daemon's {data: {...}} envelope shorthand. The daemon expands that to an on-chain DataDescriptor with flags: 13 (HAS_OBJECTDATA | ENCRYPTED | HAS_IVK) — ciphertext in objectdata, plus published epk and ivk fields.

The metadata (sha256, title, description, filename, filesize) is JSON-stringified into a single message before encryption, so one decrypt call recovers all fields. Because the IVK is published on-chain (public-encrypted mode), anyone can decrypt these entries — no key sharing or wallet access is required for readers. See vtimestamp-mcp for the read side.

What this means for inspection:

  • Inspecting the cmm via any read RPC (getidentity, getidentityhistory, getidentitycontent) returns the ciphertext descriptor, not readable strings.
  • Recovering the original fields requires a decryptdata call passing the descriptor + the originating txid + retrieve: true. The daemon stores ciphertext as an indirect reference back to the writing transaction — the txid is part of the decrypt input.
  • Verifying a hash against an identity does not require a wallet — only daemon RPC access to a node that has decryptdata whitelisted.

Legacy entries continue to work. Timestamps written by 1.1.x and earlier (plaintext per-field DataDescriptors with flags: 0) remain on-chain forever (cmm is append-only), and [email protected]+ reads both shapes transparently.

For background, see How to Publish Encrypted Data on an Identity.

Daemon Setup

Local daemon

The simplest setup — verusd runs on the same machine as the MCP server. No configuration needed — credentials are auto-detected from VRSC.conf.

Remote daemon (VPS)

You can point the MCP server at a verusd instance running on another machine (e.g., a VPS). The daemon needs two config changes in its VRSC.conf:

  1. Allow your IP: Add rpcallowip=<your-ip> (the daemon only accepts localhost by default)
  2. Open the port: Ensure the RPC port (27486) is reachable through any firewalls

Then set the env var overrides (VERUS_RPC_URL, VERUS_RPC_USER, VERUS_RPC_PASSWORD) in your MCP config.

Important: RPC credentials are sent over plain HTTP. If connecting over the open internet (not a local network), use an SSH tunnel to secure the connection:

bash
ssh -L 27486:127.0.0.1:27486 user@your-vps

Then use VERUS_RPC_URL=http://127.0.0.1:27486 as if it were local — the tunnel handles the rest.

Security Notes

  • This server reads your VRSC.conf to auto-detect RPC credentials — no secrets are copied or stored elsewhere
  • This server performs on-chain writes that cost a small transaction fee (default 0.0001 VRSC)
  • The server only connects to your local daemon (or the URL you configure) — no data is sent elsewhere
  • If connecting to a remote daemon, use an SSH tunnel rather than exposing the RPC port directly
  • The sourceoffunds parameter can be used to control which address pays fees

License

MIT

來源:README.md,提交 2fda4e1

工具

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

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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