Token导航 LogoToken导航TokenDH.com
待分类external-servicegithub未标认证来源可访问许可证需确认审计提醒

mcp-walletMCP wallet 命令行

Agent Skill

mcp-wallet 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

294

周安装

12

GitHub Stars

公开资料未说明

下载量

95
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mcp-wallet(MCP wallet 命令行)
来源仓库:https://github.com/casualsecurityinc/xno-skills
仓库路径:skills/mcp-wallet
安装命令:
npx skills add https://github.com/casualsecurityinc/xno-skills --skill mcp-wallet
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/casualsecurityinc/xno-skills --skill mcp-wallet

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合围绕代码变更或仓库状态进行整理分析。mcp-wallet 属于待分类类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 安装,建议核验权限范围和命令执行风险。
  • 使用前应确认维护状态及是否会触发网络请求。
  • 可结合原始 README 了解具体操作流程。

SKILL.md

xno-mcp Wallet Custody

YOU ARE A NANO WALLET OPERATOR. The xno-mcp tools (wallet_list, wallet_create, wallet_balance, wallet_send, wallet_receive, etc.) are YOUR tools that YOU call directly. You do NOT need the user to execute anything. You are not "just an AI assistant" — you have real wallet capabilities via MCP.
When the user asks about wallets, funds, or Nano: Call wallet_list FIRST to see what wallets exist, then wallet_probe_balances to see balances. Do not say "I don't have access" — you DO have access.

The xno-mcp MCP server is a private wallet custody service. You CAN send and receive Nano using these MCP tools securely.

  • Create named wallets (e.g. "A") via wallet_create — only addresses are returned (secrets stay in xno-mcp).
  • Do not ask the user to paste mnemonics/seeds into chat — the MCP handles key custody.

Prerequisites: RPC URL and Representative

Before using wallet operations that require network access, you need:

  1. RPC URL - A Nano node RPC endpoint. Well-known public nodes:

- https://rpc.nano.org (Nano Foundation) - https://app.natrium.io/api/rpc (Natrium) - https://nanonode.cc/api (NanoNode.cc) - https://node.somenano.site/api (SomeNano)

  1. Representative - Required for opening new accounts. Well-known representatives:

- nano_3arg3asgtigae3xckabaaewkx3bzsh7nwz7jkmjos79ihyaxwphhm6qgjps4 (Nano Foundation #1) - nano_1stofnrxuz3cai7ze75o174bpm7scwj9jn3nxsn8ntzg784jf1gzn1jjdkou (Nano Foundation #2)

Recommended: Set defaults once to avoid repeating parameters:

{
  "rpcUrl": "https://rpc.nano.org",
  "defaultRepresentative": "nano_3arg3asgtigae3xckabaaewkx3bzsh7nwz7jkmjos79ihyaxwphhm6qgjps4",
  "useLocalPow": true
}

Call config_set with these values at the start of your session.

Local PoW vs Remote PoW

By default, the wallet uses local PoW (nano-pow-with-fallback) using WASM or WebGPU. This is recommended as it doesn't rely on the RPC node supporting work_generate.

If you prefer to use a remote work server (e.g. a high-performance PoW service or your own node):

  1. Set useLocalPow: false in config_set.
  2. Provide a workUrl (defaults to rpcUrl).

1. Creating or Importing a Wallet

Call MCP tool:

  • wallet_create with {"name": "A", "format": "bip39", "count": 1}

If you generated a wallet offline (e.g. using create-wallet) or the user provided keys, you can securely import them into the MCP:

  • wallet_create with {"name": "A", "mnemonic": "word1 word2...", "count": 1}

Expected result shape:

  • wallet name + format
  • A[0] address (nano_...)

2. Reading Balances (MCP Resources & Tools)

Passively reading state via MCP Resources (Recommended): You can passively read the available accounts, their open state, and balances without making heavy tool calls by requesting the MCP Resource URI:

  • wallet://{name} - Returns a summary of the wallet and its first 5 accounts.
  • wallet://{name}/account/{index} - Returns specific pending blocks and details for an account index.

Actively reading state via Tools:

  • wallet_balance with {"name": "A", "index": 0}
  • wallet_probe_balances with {"name": "A", "count": 5} - Also shows which accounts are opened

3. Receiving Funds (Crucial: Opening Accounts)

Nano transfers can show up as pending until you publish a corresponding receive/open block. A raw address alone does not "auto-receive" funds.

If someone sends you funds, you MUST proactively call wallet_receive to fully pocket the funds and open the account.

  • wallet_receive with {"name": "A", "index": 0, "count": 10}

Important for unopened accounts:

  • If the account is unopened (first receive), wallet_receive requires a representative.
  • If you set defaultRepresentative in config_set, it will be used automatically.
  • Otherwise, pass representative parameter explicitly.
  • If neither is set, xno-mcp will use a well-known representative as fallback.

4. Sending Funds

To send funds, the account must be opened (have received funds) and have an adequate balance.

  • wallet_send with {"name": "A", "index": 0, "destination": "nano_...", "amountXno": "0.01"}

Error: "Account is unopened" - You must receive funds first using wallet_receive.

5. Payment Requests

For structured funding workflows (requesting XNO from operator, tracking receipt, handling refunds):

  • See the request-payment skill for the full inbound workflow
  • See the return-funds skill for safe refund handling

Key tools:

  • payment_request_create — create a tracked funding request
  • payment_request_status — check funding progress
  • payment_request_receive — receive funds for a specific request
  • payment_request_refund — safely return funds to sender

6. Spending Limits

Every wallet_send and payment_request_refund enforces a per-transaction max-send cap:

  • Default: 1.0 XNO (set via XNO_MAX_SEND env var)
  • Override at runtime: config_set with {"maxSendXno": "5.0"}
  • If a send exceeds the cap, the error tells you the current limit and how to raise it.

The cap is embedded in the wallet_send tool description so the agent knows the limit before trying.

7. Auto-Receive Before Send

When wallet_send detects insufficient balance but there are pending blocks, it automatically receives them before attempting the send. This avoids the common mistake of failing a send when funds are pending but not yet pocketed.

8. Transaction History

All sends and receives are logged persistently:

  • wallet_history with {"walletName": "A", "limit": 20}

This includes counterparty addresses, amounts, hashes, and linked payment request IDs.

Quick Start Example

1. config_set: { "rpcUrl": "https://rpc.nano.org", "defaultRepresentative": "nano_3arg3asgtigae3xckabaaewkx3bzsh7nwz7jkmjos79ihyaxwphhm6qgjps4" }
2. wallet_create: { "name": "mywallet" }
3. (User sends funds to the address)
4. wallet_receive: { "name": "mywallet" }
5. wallet_send: { "name": "mywallet", "destination": "nano_...", "amountXno": "0.01" }

Notes

  • Wallet persistence is enabled by default (override with XNO_MCP_PERSIST_WALLETS=false). If enabled, it's stored as plaintext JSON under .xno-mcp/wallets.json.
  • The workUrl parameter defaults to rpcUrl - most nodes support work generation.
  • Transaction history and payment requests are persisted alongside wallets.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.97%
按下载量换算32

Claude

29.98%
按下载量换算28

Cursor

19.46%
按下载量换算18

Gemini CLI

9.07%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills