Onchain Agent Wallets MCP Server
by nirholasio.github.nirholas/onchain-agent-walletsv0.1.0
Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.
context tax
queued
security
queued
cold start
queued
freshness
Active25d ago
Install Onchain Agent Wallets MCP server
Install in Claude Code
claude mcp add onchain-agent-wallets -e OWNER_SECRET_KEY='<owner-secret-key>' -- npx -y @three-ws/onchain-agent-walletsInstall in Cursor
{
"mcpServers": {
"onchain-agent-wallets": {
"command": "npx",
"args": [
"-y",
"@three-ws/onchain-agent-wallets"
],
"env": {
"OWNER_SECRET_KEY": "<owner-secret-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"onchain-agent-wallets": {
"command": "npx",
"args": [
"-y",
"@three-ws/onchain-agent-wallets"
],
"env": {
"OWNER_SECRET_KEY": "<owner-secret-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"onchain-agent-wallets": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/onchain-agent-wallets"
],
"env": {
"OWNER_SECRET_KEY": "<owner-secret-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"onchain-agent-wallets": {
"command": "npx",
"args": [
"-y",
"@three-ws/onchain-agent-wallets"
],
"env": {
"OWNER_SECRET_KEY": "<owner-secret-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OWNER_SECRET_KEY | — | yes | Owner secret key, base58 or a JSON byte array. Optional: without it every owner action is returned as an unsigned transaction for Phantom, Solflare, Backpack, or a Ledger to sign. |
| OAW_NETWORK | — | — | Cluster: mainnet or devnet. Defaults to mainnet. State is kept per network, so a devnet rehearsal never touches mainnet agents. |
| SOLANA_RPC_URL | — | — | HTTPS Solana RPC endpoint. Defaults to the public endpoint for the configured network; bring your own (Helius / Quicknode / Triton) for production. |
| OAW_STATE_DIR | — | — | Where agent keypairs, guardrails, and the spend ledger are stored. Defaults to ~/.onchain-agent-wallets, written 0600 inside a 0700 directory. |
| REQUIRE_CONFIRM | — | — | Refuse to broadcast anything that moves value until the call is re-issued with confirm:true. Default true. |
Freshness
Active — last maintenance signal 25d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-15 · 25d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-19 · 51d ago · official registry · v0.1.0
FAQ
›How do I install the Onchain Agent Wallets MCP server in Claude Code?
Run: claude mcp add onchain-agent-wallets -e OWNER_SECRET_KEY='<owner-secret-key>' -- npx -y @three-ws/onchain-agent-wallets. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Onchain Agent Wallets require an API key?
Yes. It expects OWNER_SECRET_KEY, of which 1 is a secret.
›Can I use Onchain Agent Wallets as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Onchain Agent Wallets in the official MCP registry?
Yes, as io.github.nirholas/onchain-agent-wallets.