Onchain Agent Wallets

MCP server · by nirholas

AI Agents npm v0.1.1

Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.1.1

npm
npx -y @three-ws/onchain-agent-wallets

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "onchain-agent-wallets": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/onchain-agent-wallets"
      ],
      "env": {
        "OWNER_SECRET_KEY": "<YOUR_OWNER_SECRET_KEY>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • OWNER_SECRET_KEY secret — 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.

GitHub

⭐ 6 stars · 最近更新于 40 天前 · Apache-2.0 license

About this server

Distributed as npm, listed under AI Agents. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install Onchain Agent Wallets?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Onchain Agent Wallets free to use?

The MCP server itself is free to install. The source is public on https://github.com/nirholas/onchain-agent-wallets. Any third-party service it calls may require its own API key and account.

Which clients support Onchain Agent Wallets?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/onchain-agent-wallets.svg)](https://mcpnav.net/server/onchain-agent-wallets/)

HTML

<a href="https://mcpnav.net/server/onchain-agent-wallets/"><img src="https://mcpnav.net/badge/onchain-agent-wallets.svg" alt="Listed on MCPNav" height="20"></a>