Keyban Agent Wallet

السجل الرسمي المالية والمدفوعات

Give an AI agent its own blockchain wallet: balances, USDC transfers, x402 payments under policy.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @keyban/cli
Claude Code
claude mcp add keyban-agent-wallet -e 'KEYBAN_API_KEY=<your keyban_api_key>' -e 'KEYBAN_APP_ID=<KEYBAN_APP_ID>' -e 'KEYBAN_INVITE_KEY=<your keyban_invite_key>' -e 'KEYBAN_WALLET_ADDRESS=<KEYBAN_WALLET_ADDRESS>' -e 'KEYBAN_FUNDING=wallet' -e 'KEYBAN_NETWORK=<KEYBAN_NETWORK>' -e 'KEYBAN_BASE_URL=https://api.prod.keyban.io' -e 'KEYBAN_DKG_BLOB=<your keyban_dkg_blob>' -e 'MCP_LOG_FILE=<MCP_LOG_FILE>' -e 'MCP_LOG_LEVEL=info' -- npx -y @keyban/cli@0.2.0 mcp
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "keyban-agent-wallet": {
            "command": "npx",
            "args": [
                "-y",
                "@keyban/cli@0.2.0",
                "mcp"
            ],
            "env": {
                "KEYBAN_API_KEY": "<your keyban_api_key>",
                "KEYBAN_APP_ID": "<KEYBAN_APP_ID>",
                "KEYBAN_INVITE_KEY": "<your keyban_invite_key>",
                "KEYBAN_WALLET_ADDRESS": "<KEYBAN_WALLET_ADDRESS>",
                "KEYBAN_FUNDING": "wallet",
                "KEYBAN_NETWORK": "<KEYBAN_NETWORK>",
                "KEYBAN_BASE_URL": "https://api.prod.keyban.io",
                "KEYBAN_DKG_BLOB": "<your keyban_dkg_blob>",
                "MCP_LOG_FILE": "<MCP_LOG_FILE>",
                "MCP_LOG_LEVEL": "info"
            }
        }
    }
}

متغيرات البيئة

  • KEYBAN_API_KEY إلزامي سري Keyban API key of the application the wallet belongs to. Never exposed to the model.
  • KEYBAN_APP_ID إلزامي Identifier of the Keyban application.
  • KEYBAN_INVITE_KEY سري 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.
  • KEYBAN_WALLET_ADDRESS Wallet mode only. Address of the deployed SchnorrAccount this server drives (0x + 40 hex).
  • KEYBAN_FUNDING 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).
  • KEYBAN_NETWORK إلزامي Blockchain network the wallet operates on, for example base or xdc.
  • KEYBAN_BASE_URL Base URL of the Keyban backend. Accepts a full URL, or one of the environment aliases dev, testing, staging, prod and sandbox.
  • KEYBAN_DKG_BLOB سري Optional pre-generated FROST client share, base64-encoded JSON. Used by hosted runtimes with no OS keyring; it does not replace the invite key.
  • MCP_LOG_FILE Path the server writes its log to.
  • MCP_LOG_LEVEL Log verbosity.

الأسئلة الشائعة

ما هو Keyban Agent Wallet؟

Give an AI agent its own blockchain wallet: balances, USDC transfers, x402 payments under policy.

كيف أثبّت Keyban Agent Wallet؟

يعمل على جهازك. في Claude Code: claude mcp add keyban-agent-wallet -e 'KEYBAN_API_KEY=<your keyban_api_key>' -e 'KEYBAN_APP_ID=<KEYBAN_APP_ID>' -e 'KEYBAN_INVITE_KEY=<your keyban_invite_key>' -e 'KEYBAN_WALLET_ADDRESS=<KEYBAN_WALLET_ADDRESS>' -e 'KEYBAN_FUNDING=wallet' -e 'KEYBAN_NETWORK=<KEYBAN_NETWORK>' -e 'KEYBAN_BASE_URL=https://api.prod.keyban.io' -e 'KEYBAN_DKG_BLOB=<your keyban_dkg_blob>' -e 'MCP_LOG_FILE=<MCP_LOG_FILE>' -e 'MCP_LOG_LEVEL=info' -- npx -y @keyban/cli@0.2.0 mcp. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Keyban Agent Wallet إلى مفتاح API؟

نعم. يتطلب KEYBAN_API_KEY, KEYBAN_APP_ID, KEYBAN_INVITE_KEY, KEYBAN_NETWORK, KEYBAN_DKG_BLOB، وتضبطها في إعداداته.

من يصون Keyban Agent Wallet؟

ينشره io.keyban.mcp. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.