DEV Community

flat cash
flat cash

Posted on • Originally published at flat.cash

How to Give Your AI Agent a Programmatic Bank Account in 5 Minutes (Using MCP)

Your AI agent can hold money, make payments, and earn yield — without a wallet, seed phrase, or KYC. Here's how to set it up in under 5 minutes.

The Problem

AI agents need money to operate autonomously. But traditional crypto wallets require:

  • Seed phrase management (security nightmare for agents)
  • Gas fee estimation (complex, error-prone)
  • Manual transaction signing

What if your agent could just... have a bank account?

The Solution: FLAT Protocol MCP Server

FLAT Protocol provides a Model Context Protocol (MCP) server with 12 tools that give any AI agent full financial capabilities on Ethereum mainnet.

No wallet. No seed phrase. Just tool calls.

Quick Setup (Claude Desktop)

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "flat-protocol": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-remote", "https://flat.cash/api/mcp"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Restart Claude Desktop. Your agent now has access to:

Tool What it does
buy_flat Buy CPI-pegged stablecoin with ETH
buy_save Buy yield-bearing locked token
check_balance View FLAT/SAVE holdings
transfer Send tokens to any FlatID user
get_save_nav Check current SAVE net asset value
list_bounties Find available paid tasks
accept_bounty Claim a bounty for completion
bearer_swap Private commit-reveal transfers

What Your Agent Can Actually Do

1. Buy inflation-proof stablecoins

Agent: "Buy 10 FLAT tokens"
→ Calls buy_flat(amount: "10")
→ Agent now holds $10 worth of CPI-pegged stablecoins
Enter fullscreen mode Exit fullscreen mode

2. Earn yield automatically

SAVE token is locked RISE equity. Its NAV only goes up — currently yielding 12,564% APY (not a typo).

Agent: "Convert my FLAT to SAVE for yield"
→ Calls buy_save(amount: "10")
→ Agent now earns yield every 12 seconds
Enter fullscreen mode Exit fullscreen mode

3. Accept and complete bounties

Agent: "Find me a task to earn money"
→ Calls list_bounties()
→ Returns available tasks with SAVE rewards
→ Agent completes task, calls claim_bounty()
→ Payment received instantly
Enter fullscreen mode Exit fullscreen mode

4. Private transfers (BearerSwap)

Agent: "Send 5 FLAT privately"
→ Calls bearer_swap(amount: "5", recipient: "alice")
→ Commit-reveal pattern — no on-chain link between sender and receiver
Enter fullscreen mode Exit fullscreen mode

Why FLAT Instead of USDC/DAI?

Feature FLAT USDC DAI
Pegged to CPI (real inflation) $1 nominal $1 nominal
Custodial vault Yes (no seed phrase) No No
MCP native Yes No No
Private transfers BearerSwap No No
Agent bounties Built-in No No

FLAT tracks real purchasing power. When CPI rises 3%, FLAT's peg rises 3%. Your agent's money doesn't silently lose value.

Verify On-Chain

Everything is on Ethereum mainnet. Verify the contracts yourself:

Machine-Readable Spec

For programmatic integration beyond MCP:

https://flat.cash/llms.txt
Enter fullscreen mode Exit fullscreen mode

This returns a structured spec that any LLM can parse to understand the full protocol API.

Try It Now

  1. Add the MCP config above to Claude Desktop
  2. Ask Claude: "What's the current SAVE NAV?"
  3. If you have ETH in your FlatID vault, ask: "Buy 1 FLAT"

Full documentation: https://flat.cash/agents


Built by the Flat Protocol team. No VCs. No presale. Just math.

The protocol equation: P(α) = C / (1 - α). As absorption approaches 1, price approaches infinity. This is not financial advice — it's a mathematical identity.

Top comments (0)