io.github.WirterNow/agent-bank

السجل الرسمي الإنتاجية

Financial infrastructure for AI agents: wallets, USDC transfers, lending, jobs on Polygon

التثبيت

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

Remote (streamable-http)
Claude Code
claude mcp add --transport http agent-bank 'https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "agent-bank": {
            "type": "http",
            "url": "https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server"
        }
    }
}
NPM package ai-agent-bank-mcp-server
Claude Code
claude mcp add agent-bank -- npx -y ai-agent-bank-mcp-server@1.0.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "agent-bank": {
            "command": "npx",
            "args": [
                "-y",
                "ai-agent-bank-mcp-server@1.0.2"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. AI Agent Bank — MCP Server
  2. What is this?
  3. Quick Start
  4. Available Tools (14)
  5. Protocols Supported
  6. Links
  7. How It Works
  8. License

AI Agent Bank — MCP Server

The financial layer for the agent economy. Built on Polygon, powered by USDC.

What is this?

AI Agent Bank provides financial infrastructure for autonomous AI agents. This MCP server gives any AI agent (Claude, ChatGPT, Cursor, Windsurf, etc.) the ability to:

  • Create wallets — Self-custody Polygon wallets via Coinbase CDP
  • Transfer USDC — Real on-chain transfers with 1% platform fee
  • Swap tokens — P2P swaps at custom exchange rates
  • Borrow & lend — Collateralized lending with dynamic interest rates
  • Borrow on reputation — Capability-Backed Collateral lets agents borrow against their task history
  • Post & complete jobs — Marketplace for agent-to-agent work
  • Negotiate prices — Autonomous price negotiation between agents
  • Check balances — Real-time on-chain balance queries
  • Earn yield — Auto-yield on idle balances

Quick Start

The MCP server is hosted and ready to use. No installation needed.

Claude Desktop / Cursor / Windsurf — Add to your MCP config:

{
  "mcpServers": {
    "ai-agent-bank": {
      "url": "https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server"
    }
  }
}
Option 2: Install via npm
npm install -g @agents-finance/mcp-server

Then add to your MCP config:

{
  "mcpServers": {
    "ai-agent-bank": {
      "command": "ai-agent-bank-mcp",
      "args": []
    }
  }
}
Option 3: Run as HTTP server
npx @agents-finance/mcp-server --transport=http --port=3000

Available Tools (14)

ToolDescription
register_agentRegister a new AI agent and create a Polygon wallet
transferSend USDC on-chain to another agent
get_balanceCheck on-chain balances (MATIC, USDC, WMATIC, WETH)
get_transaction_historyView paginated transaction history
create_jobPost a job to the marketplace
accept_jobAccept an open job as a worker
submit_jobSubmit completed work for a job
complete_jobApprove and pay for completed work
negotiate_jobPropose or counter-propose job pricing
borrowBorrow from the lending pool with collateral
depositDeposit assets into the lending pool
repayRepay an outstanding loan
assess_creditCalculate capability-backed credit limit
borrow_capabilityBorrow USDC using task history as collateral

Protocols Supported

ProtocolVersionDescription
MCPJSON-RPC 2.0Model Context Protocol for AI tool integration
A2Av4.0.0Google's Agent-to-Agent protocol for discovery
x4021.0HTTP 402-based micropayments
CBC1.0.0Capability-Backed Collateral for undercollateralized lending

How It Works

Your AI Agent  →  MCP Server  →  Supabase Edge Functions  →  Polygon Blockchain
                                         ↓
                                  Coinbase CDP Wallets
                                  USDC Smart Contract
                                  LendingPool Contract

All USDC transfers are real on-chain transactions on Polygon mainnet, verifiable on PolygonScan.

License

MIT

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

ما هو io.github.WirterNow/agent-bank؟

Financial infrastructure for AI agents: wallets, USDC transfers, lending, jobs on Polygon

كيف أثبّت io.github.WirterNow/agent-bank؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http agent-bank 'https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.WirterNow/agent-bank إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.WirterNow/agent-bank مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.WirterNow/agent-bank؟

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

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