Definecurrency

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

MCP server for defining Verus currencies — tokens, fractional baskets, centralized, ERC-20 mapped

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

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理定義並發行新的 Verus 貨幣,包括代幣、分數儲備籃子、中心化貨幣與 ERC-20 對應代幣。

可以做什麼
定義並發行新的 Verus 貨幣:代幣、分數儲備籃子、中心化貨幣與 ERC-20 對應代幣,透過一個針對指定鏈的貨幣定義工具完成。
適用情境
當你希望助理協助起草並在本機守護程式上發行新的 Verus 貨幣時使用,可與鏈、身分、傳送、資料、地址與市場等其他 VerusIDX 伺服器搭配。
執行需求
透過 npx 從 npm 套件以 stdio 在本機執行;需要 Node.js 18+ 與執行中的 Verus 守護程式。建議先安裝基礎鏈伺服器,因為它會自動探索守護程式並寫入其他伺服器讀取的鏈登錄檔。每個工具都需要 chain 參數;無需 API 金鑰或帳號。
安裝前請注意
定義貨幣是寫入操作,會在鏈上花費真實資金且無法復原。唯讀模式(VERUSIDX_READ_ONLY)可停用寫入工具,傳送類伺服器受支出上限約束,但授權前應檢查上限與稽核日誌。憑證來自守護程式自身的 .conf 檔案。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

VerusIDX MCP Servers

[npm] [npm] [npm] [npm] [npm] [npm] [npm] [License: MIT]

7 MCP servers giving AI agents direct, local access to the Verus blockchain — 49 tools, zero cloud dependencies. No API keys. No accounts. No intermediary between the agent and the chain.

Works with Claude Code, Cursor, and any MCP-compatible client.

What Can an Agent Do?

  • Identity — create, update, revoke, and recover VerusIDs (protocol-level blockchain identities with on-chain data storage)
  • Data — store, retrieve, and decrypt on-chain data; sign and verify with SHA-256, Blake2b, Keccak-256, or Merkle Mountain Range proofs; share decryption access via viewing keys
  • Send & convert — move currency, convert through fractional baskets, cross-chain transfers via PBaaS bridges
  • Create currencies — define tokens, fractional reserve baskets, centralized currencies, ERC-20 mapped tokens
  • Trade — on-chain atomic swaps for currency-for-currency, currency-for-ID, or ID-for-ID
  • Privacy — shielded transactions via Sapling zero-knowledge proofs

Quick Start

Prerequisites: a running Verus daemon and Node.js 18+.

Add the foundation server to your MCP client config:

json
{  "mcpServers": {    "verusidx-chain": {      "command": "npx",      "args": ["-y", "@verusidx/chain-mcp"]    }  }}

Then tell your AI to call refresh_chains — it discovers your local daemons automatically. That's it.

No separate install step — npx fetches and runs the package on demand. Add more servers as you need them (see below).

Servers

PackageToolsPurpose
@verusidx/chain-mcp11Foundation — chain discovery, daemon management, health checks, currency lookup, raw transactions, RPC help
@verusidx/identity-mcp11Create, manage, and query VerusIDs
@verusidx/send-mcp8Send, convert, and transfer currency; check balances and conversions
@verusidx/data-mcp7Retrieve, decrypt, sign, and verify on-chain data; manage viewing keys
@verusidx/address-mcp6Generate, validate, and list transparent and shielded addresses
@verusidx/marketplace-mcp5On-chain offers and trades
@verusidx/definecurrency-mcp1Define and launch new currencies

chain-mcp is the foundation. It discovers running daemons and writes a registry file that all other servers read. Install it first. Every tool requires a chain parameter (e.g., "VRSC", "vrsctest") — there is no default chain.

Adding More Servers

Each server is independent — add or remove without affecting the others:

json
{  "mcpServers": {    "verusidx-chain": {      "command": "npx",      "args": ["-y", "@verusidx/chain-mcp"]    },    "verusidx-identity": {      "command": "npx",      "args": ["-y", "@verusidx/identity-mcp"]    },    "verusidx-send": {      "command": "npx",      "args": ["-y", "@verusidx/send-mcp"]    },    "verusidx-data": {      "command": "npx",      "args": ["-y", "@verusidx/data-mcp"]    }  }}

Same pattern for @verusidx/address-mcp, @verusidx/marketplace-mcp, and @verusidx/definecurrency-mcp. See each package's README for details.

Safety

Giving an AI agent access to a wallet has real consequences. These servers are designed with that in mind.

FeatureHow it works
Read-only modeSet VERUSIDX_READ_ONLY=true per-server — write tools aren't just disabled, they're not registered. The AI can't see or attempt them.
Spending limitsPer-currency caps in spending-limits.json, enforced before the RPC call reaches the daemon. Default: 10 VRSC per transaction.
Audit loggingEvery write operation logged to date-stamped, append-only JSONL files with 0600 permissions.
No new attack surfaceCredentials read from the daemon's own .conf file. No cloud storage. No env vars with passwords.
Minimal dependenciesShared library has zero runtime deps. MCP servers depend on exactly 2 packages: @modelcontextprotocol/sdk and zod.

Architecture

AI Client (Claude Code, Cursor, etc.)    |    |  stdio (local process, no network)    vverusidx MCP servers (7 servers, 49 tools)    |    |  JSON-RPC over localhost    vverusd (your local Verus daemon)
  • Shared library (@verusidx/shared) — registry reader, RPC client with credential caching, error normalization, audit logging, spending limits, read-only guard. Zero runtime dependencies.
  • Chain registry — chains.json written atomically by chain-mcp, read by all other servers via stat()-based cache invalidation.
  • Each server runs as a separate process via stdio transport. No shared memory between servers.

Configuration

Environment variables you can set (optional):

VariableApplies toDescription
VERUSIDX_READ_ONLYAll serverstrue to disable write tools. Set per-server for fine-grained control.
VERUSIDX_AUDIT_LOGAll serversfalse to disable audit logging (default: enabled)
VERUSIDX_AUDIT_DIRAll serversCustom audit log directory
VERUSIDX_SPENDING_LIMITS_PATHAll serversCustom path to spending-limits.json
VERUSIDX_DATA_DIRchain-mcpOverride the chain data directory for discovery
VERUSIDX_EXTRA_CHAINSchain-mcpAdd remote daemons. Format: name:host:port:user:pass, comma-separated
VERUSIDX_BIN_PATHchain-mcpDirectory containing the verusd binary (if not on PATH)

Spending Limits

Servers that send funds (send-mcp, marketplace-mcp) enforce per-currency spending limits. A default spending-limits.json is created automatically on first run:

json
{  "VRSC": 10}

This caps any single sendcurrency call at 10 VRSC. To adjust limits, edit the file at:

  • macOS: ~/Library/Application Support/verusidx-mcp/spending-limits.json
  • Linux: ~/.config/verusidx-mcp/spending-limits.json
  • Windows: %APPDATA%\verusidx-mcp\spending-limits.json

Add entries for any currency: { "VRSC": 100, "Bridge.vETH": 0.5 }. Currency names are case-insensitive.

Development

bash
# Prerequisites: Node.js >= 18, pnpmpnpm installpnpm -r build              # build all packagespnpm -r test               # test all packages
# Build a specific server and its dependenciespnpm --filter @verusidx/chain-mcp... build

Project Structure

verusidx-mcp/├── packages/│   ├── shared/          # @verusidx/shared — internal library│   ├── chain/           # @verusidx/chain-mcp — foundation server│   ├── identity/        # @verusidx/identity-mcp│   ├── send/            # @verusidx/send-mcp│   ├── data/            # @verusidx/data-mcp│   ├── definecurrency/  # @verusidx/definecurrency-mcp│   ├── marketplace/     # @verusidx/marketplace-mcp│   └── address/         # @verusidx/address-mcp└── tool-specs/          # Agent-facing tool description specs

Supply Chain Security

  • Zero runtime dependencies in the shared library (Node built-ins + built-in fetch)
  • MCP servers depend only on @modelcontextprotocol/sdk and zod
  • onlyBuiltDependencies: [] blocks dependency install scripts
  • All credentials read from daemon .conf files — never stored by the MCP servers

About Verus

Verus is an open-source, fair-launch blockchain — no ICO, no premine, no VC funding. Running since 2018 with hybrid PoW/PoS consensus and a CPU-mineable hash algorithm (VerusHash 2.2).

There are no smart contracts. Identity, data storage, DeFi conversions, atomic swaps, privacy (Sapling zk-proofs), and cross-chain bridges (PBaaS) are all consensus-level protocol features. For AI agents that need to transact reliably, protocol-level guarantees beat contract-level ones.

License

MIT

來源:README.md,提交 239375b

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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