Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agentwallet

MCP server by hifriendbot Community

AgentWallet is an MCP server that gives AI assistants wallet tools for EVM chains and Solana. It can create wallets, sign and broadcast transactions, and handle x402 payments, with keys held either locally or on hosted servers.

  • Score 84
  • 3 stars
  • 2.1k a week
  • MIT
  • Updated

Install agentwallet

Built from the published package, never by AI.

claude mcp add agentwallet -- npx -y agentwallet-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install agentwallet in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agentwallet block.

About

AgentWallet is an MCP server from hifriendbot that gives an AI assistant wallet tools for EVM chains and Solana. It can create wallets, sign transactions, broadcast them on-chain, and pay or accept x402 payments. It has two modes. In local mode, the private key stays in the user's own process and every signature happens there. In hosted mode, keys are encrypted on AgentWallet servers.

Local mode is set up with one environment variable and needs no account. Spend caps such as AGENTWALLET_MAX_TX_NATIVE and AGENTWALLET_MAX_TX_TOKEN are the only guards in that mode, so the source says they should be set. The publisher describes the service as permissionless, with no KYC. It is aimed at developers and agent builders who want an AI assistant to hold and move crypto.

Written from the project's README and checked against it.

Tools it gives your assistant

  • create_walletCreate a new EVM or Solana wallet.
  • list_walletsList all of your wallets.
  • get_walletGet details for a single wallet.
  • wallet_modeReport whether the server runs in local or hosted mode and which address it controls.
  • pay_x402Pay an x402-enabled API, using a Permit2 authorization for usage maximums.
  • wrap_ethWrap native ETH into the chain's wrapped-native token.
  • unwrap_ethUnwrap the chain's wrapped-native token back into native ETH.

What you need

  • AgentWallet API key from hifriendbot.com/wallet for hosted mode and paywalled usage
  • A private key or Solana key for local signing, if using local mode
  • USDC in the configured wallet, if using x402 auto-pay
SettingNeededWhat it is
AGENTWALLET_USEREnvironment variableOptionalHosted mode: your hifriendbot.com username
AGENTWALLET_PASSEnvironment variable, secretOptionalHosted mode: an AgentWallet application password from hifriendbot.com/wallet/
AGENTWALLET_API_URLEnvironment variableOptionalHosted mode: the API base (default https://hifriendbot.com/wp-json/agentwallet/v1); must be https, or http on localhost
AGENTWALLET_WALLET_IDEnvironment variableOptionalHosted mode: wallet id that pays hosted billing 402s automatically (POST /wallets, /sign, /send only); unset means never
AGENTWALLET_DASHBOARD_URLEnvironment variableOptionalHosted mode: dashboard link shown in tool text
AGENTWALLET_PRIVATE_KEYEnvironment variable, secretOptionalLocal (self-custody) mode: 0x-prefixed EVM private key; signing then happens in this process
AGENTWALLET_KEYFILEEnvironment variableOptionalLocal mode: path of a file holding the EVM private key (instead of AGENTWALLET_PRIVATE_KEY; not both)
AGENTWALLET_SOLANA_KEYEnvironment variable, secretOptionalLocal mode for Solana: secret key as a JSON array, base58 or base64
AGENTWALLET_SOLANA_KEYFILEEnvironment variableOptionalLocal mode for Solana: path of a key file (instead of AGENTWALLET_SOLANA_KEY; not both)
AGENTWALLET_RPC_URLEnvironment variableOptionalLocal mode: one EVM RPC for every chain
AGENTWALLET_RPC_<chainId>Environment variableOptionalLocal mode: EVM RPC per chain, e.g. AGENTWALLET_RPC_8453; eth_chainId is checked
AGENTWALLET_SOLANA_RPCEnvironment variableOptionalLocal mode: one Solana RPC for every cluster
AGENTWALLET_SOLANA_RPC_<chainId>Environment variableOptionalLocal mode: Solana RPC per cluster (900 mainnet, 901 devnet, 902 testnet); the genesis hash is checked
AGENTWALLET_CHAIN_IDEnvironment variableOptionalLocal mode: default EVM chain when a call names none (default 8453)
AGENTWALLET_MAX_TX_NATIVEEnvironment variableOptionalLocal mode: per-transaction ceiling in native units
AGENTWALLET_MAX_TX_TOKENEnvironment variableOptionalLocal mode: per-transaction ceiling for ERC-20 and SPL transfers and approvals, in token units
AGENTWALLET_MAX_TX_SOLEnvironment variableOptionalLocal mode: per-transaction ceiling in SOL (also charged for a recipient token account the send creates)
AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLSEnvironment variableOptionalLocal mode: 1 lets calldata the token cap cannot price reach a token contract (refused by default)
AGENTWALLET_ALLOW_UNLIMITED_APPROVALEnvironment variableOptional1 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_DECIMALSEnvironment variableOptionalPin decimals for tokens outside the registry, e.g. 8453:0x<token>=6,<mint>=9; used for amounts and caps instead of the RPC answer

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Create a new Base wallet and show me its address.
  • Check which wallet mode is active and which address it controls.
  • Wrap 0.01 ETH on Base using my AgentWallet.

Good to know

  • In local mode there is no server, so the per-transaction caps are the only spending guards.
  • In hosted mode the keys are custodial and the operator can pause the wallet.
  • Automatic x402 payments are capped at 1 stablecoin unit by default and settle exact requirements only.
  • Free tier is 6,000 operations per month, then $0.00345 per operation.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to agentwallet

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

agentwallet: common questions

Can I keep my private key on my own machine?

Yes. Local mode reads the key from an environment variable or key file and signs every transaction in your own process, so no server sees the key.

Why should I set a token spend cap?

The native cap cannot see ERC-20 transfers, which carry the amount in calldata. The source says to set AGENTWALLET_MAX_TX_TOKEN if you hold stablecoins, or a USDC balance stays uncapped.

How is AgentWallet priced?

The source lists $0.00345 per operation with 6,000 free operations per month, and $0.0005 per x402 verification with 1,000 free verifications per month. Payment can be made in USDC on-chain.

How do I install agentwallet?

In Claude Code run claude mcp add agentwallet -- npx -y agentwallet-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is agentwallet the official server?

agentwallet is a community project by hifriendbot, not verified by a company domain.

Is agentwallet free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is agentwallet safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agentwallet?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does agentwallet work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

agentwallet Install

Add to stack

Loading.