Onchain Agent Wallets MCP server
Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.
5 stars50 downloads/wk
Reviews
Write oneNobody has reviewed Onchain Agent Wallets yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Onchain Agent Wallets tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-22 · same rubric, same numbers if you re-run it
- Code scan27 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Onchain Agent Wallets repository's README, as published. We do not edit it. Read it on GitHub
onchain-agent-wallets
Give an AI agent a real Solana wallet without giving it your money.
An MCP server that hands any agent a spending allowance instead of a private key. The funds stay in an account you own. The agent gets a delegation the SPL Token program caps on-chain, plus guardrails you control, plus the ability to pay x402 APIs out of that allowance. You can revoke it in one instruction, and take the money back without asking the agent.
Nothing here is mocked: real SPL Token delegations, real Solana, real x402 settlement.
Read the overview · npm
The problem this solves
Every "agent wallet" today works the same way: you generate a keypair, you hand it to the agent, and now the agent has everything in it. There is no ceiling, no allowlist, no expiry, and no way to take it back short of racing the agent to move the funds. People solve this by keeping almost nothing in the wallet, which means the agent cannot do anything useful.
An allowance is the older, better answer. The money never moves to the agent. The agent gets permission to spend a slice of it, and the chain enforces the slice.
How it works
YOU (Phantom, Solflare, Ledger)
│ owns the vault, holds the money, can revoke or withdraw at any time
▼
┌──────────────────────────────────────────┐
│ vault token account │ derived from your address:
│ owner = you │ createWithSeed(you, "oaw1:<agent>")
│ balance = 500 USDC │
│ delegate = the agent ← capped at 100 │ SPL Token enforces this number
└──────────────────────────────────────────┘
▲
│ may spend up to the cap, and not one unit more
AGENT (its own keypair, holds only fee SOL)Two independent layers protect you:
- On-chain. The SPL Token program checks every agent-signed transfer against delegated_amount and decrements it on each spend. Our code cannot raise it. A single revoke sets it to zero. This is a stock token program feature, not a new contract to trust.
- Local. Before this server signs anything it applies your rules: per-transaction cap, rolling 24-hour cap, recipient allowlist, x402 host allowlist, expiry, pause, and a confirm-above-this threshold that forces a human yes.
The agent's own keypair holds nothing but a little SOL for fees. If it leaks, the blast radius is the remaining allowance, and revokeagentwallet closes it in one transaction.
Install
npm install -g @three-ws/onchain-agent-wallets
# or run it ad hoc
npx -y @three-ws/onchain-agent-walletsSetup
Claude Code:
claude mcp add onchain-agent-wallets -- npx -y @three-ws/onchain-agent-walletsCursor, or any MCP client (mcp.json):
{
"mcpServers": {
"onchain-agent-wallets": {
"command": "npx",
"args": ["-y", "@three-ws/onchain-agent-wallets"],
"env": {
"OAW_NETWORK": "mainnet"
}
}
}
}No key is required to start. Owner actions come back as an unsigned transaction for your wallet to sign, which sendsignedtransaction then broadcasts. If you would rather this server sign for you, set OWNERSECRETKEY.
Quickstart
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y @three-ws/onchain-agent-wallets on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add onchain-agent-wallets -- npx -y @three-ws/onchain-agent-wallets
Onchain Agent Wallets: common questions
- Is Onchain Agent Wallets MCP server safe?
- Mostly: it is graded B (83/100). Read the Onchain Agent Wallets safety report
- How do I install Onchain Agent Wallets?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Onchain Agent Wallets need an API key?
- Yes. The registry entry asks for
OWNER_SECRET_KEY. - Is Onchain Agent Wallets maintained?
- The last commit was 8 days ago (2026-09-15). The latest release is v0.1.0.
- What can I use instead of Onchain Agent Wallets?
- Servers from other publishers that do the same job: BridgeNode MCP server, MCP Server and Dvalincode MCP server. Compare all Onchain Agent Wallets alternatives.
Alternatives to Onchain Agent Wallets
Same job from other publishers: the closest match first, then the best rated.
BridgeNode MCPBridgeNode — x402 pay-per-request AI inference. OpenAI-compatible API + MCP, Solana USDC, gas-free.not reviewedGrowingA- MCP ServerModel Context Protocol (MCP) server for AI-assisted development of CAP applications.not reviewedEstablishedA
- DvalincodeDeterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.not reviewedGrowingA
- MaginaryAI image + video generation for agents: --flag prompt DSL, async generate/poll, x402 pay-per-use.not reviewedGrowingB
- BomlyGive your coding agent the dependency graph it is about to change: scan, diff, explain, auditnot reviewedGrowingB