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.
Install agentwallet
Built from the published package, never by AI.
claude mcp add agentwallet -- npx -y agentwallet-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agentwallet": {
"args": [
"-y",
"agentwallet-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agentwallet": {
"args": [
"-y",
"agentwallet-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agentwallet": {
"args": [
"-y",
"agentwallet-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agentwallet -- npx -y agentwallet-mcp{
"mcpServers": {
"agentwallet": {
"args": [
"-y",
"agentwallet-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agentwallet npx -y agentwallet-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
| Setting | Needed | What it is |
|---|---|---|
AGENTWALLET_Environment variable | Optional | Hosted mode: your hifriendbot.com username |
AGENTWALLET_Environment variable, secret | Optional | Hosted mode: an AgentWallet application password from hifriendbot.com/wallet/ |
AGENTWALLET_Environment variable | Optional | Hosted mode: the API base (default https://hifriendbot.com/wp-json/agentwallet/v1); must be https, or http on localhost |
AGENTWALLET_Environment variable | Optional | Hosted mode: wallet id that pays hosted billing 402s automatically (POST /wallets, /sign, /send only); unset means never |
AGENTWALLET_Environment variable | Optional | Hosted mode: dashboard link shown in tool text |
AGENTWALLET_Environment variable, secret | Optional | Local (self-custody) mode: 0x-prefixed EVM private key; signing then happens in this process |
AGENTWALLET_Environment variable | Optional | Local mode: path of a file holding the EVM private key (instead of AGENTWALLET_PRIVATE_KEY; not both) |
AGENTWALLET_Environment variable, secret | Optional | Local mode for Solana: secret key as a JSON array, base58 or base64 |
AGENTWALLET_Environment variable | Optional | Local mode for Solana: path of a key file (instead of AGENTWALLET_SOLANA_KEY; not both) |
AGENTWALLET_Environment variable | Optional | Local mode: one EVM RPC for every chain |
AGENTWALLET_Environment variable | Optional | Local mode: EVM RPC per chain, e.g. AGENTWALLET_RPC_8453; eth_chainId is checked |
AGENTWALLET_Environment variable | Optional | Local mode: one Solana RPC for every cluster |
AGENTWALLET_Environment variable | Optional | Local mode: Solana RPC per cluster (900 mainnet, 901 devnet, 902 testnet); the genesis hash is checked |
AGENTWALLET_Environment variable | Optional | Local mode: default EVM chain when a call names none (default 8453) |
AGENTWALLET_Environment variable | Optional | Local mode: per-transaction ceiling in native units |
AGENTWALLET_Environment variable | Optional | Local mode: per-transaction ceiling for ERC-20 and SPL transfers and approvals, in token units |
AGENTWALLET_Environment variable | Optional | Local mode: per-transaction ceiling in SOL (also charged for a recipient token account the send creates) |
AGENTWALLET_Environment variable | Optional | Local mode: 1 lets calldata the token cap cannot price reach a token contract (refused by default) |
AGENTWALLET_Environment variable | Optional | 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_Environment variable | Optional | Pin 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
ANo 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 →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.
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.
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.
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.
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.
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.
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.
