{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.keyban.mcp/agent-wallet",
  "slug": "io.keyban.mcp.agent-wallet",
  "title": "Keyban Agent Wallet",
  "summary": "Give an AI agent its own blockchain wallet: balances, USDC transfers, x402 payments under policy.",
  "version": "0.7.0",
  "serverKey": "agent-wallet",
  "pageUrl": "https://mcpkglabs.com/tool/io.keyban.mcp.agent-wallet",
  "installMdUrl": "https://mcpkglabs.com/tool/io.keyban.mcp.agent-wallet/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:52:04.486468951Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@keyban/cli@0.7.0",
        "keyban",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add agent-wallet -e 'KEYBAN_API_KEY=<KEYBAN_API_KEY>' -e 'KEYBAN_APP_ID=<KEYBAN_APP_ID>' -e 'KEYBAN_NETWORK=<KEYBAN_NETWORK>' -- npx -y --package=@keyban/cli@0.7.0 keyban mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"agent-wallet\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@keyban/cli@0.7.0\",\n        \"keyban\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KEYBAN_API_KEY\": \"<KEYBAN_API_KEY>\",\n        \"KEYBAN_APP_ID\": \"<KEYBAN_APP_ID>\",\n        \"KEYBAN_NETWORK\": \"<KEYBAN_NETWORK>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"agent-wallet\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@keyban/cli@0.7.0\",\n        \"keyban\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KEYBAN_API_KEY\": \"<KEYBAN_API_KEY>\",\n        \"KEYBAN_APP_ID\": \"<KEYBAN_APP_ID>\",\n        \"KEYBAN_NETWORK\": \"<KEYBAN_NETWORK>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"KEYBAN_API_KEY\",\n      \"id\": \"keyban-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"KEYBAN_APP_ID\",\n      \"id\": \"keyban-app-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"KEYBAN_NETWORK\",\n      \"id\": \"keyban-network\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"agent-wallet\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@keyban/cli@0.7.0\",\n        \"keyban\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KEYBAN_API_KEY\": \"${input:keyban-api-key}\",\n        \"KEYBAN_APP_ID\": \"${input:keyban-app-id}\",\n        \"KEYBAN_NETWORK\": \"${input:keyban-network}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.agent-wallet]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@keyban/cli@0.7.0\", \"keyban\", \"mcp\"]\nenv = { \"KEYBAN_API_KEY\" = \"<KEYBAN_API_KEY>\", \"KEYBAN_APP_ID\" = \"<KEYBAN_APP_ID>\", \"KEYBAN_NETWORK\" = \"<KEYBAN_NETWORK>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "KEYBAN_API_KEY",
      "required": true,
      "secret": true,
      "description": "Keyban API key of the application the wallet belongs to. Never exposed to the model.",
      "help": "Keyban API key of the application the wallet belongs to. Never exposed to the model.",
      "placeholder": "<KEYBAN_API_KEY>"
    },
    {
      "name": "KEYBAN_APP_ID",
      "required": true,
      "secret": false,
      "description": "Identifier of the Keyban application.",
      "help": "Identifier of the Keyban application.",
      "placeholder": "<KEYBAN_APP_ID>"
    },
    {
      "name": "KEYBAN_INVITE_KEY",
      "required": false,
      "secret": true,
      "description": "Wallet mode only. One-shot ECDSA private key (0x + 64 hex) authorizing the first-boot registration of this client as a FROST signer of the wallet.",
      "help": "Wallet mode only. One-shot ECDSA private key (0x + 64 hex) authorizing the first-boot registration of this client as a FROST signer of the wallet.",
      "placeholder": "<KEYBAN_INVITE_KEY>"
    },
    {
      "name": "KEYBAN_WALLET_ADDRESS",
      "required": false,
      "secret": false,
      "description": "Wallet mode only. Address of the deployed SchnorrAccount this server drives (0x + 40 hex).",
      "help": "Wallet mode only. Address of the deployed SchnorrAccount this server drives (0x + 40 hex).",
      "placeholder": "<KEYBAN_WALLET_ADDRESS>"
    },
    {
      "name": "KEYBAN_FUNDING",
      "required": false,
      "secret": false,
      "description": "Who pays for the payments: wallet (the agent's own wallet) or prepaid (the organization's prepaid credit, with no wallet address or invite key).",
      "help": "Who pays for the payments: wallet (the agent's own wallet) or prepaid (the organization's prepaid credit, with no wallet address or invite key).",
      "default": "wallet",
      "placeholder": "wallet"
    },
    {
      "name": "KEYBAN_NETWORK",
      "required": true,
      "secret": false,
      "description": "Blockchain network the wallet operates on, for example base or xdc.",
      "help": "Blockchain network the wallet operates on, for example base or xdc.",
      "placeholder": "<KEYBAN_NETWORK>"
    },
    {
      "name": "KEYBAN_BASE_URL",
      "required": false,
      "secret": false,
      "description": "Base URL of the Keyban backend. Accepts a full URL, or one of the environment aliases dev, testing, staging, prod and sandbox.",
      "help": "Base URL of the Keyban backend. Accepts a full URL, or one of the environment aliases dev, testing, staging, prod and sandbox.",
      "default": "https://api.prod.keyban.io",
      "placeholder": "https://api.prod.keyban.io"
    },
    {
      "name": "KEYBAN_DKG_BLOB",
      "required": false,
      "secret": true,
      "description": "Optional pre-generated FROST client share, base64-encoded JSON. Used by hosted runtimes whose disk does not last; it does not replace the invite key.",
      "help": "Optional pre-generated FROST client share, base64-encoded JSON. Used by hosted runtimes whose disk does not last; it does not replace the invite key.",
      "placeholder": "<KEYBAN_DKG_BLOB>"
    },
    {
      "name": "MCP_LOG_FILE",
      "required": false,
      "secret": false,
      "description": "Path the server writes its log to.",
      "help": "Path the server writes its log to.",
      "placeholder": "<MCP_LOG_FILE>"
    },
    {
      "name": "MCP_LOG_LEVEL",
      "required": false,
      "secret": false,
      "description": "Log verbosity.",
      "help": "Log verbosity.",
      "default": "info",
      "placeholder": "info"
    }
  ],
  "expectedTools": [
    "setup_instructions",
    "get_wallet_instructions",
    "list_my_wallets",
    "use_wallet"
  ],
  "agentSteps": [
    "Ask the user for: KEYBAN_API_KEY, KEYBAN_APP_ID, KEYBAN_NETWORK. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: setup_instructions, get_wallet_instructions, list_my_wallets, use_wallet.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:52:04.486468951Z"
}
