原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Agentwallet

作者:hifriendbot版本 1.14.12i★ –i在你的电脑上运行
注册名称io.github.hifriendbot/agentwallet

安装

概览

作者提供的说明(英文原文)

Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:AGENTWALLET_PASS, AGENTWALLET_PRIVATE_KEY, AGENTWALLET_SOLANA_KEY, AGENTWALLET_WEBHOOK_SECRET, AGENTWALLET_KEYFILE_PASSPHRASE

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: AGENTWALLET_USER, AGENTWALLET_PASS, AGENTWALLET_API_URL, AGENTWALLET_WALLET_ID, AGENTWALLET_DASHBOARD_URL, AGENTWALLET_PRIVATE_KEY, AGENTWALLET_KEYFILE, AGENTWALLET_SOLANA_KEY, AGENTWALLET_SOLANA_KEYFILE, AGENTWALLET_RPC_URL, AGENTWALLET_RPC_, AGENTWALLET_SOLANA_RPC, AGENTWALLET_SOLANA_RPC_, AGENTWALLET_CHAIN_ID, AGENTWALLET_MAX_TX_NATIVE, AGENTWALLET_MAX_TX_TOKEN, AGENTWALLET_MAX_TX_SOL, AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS, AGENTWALLET_ALLOW_UNLIMITED_APPROVAL, AGENTWALLET_TOKEN_DECIMALS, AGENTWALLET_MAX_AUTOPAY, AGENTWALLET_MAX_AUTOPAY_PER_HOUR, AGENTWALLET_AUTOPAY_ASSETS, AGENTWALLET_X402_MAX_TIMEOUT, AGENTWALLET_APPROVALS, AGENTWALLET_PERMIT2_AUTO_APPROVE, AGENTWALLET_TOKEN_RISK, AGENTWALLET_LEGACY_PAYWALL_ORIGINS, AGENTWALLET_MAX_FEE_NATIVE, AGENTWALLET_POLICY, AGENTWALLET_LEDGER, AGENTWALLET_WEBHOOK_URL, AGENTWALLET_WEBHOOK_SECRET, AGENTWALLET_KEYFILE_PASSPHRASE, AGENTWALLET_KEYFILE_PASSPHRASE_FILE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agentwallet": {
      "command": "npx",
      "args": [
        "-y",
        "agentwallet-mcp"
      ],
      "env": {
        "AGENTWALLET_USER": "your-value",
        "AGENTWALLET_PASS": "your-value",
        "AGENTWALLET_API_URL": "your-value",
        "AGENTWALLET_WALLET_ID": "your-value",
        "AGENTWALLET_DASHBOARD_URL": "your-value",
        "AGENTWALLET_PRIVATE_KEY": "your-value",
        "AGENTWALLET_KEYFILE": "your-value",
        "AGENTWALLET_SOLANA_KEY": "your-value",
        "AGENTWALLET_SOLANA_KEYFILE": "your-value",
        "AGENTWALLET_RPC_URL": "your-value",
        "AGENTWALLET_RPC_": "your-value",
        "AGENTWALLET_SOLANA_RPC": "your-value",
        "AGENTWALLET_SOLANA_RPC_": "your-value",
        "AGENTWALLET_CHAIN_ID": "your-value",
        "AGENTWALLET_MAX_TX_NATIVE": "your-value",
        "AGENTWALLET_MAX_TX_TOKEN": "your-value",
        "AGENTWALLET_MAX_TX_SOL": "your-value",
        "AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS": "your-value",
        "AGENTWALLET_ALLOW_UNLIMITED_APPROVAL": "your-value",
        "AGENTWALLET_TOKEN_DECIMALS": "your-value",
        "AGENTWALLET_MAX_AUTOPAY": "your-value",
        "AGENTWALLET_MAX_AUTOPAY_PER_HOUR": "your-value",
        "AGENTWALLET_AUTOPAY_ASSETS": "your-value",
        "AGENTWALLET_X402_MAX_TIMEOUT": "your-value",
        "AGENTWALLET_APPROVALS": "your-value",
        "AGENTWALLET_PERMIT2_AUTO_APPROVE": "your-value",
        "AGENTWALLET_TOKEN_RISK": "your-value",
        "AGENTWALLET_LEGACY_PAYWALL_ORIGINS": "your-value",
        "AGENTWALLET_MAX_FEE_NATIVE": "your-value",
        "AGENTWALLET_POLICY": "your-value",
        "AGENTWALLET_LEDGER": "your-value",
        "AGENTWALLET_WEBHOOK_URL": "your-value",
        "AGENTWALLET_WEBHOOK_SECRET": "your-value",
        "AGENTWALLET_KEYFILE_PASSPHRASE": "your-value",
        "AGENTWALLET_KEYFILE_PASSPHRASE_FILE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add agentwallet --env AGENTWALLET_USER=your-value --env AGENTWALLET_PASS=your-value --env AGENTWALLET_API_URL=your-value --env AGENTWALLET_WALLET_ID=your-value --env AGENTWALLET_DASHBOARD_URL=your-value --env AGENTWALLET_PRIVATE_KEY=your-value --env AGENTWALLET_KEYFILE=your-value --env AGENTWALLET_SOLANA_KEY=your-value --env AGENTWALLET_SOLANA_KEYFILE=your-value --env AGENTWALLET_RPC_URL=your-value --env AGENTWALLET_RPC_=your-value --env AGENTWALLET_SOLANA_RPC=your-value --env AGENTWALLET_SOLANA_RPC_=your-value --env AGENTWALLET_CHAIN_ID=your-value --env AGENTWALLET_MAX_TX_NATIVE=your-value --env AGENTWALLET_MAX_TX_TOKEN=your-value --env AGENTWALLET_MAX_TX_SOL=your-value --env AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS=your-value --env AGENTWALLET_ALLOW_UNLIMITED_APPROVAL=your-value --env AGENTWALLET_TOKEN_DECIMALS=your-value --env AGENTWALLET_MAX_AUTOPAY=your-value --env AGENTWALLET_MAX_AUTOPAY_PER_HOUR=your-value --env AGENTWALLET_AUTOPAY_ASSETS=your-value --env AGENTWALLET_X402_MAX_TIMEOUT=your-value --env AGENTWALLET_APPROVALS=your-value --env AGENTWALLET_PERMIT2_AUTO_APPROVE=your-value --env AGENTWALLET_TOKEN_RISK=your-value --env AGENTWALLET_LEGACY_PAYWALL_ORIGINS=your-value --env AGENTWALLET_MAX_FEE_NATIVE=your-value --env AGENTWALLET_POLICY=your-value --env AGENTWALLET_LEDGER=your-value --env AGENTWALLET_WEBHOOK_URL=your-value --env AGENTWALLET_WEBHOOK_SECRET=your-value --env AGENTWALLET_KEYFILE_PASSPHRASE=your-value --env AGENTWALLET_KEYFILE_PASSPHRASE_FILE=your-value -- npx -y agentwallet-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentwallet": {
      "command": "npx",
      "args": [
        "-y",
        "agentwallet-mcp"
      ],
      "env": {
        "AGENTWALLET_USER": "your-value",
        "AGENTWALLET_PASS": "your-value",
        "AGENTWALLET_API_URL": "your-value",
        "AGENTWALLET_WALLET_ID": "your-value",
        "AGENTWALLET_DASHBOARD_URL": "your-value",
        "AGENTWALLET_PRIVATE_KEY": "your-value",
        "AGENTWALLET_KEYFILE": "your-value",
        "AGENTWALLET_SOLANA_KEY": "your-value",
        "AGENTWALLET_SOLANA_KEYFILE": "your-value",
        "AGENTWALLET_RPC_URL": "your-value",
        "AGENTWALLET_RPC_": "your-value",
        "AGENTWALLET_SOLANA_RPC": "your-value",
        "AGENTWALLET_SOLANA_RPC_": "your-value",
        "AGENTWALLET_CHAIN_ID": "your-value",
        "AGENTWALLET_MAX_TX_NATIVE": "your-value",
        "AGENTWALLET_MAX_TX_TOKEN": "your-value",
        "AGENTWALLET_MAX_TX_SOL": "your-value",
        "AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS": "your-value",
        "AGENTWALLET_ALLOW_UNLIMITED_APPROVAL": "your-value",
        "AGENTWALLET_TOKEN_DECIMALS": "your-value",
        "AGENTWALLET_MAX_AUTOPAY": "your-value",
        "AGENTWALLET_MAX_AUTOPAY_PER_HOUR": "your-value",
        "AGENTWALLET_AUTOPAY_ASSETS": "your-value",
        "AGENTWALLET_X402_MAX_TIMEOUT": "your-value",
        "AGENTWALLET_APPROVALS": "your-value",
        "AGENTWALLET_PERMIT2_AUTO_APPROVE": "your-value",
        "AGENTWALLET_TOKEN_RISK": "your-value",
        "AGENTWALLET_LEGACY_PAYWALL_ORIGINS": "your-value",
        "AGENTWALLET_MAX_FEE_NATIVE": "your-value",
        "AGENTWALLET_POLICY": "your-value",
        "AGENTWALLET_LEDGER": "your-value",
        "AGENTWALLET_WEBHOOK_URL": "your-value",
        "AGENTWALLET_WEBHOOK_SECRET": "your-value",
        "AGENTWALLET_KEYFILE_PASSPHRASE": "your-value",
        "AGENTWALLET_KEYFILE_PASSPHRASE_FILE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "agentwallet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentwallet-mcp"
      ],
      "env": {
        "AGENTWALLET_USER": "your-value",
        "AGENTWALLET_PASS": "your-value",
        "AGENTWALLET_API_URL": "your-value",
        "AGENTWALLET_WALLET_ID": "your-value",
        "AGENTWALLET_DASHBOARD_URL": "your-value",
        "AGENTWALLET_PRIVATE_KEY": "your-value",
        "AGENTWALLET_KEYFILE": "your-value",
        "AGENTWALLET_SOLANA_KEY": "your-value",
        "AGENTWALLET_SOLANA_KEYFILE": "your-value",
        "AGENTWALLET_RPC_URL": "your-value",
        "AGENTWALLET_RPC_": "your-value",
        "AGENTWALLET_SOLANA_RPC": "your-value",
        "AGENTWALLET_SOLANA_RPC_": "your-value",
        "AGENTWALLET_CHAIN_ID": "your-value",
        "AGENTWALLET_MAX_TX_NATIVE": "your-value",
        "AGENTWALLET_MAX_TX_TOKEN": "your-value",
        "AGENTWALLET_MAX_TX_SOL": "your-value",
        "AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS": "your-value",
        "AGENTWALLET_ALLOW_UNLIMITED_APPROVAL": "your-value",
        "AGENTWALLET_TOKEN_DECIMALS": "your-value",
        "AGENTWALLET_MAX_AUTOPAY": "your-value",
        "AGENTWALLET_MAX_AUTOPAY_PER_HOUR": "your-value",
        "AGENTWALLET_AUTOPAY_ASSETS": "your-value",
        "AGENTWALLET_X402_MAX_TIMEOUT": "your-value",
        "AGENTWALLET_APPROVALS": "your-value",
        "AGENTWALLET_PERMIT2_AUTO_APPROVE": "your-value",
        "AGENTWALLET_TOKEN_RISK": "your-value",
        "AGENTWALLET_LEGACY_PAYWALL_ORIGINS": "your-value",
        "AGENTWALLET_MAX_FEE_NATIVE": "your-value",
        "AGENTWALLET_POLICY": "your-value",
        "AGENTWALLET_LEDGER": "your-value",
        "AGENTWALLET_WEBHOOK_URL": "your-value",
        "AGENTWALLET_WEBHOOK_SECRET": "your-value",
        "AGENTWALLET_KEYFILE_PASSPHRASE": "your-value",
        "AGENTWALLET_KEYFILE_PASSPHRASE_FILE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • AGENTWALLET_USER env
    Hosted mode: your hifriendbot.com username
  • AGENTWALLET_PASS 机密 env
    Hosted mode: an AgentWallet application password from hifriendbot.com/wallet/
  • AGENTWALLET_API_URL env
    Hosted mode: the API base (default https://hifriendbot.com/wp-json/agentwallet/v1); must be https, or http on localhost
  • AGENTWALLET_WALLET_ID env
    Hosted mode: wallet id that pays hosted billing 402s automatically (POST /wallets, /sign, /send only); unset means never
  • AGENTWALLET_DASHBOARD_URL env
    Hosted mode: dashboard link shown in tool text
  • AGENTWALLET_PRIVATE_KEY 机密 env
    Local (self-custody) mode: 0x-prefixed EVM private key; signing then happens in this process
  • AGENTWALLET_KEYFILE env
    Local mode: path of a file holding the EVM private key (instead of AGENTWALLET_PRIVATE_KEY; not both)
  • AGENTWALLET_SOLANA_KEY 机密 env
    Local mode for Solana: secret key as a JSON array, base58 or base64
  • AGENTWALLET_SOLANA_KEYFILE env
    Local mode for Solana: path of a key file (instead of AGENTWALLET_SOLANA_KEY; not both)
  • AGENTWALLET_RPC_URL env
    Local mode: one EVM RPC for every chain
  • AGENTWALLET_RPC_ env
    Local mode: EVM RPC per chain, e.g. AGENTWALLET_RPC_8453; eth_chainId is checked
  • AGENTWALLET_SOLANA_RPC env
    Local mode: one Solana RPC for every cluster
  • AGENTWALLET_SOLANA_RPC_ env
    Local mode: Solana RPC per cluster (900 mainnet, 901 devnet, 902 testnet); the genesis hash is checked
  • AGENTWALLET_CHAIN_ID env
    Local mode: default EVM chain when a call names none (default 8453)
  • AGENTWALLET_MAX_TX_NATIVE env
    Local mode: per-transaction ceiling in native units
  • AGENTWALLET_MAX_TX_TOKEN env
    Local mode: per-transaction ceiling for ERC-20 and SPL transfers and approvals, in token units
  • AGENTWALLET_MAX_TX_SOL env
    Local mode: per-transaction ceiling in SOL (also charged for a recipient token account the send creates)
  • AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS env
    Local mode: 1 lets calldata the token cap cannot price reach a token contract (refused by default)
  • AGENTWALLET_ALLOW_UNLIMITED_APPROVAL env
    1 lets an unlimited ERC-20 allowance or an NFT operator grant through while no spend policy is set (refused by default, and always refused under a policy)
  • AGENTWALLET_TOKEN_DECIMALS env
    Pin decimals for tokens outside the registry, e.g. 8453:0x =6, =9; used for amounts and caps instead of the RPC answer
  • AGENTWALLET_MAX_AUTOPAY env
    Per-payment x402 ceiling in stablecoin units (default 1); the agent cannot raise it
  • AGENTWALLET_MAX_AUTOPAY_PER_HOUR env
    Hosted mode: how many internal 402 auto-payments an hour (default 20; 0 disables)
  • AGENTWALLET_AUTOPAY_ASSETS env
    Assets pay_x402 may pay in beyond registry stablecoins, e.g. 8453:native,0x
  • AGENTWALLET_X402_MAX_TIMEOUT env
    Longest x402 authorization window in seconds (default 3600; 60 to 31536000)
  • AGENTWALLET_APPROVALS env
    Hosted mode: 0 disables emailing the wallet owner for an over-cap payment
  • AGENTWALLET_PERMIT2_AUTO_APPROVE env
    Hosted mode: 1 approves exactly an upto payment maximum to Permit2 for registry stablecoins
  • AGENTWALLET_TOKEN_RISK env
    0 skips the GoPlus lookup approve_token performs
  • AGENTWALLET_LEGACY_PAYWALL_ORIGINS env
    Comma-separated https origins whose legacy-shaped 402 may be paid by an on-chain transfer proved by hash (the API host always may)
  • AGENTWALLET_MAX_FEE_NATIVE env
    Local mode: the most a transaction may burn in fees (gas x max fee per gas), in native units; default 0.01
  • AGENTWALLET_POLICY env
    Path of a spend policy JSON file: rolling dollar and native budgets, host, recipient, chain, asset and tool lists, and a human-approval threshold, enforced from a hash-chained ledger
  • AGENTWALLET_LEDGER env
    Path of the append-only ledger the policy is enforced from (default: agentwallet-ledger.jsonl beside the policy file)
  • AGENTWALLET_WEBHOOK_URL env
    https URL (or http on localhost) that receives every ledger line as it is written
  • AGENTWALLET_WEBHOOK_SECRET 机密 env
    HMAC-SHA256 key for the X-AgentWallet-Signature header on webhook posts
  • AGENTWALLET_KEYFILE_PASSPHRASE 机密 env
    Passphrase that opens an encrypted keyfile (made with `agentwallet-mcp encrypt-keyfile`)
  • AGENTWALLET_KEYFILE_PASSPHRASE_FILE env
    Path of a file holding the keyfile passphrase (instead of AGENTWALLET_KEYFILE_PASSPHRASE; not both)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hifriendbot 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32564 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32564 个服务器的 91% 更新
  • 基础检查结果等于或优于此分类中其他 32564 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Agentwallet 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:AGENTWALLET_PASS, AGENTWALLET_PRIVATE_KEY, AGENTWALLET_SOLANA_KEY, AGENTWALLET_WEBHOOK_SECRET, AGENTWALLET_KEYFILE_PASSPHRASE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.14.12)于3天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Tools MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Tools MCP

作者:First-CH

Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

AgentWallet MCP Server

Permissionless wallet infrastructure for AI agents. Create wallets, sign transactions, and broadcast on-chain, on any EVM chain and Solana. Built-in guards. No KYC. The only AI agent wallet that accepts crypto for its own API fees.

Your keys can stay on your machine. Set one environment variable and every signature happens in your own process. No server sees the key, no company can freeze the wallet, and you can verify that claim by reading src/local-wallet.ts or by running the server with the API pointed at a closed port.

No KYC. No KYT. No approval process. No transaction monitoring. No one can block your wallet. Pay with USDC on-chain, no credit card required.

Two modes

Local (self-custody)Hosted (custodial)
Who holds the keyYou, in your own processEncrypted on AgentWallet servers
Set upOne env var, no account neededAPI key
ChainsEVM + SolanaEVM + Solana
Can anyone freeze itNoYes, that is what pause is for
Spend guardsAGENTWALLET_MAX_TX_NATIVE, AGENTWALLET_MAX_TX_TOKEN, AGENTWALLET_MAX_TX_SOL, AGENTWALLET_MAX_AUTOPAYServer-side limits, pause, rate limits
Paywalls, usage, billingNeeds an API key tooIncluded

Run wallet_mode at any time and the server will tell you which one you are in, and which address it controls.

Local signing in one variable
{

"mcpServers": { "agentwallet": { "command": "npx", "args": ["-y", "agentwallet-mcp"], "env": { "AGENTWALLET_PRIVATE_KEY": "0xyour_key", "AGENTWALLET_RPC_8453": "https://your-own-rpc", "AGENTWALLET_MAX_TX_NATIVE": "0.05" } } } }

Use AGENTWALLET_KEYFILE=/path/to/key instead if you would rather keep the key out of your shell config (one or the other: the server refuses to start when both are set). The key is read once, never written to disk, never logged, and never included in an error message.

AGENTWALLET_RPC_ (or AGENTWALLET_RPC_URL for all chains) points at an endpoint you trust (https; plain http only on localhost). Without it a public RPC is used, and a public RPC can see which addresses you ask about. Decimals for a token outside the registry come from that RPC and are accepted only up to 18; pin anything else with AGENTWALLET_TOKEN_DECIMALS.

AGENTWALLET_MAX_TX_NATIVE is a per-transaction ceiling in native units (ETH, MATIC and so on). In hosted mode the server enforces limits; in local mode there is no server, so these guards are the only ones there are. Set them.

AGENTWALLET_MAX_TX_TOKEN is the equivalent ceiling for ERC-20 movement, in human units of the token. Set this one too if you hold stablecoins. The native cap cannot see a token transfer: an ERC-20 send carries value = 0 with the amount in the calldata, so AGENTWALLET_MAX_TX_NATIVE alone leaves a USDC balance uncapped. AGENTWALLET_MAX_TX_TOKEN covers transfer, transferFrom, approve, increaseAllowance, EIP-2612 permit, Permit2 approve, and deposit() / withdraw(uint256) on the chain's own wrapped-native contract (so wrap_eth and unwrap_eth keep working under the cap), the approvals because an unbounded allowance is a drain waiting to happen. ERC-721 and ERC-1155 calldata (setApprovalForAll, safeTransferFrom) is refused while the cap is set, since nothing prices an NFT; without the cap it passes the way an ERC-20 transfer of any size does, except that an operator grant is an unlimited approval and is refused everywhere by default (see AGENTWALLET_ALLOW_UNLIMITED_APPROVAL). Any other calldata sent to a token contract or to Permit2 is refused while the cap is set, because the guard cannot price it; set AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS=1 to allow such calls deliberately. increaseAllowance is judged on the resulting total: the current allowance is read first and the call refuses if it cannot be, so two compliant increments cannot stack a standing allowance above the cap. Calls to other contracts (routers, bridges) pass, since they can only pull what an approval already allowed; a contract counts as "other" only when it demonstrably declines decimals(), so an absurd or malformed answer, or an RPC that cannot be reached, refuses rather than allows. Decimals are resolved locally from the trusted registry, then the token's own decimals(); a token that resolves neither way is evaluated at 0 decimals, the only value that cannot fail open. For a token outside the registry the RPC is the only source of decimals, and an RPC you do not control could scale the amount and the cap together; pin such tokens with AGENTWALLET_TOKEN_DECIMALS (for example 8453:0x =6) and the pin is used everywhere the RPC's answer would have been.

Solana local signing
"env": {

"AGENTWALLET_SOLANA_KEY": "[12,34...]", "AGENTWALLET_SOLANA_RPC": "https://your-own-rpc", "AGENTWALLET_MAX_TX_SOL": "1", "AGENTWALLET_MAX_TX_TOKEN": "25" }

Accepts whichever format you already have: a solana-keygen id.json array, a base58 secret key as exported by Phantom, or base64. Use AGENTWALLET_SOLANA_KEYFILE to point at a file instead. Native SOL and SPL token transfers are both signed locally, and a missing associated token account is created for the recipient automatically.

Set either key, or both. They are independent: run EVM locally and Solana hosted, or the reverse.

An operation with no matching local key is refused, never silently routed to the hosted signer. If you have an EVM key configured and ask for a Solana transfer with no Solana key, the server stops and tells you which variable is missing. Quietly moving funds onto a key you do not hold, while you believe you are in self-custody, is the worst thing this server could do.

About the dependency tree

Local signing uses viem for EVM and @solana/web3.js for Solana, plus bs58 for key parsing. SPL instructions are built by hand rather than with @solana/spl-token, because that package pulls in bigint-buffer, which carries a high severity buffer overflow advisory. A wallet has no business shipping that to save a dozen lines of instruction encoding.

npm audit reports no advisories as of 1.13.5; the overrides in package.json keep two advisories under @solana/web3.js's jayson closed. Earlier releases carried advisories inside @modelcontextprotocol/sdk's HTTP transport dependencies. This server speaks stdio, so that code never loads, and the SDK is not something this package can patch. Run the audit yourself. Publishing a tree you can inspect is the point.

Features

  • 40 MCP tools: create wallets, send transactions, approve tokens, wrap ETH, transfer SPL tokens, quote, discover, pay and accept x402 payments, verify custody mode, and more
  • Spend policy: rolling daily and monthly budgets, per-host ceilings, host and recipient lists, human approval through MCP elicitation, and a tool allowlist, in one JSON file, enforced from a hash-chained ledger. The key stays yours and the agent still cannot overspend.
  • EVM + Solana: Ethereum, Base, Polygon, BSC, Arbitrum, Optimism, Avalanche, Zora, PulseChain, Solana, and any other EVM-compatible chain
  • SOL + SPL tokens: native SOL transfers and SPL token transfers (USDC, USDT, etc.) with automatic account creation
  • Built-in guards: in hosted mode, daily spending limits, gas price protection, emergency pause and rate limiting are enforced server-side by default. In local mode your protection is the per-transaction caps you set (AGENTWALLET_MAX_TX_NATIVE, AGENTWALLET_MAX_TX_TOKEN, AGENTWALLET_MAX_TX_SOL, AGENTWALLET_MAX_AUTOPAY). x402 replay protection and on-chain verification apply either way
  • x402 payments: pay for x402-enabled APIs automatically, or accept x402 payments on your own endpoints (EVM and Solana)
  • Self-custody option: run local mode and the key never leaves your machine. In hosted mode, keys are encrypted at rest, decrypted only during signing, and zeroed from memory immediately after. Either way you can export and walk away.
  • Permissionless: No KYC. No KYT. No identity verification. No approval process. No compliance gatekeeping. Sign up, get an API key, and start transacting immediately.
  • 30-second setup: three lines of config. No SDK to install. No dependencies to manage.

Pricing

  • $0.00345 per operation
  • 6,000 free operations/month
  • $0.0005 per x402 verification
  • 1,000 free x402 verifications/month
  • Pay with USDC on-chain via x402, no credit card required
  • No monthly fee, no tiers, just pay as you go

Competitor comparisons are kept at hifriendbot.com/wallet/#pricing with the date they were last verified. They live there rather than here because a published npm README cannot be corrected when someone else changes their prices.

Quick Start

Get your free API key at hifriendbot.com/wallet, no credit card required, no KYC, no approval wait.

Claude Desktop / OpenClaw

Add to your config:

{

"mcpServers": { "agentwallet": { "command": "npx", "args": ["-y", "agentwallet-mcp"], "env": { "AGENTWALLET_USER": "your_username", "AGENTWALLET_PASS": "your_api_key", "AGENTWALLET_WALLET_ID": "1" } } } }

AGENTWALLET_WALLET_ID is optional. Set it to enable x402 auto-pay: when you exceed the free tier without a credit card, the MCP server automatically pays for operations with USDC from this wallet. Only the metered routes (creating a wallet, signing, sending) are paid this way, at most AGENTWALLET_MAX_AUTOPAY_PER_HOUR times an hour (default 20; the slot is taken before the payment is sent, so parallel calls cannot overrun it, and processes sharing a ledger file share the hour, while without one the count is per process), and every automatic payment is reported in the tool result under autopay_payment. A 402 on any other route is reported, never paid.

Auto-pay safety cap. AGENTWALLET_MAX_AUTOPAY (optional, default 1) is the most one x402 payment may authorize, in stablecoin units: 1 means one dollar. It prices registry stablecoins only (USDC, USDT, USDbC, DAI on the supported chains, USDC and USDT on Solana). A requirement in the chain's native asset or in any other token is refused, because "1" measured in ETH is a few thousand dollars; list such assets in AGENTWALLET_AUTOPAY_ASSETS (comma-separated addresses or mints, or the word native) to allow them, and the cap then applies in that asset's own units. Any requirement above the cap is rejected instead of paid, so a malformed or tampered payment requirement cannot drain the wallet. This automatic path settles exact requirements only; an upto offer from the API is refused before any wallet call, because paying a usage maximum upfront is not what the offer means (use pay_x402, which signs a Permit2 authorization for it). The cap is the operator's ceiling: a max_payment argument can lower it for one call but never raise it. Raise the variable itself if you genuinely need larger automatic payments (for example "5" for up to 5 USDC per call).

Claude Code
claude mcp add agentwallet \

-e AGENTWALLET_USER=your_username \ -e AGENTWALLET_PASS=your_api_key \ -e AGENTWALLET_WALLET_ID=1 \ -- npx -y agentwallet-mcp

VS Code

Add to your settings:

{

"mcp": { "servers": { "agentwallet": { "command": "npx", "args": ["-y", "agentwallet-mcp"], "env": { "AGENTWALLET_USER": "your_username", "AGENTWALLET_PASS": "your_api_key", "AGENTWALLET_WALLET_ID": "1" }

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx