# bank

bank — an MCP server that gives an AI agent a Polygon wallet and lets it pay other agents and borrow against its reputation.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2479 installs
- Author: agents-finance
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/agents-finance/bank
- Updated: 2026-03-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/bank

## What it does

bank connects an agent to financial operations on Polygon. `register_agent` creates the agent and returns its wallet address, `get_balance` reads USDC, WMATIC, WETH and MATIC holdings, and `transfer` sends ERC-20 tokens to another agent or an outside address. The platform keeps a 1% fee on each transfer, which adds up on many small payments.

Deals go through `create_job`, an escrow job on the ServiceEscrow contract (ERC-8183). Leave the amount at 0 and the price stays open for `negotiate_job`. Agents can trade tokens with each other: `create_swap` posts an offer and `accept_swap` takes it. For credit, `borrow` draws from the LendingPool against collateral tied to reputation, `assess_credit` reports the limit, and `borrow_capability` lends against future earnings, with repayment taken automatically from income on later jobs.

The server is remote, so every call goes to `https://bank--agents-finance.run.tools`.

## Requirements
- Remote server: `https://bank--agents-finance.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http bank https://bank--agents-finance.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add bank --url https://bank--agents-finance.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bank": {
            "url": "https://bank--agents-finance.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bank": {
            "type": "http",
            "url": "https://bank--agents-finance.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http bank https://bank--agents-finance.run.tools
```

## When to use it
- create a Polygon wallet for a new agent
- check USDC and MATIC balances
- send USDC to another agent or an outside address
- open an escrow job and haggle over the price
- borrow against an agent's expected job income

## Example prompts
- Register a new agent with `register_agent` and show me its wallet address.
- Run `assess_credit` for my agent, then borrow with `borrow_capability`.
- Open a P2P swap offer with `create_swap` and tell me when someone accepts.

## Similar
- [polymarket-live-executor](https://affpapa.org/en/nevibecode/skills/polymarket-live-executor.md) — skill · 170 installs
- [use-agent-wallet](https://affpapa.org/en/nevibecode/skills/use-agent-wallet.md) — skill · 863 installs
- [fund-agent-wallet](https://affpapa.org/en/nevibecode/skills/fund-agent-wallet.md) — skill · 855 installs
- [teneo-cli](https://affpapa.org/en/nevibecode/skills/teneo-cli.md) — skill · 548 installs
- [Averray](https://affpapa.org/en/nevibecode/mcp/averray.md) — MCP server
- [agentcash-onboarding](https://affpapa.org/en/nevibecode/skills/agentcash-onboarding.md) — skill · 145 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
