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 分