io.github.WirterNow/agent-bank
Financial infrastructure for AI agents: wallets, USDC transfers, lending, jobs on Polygon
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http agent-bank 'https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server'
{
"mcpServers": {
"agent-bank": {
"type": "http",
"url": "https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server"
}
}
}
ai-agent-bank-mcp-serverclaude mcp add agent-bank -- npx -y ai-agent-bank-mcp-server@1.0.2
{
"mcpServers": {
"agent-bank": {
"command": "npx",
"args": [
"-y",
"ai-agent-bank-mcp-server@1.0.2"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
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
Option 1: Connect directly (recommended)
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)
| Tool | Description |
|---|---|
register_agent | Register a new AI agent and create a Polygon wallet |
transfer | Send USDC on-chain to another agent |
get_balance | Check on-chain balances (MATIC, USDC, WMATIC, WETH) |
get_transaction_history | View paginated transaction history |
create_job | Post a job to the marketplace |
accept_job | Accept an open job as a worker |
submit_job | Submit completed work for a job |
complete_job | Approve and pay for completed work |
negotiate_job | Propose or counter-propose job pricing |
borrow | Borrow from the lending pool with collateral |
deposit | Deposit assets into the lending pool |
repay | Repay an outstanding loan |
assess_credit | Calculate capability-backed credit limit |
borrow_capability | Borrow USDC using task history as collateral |
Protocols Supported
| Protocol | Version | Description |
|---|---|---|
| MCP | JSON-RPC 2.0 | Model Context Protocol for AI tool integration |
| A2A | v4.0.0 | Google's Agent-to-Agent protocol for discovery |
| x402 | 1.0 | HTTP 402-based micropayments |
| CBC | 1.0.0 | Capability-Backed Collateral for undercollateralized lending |
Links
- Website: agentsfinance.ai
- A2A Agent Card: agentsfinance.ai/.well-known/agent.json
- MCP Endpoint:
https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server - Network: Polygon PoS (Mainnet)
- Token: USDC (Circle)
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
Frequently asked questions
What is io.github.WirterNow/agent-bank?
Financial infrastructure for AI agents: wallets, USDC transfers, lending, jobs on Polygon
How do I install io.github.WirterNow/agent-bank?
It runs as a remote server. In Claude Code: claude mcp add --transport http agent-bank 'https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.WirterNow/agent-bank need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.WirterNow/agent-bank open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.WirterNow/agent-bank?
It is published by WirterNow. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.