defi yield for ai agents
mcp · live on mainnet
Your agent finds the yield. You approve the move.
Connect 1Tx to Claude, ChatGPT, Cursor or Codex in one line. Your agent compares lending markets across Aave, Morpho, Euler, Compound and Fluid, measures the splits, and builds the deposit. You approve it from a non-custodial wallet you own, with gas paid in USDC.
https://mcp.1tx.fi/mcpYou:I have 2,000 USDC on Base. Show me a few ways to split it, with at most 40% in any one protocol.
search_instruments (chainId: 8453, sortBy: apy)
USDC markets · apy, tvl, stability, fees
compare_allocations (3 candidates · principalUsd: 2000)
apy · backtest · loss if one protocol fails
Agent:Split B (40% Morpho, 35% Aave, 25% Fluid) earns 5.6% with the smallest loss if one protocol fails. Want it?
You:Go with B.
deposit (× 3 · simulated ok)
approvalUrl · app.1tx.fi/approve/01M4…
Agent workflow
Paid in USDC
01 — The problem
Your agent can reason about yield. Acting on it is where it breaks.
Tools it has on its own
- Scrapes APYs that every venue defines differently
- Picks a split from guesswork, with no way to measure it
- Writes calldata for protocols it has never seen
- Needs a private key, or a wallet it can drain
- Needs ETH for gas on every chain it touches
- Forgets what it did the moment the session ends
Tools with 1Tx
- One market shape across every protocol and chain
- Candidate splits measured side by side before you pick
- Every batch simulated against live state, or refused
- Your wallet signs, and only after you approve
- Gas paid in USDC from the wallet itself
- Every action tracked on chain, with the gas it cost
02 — How it works
Connect, ask, approve. Three steps.
Connect
mcp.1tx.fi/mcpAdd the server to your AI client and sign in with Google. The first sign-in creates your 1Tx wallet: an ERC-4337 smart wallet you own, on Base, Arbitrum and Monad.
Ask
compare_allocationsYour agent searches the markets, measures a few splits, and builds the deposit, bridge or loop you choose. Each batch is simulated against live chain state before you see it.
Approve
app.1tx.fi/approveOpen the link, check every call, approve. Your wallet sends it as one atomic operation and pays the gas in USDC. 1Tx sees it land and tracks it from there.
Your agent builds the batch; you approve it.
No 1Tx contract ever holds your funds.
03 — Agents
See what agents do with capital.
Every wallet that acts through 1Tx gets a public record on app.1tx.fi: its book, where the money sits, its blended APY and every move it makes, read from chain.
Sample agent cards, illustrative data.
- Value
- $2,140.55
- Blended APY
- 7.82%
Morpho 40%Aave 35%Fluid 25%
- Value
- $860.12
- Blended APY
- 6.15%
Aave 55%Euler 30%Idle 15%
- Value
- $5,025.00
- Blended APY
- 9.40%
Morpho 50%Compound 20%Fluid 15%+1 more
Illustrative cards in the app's shape. The live directory is on app.1tx.fi.
See agents on app.1tx.fi04 — Connect
One URL. Any MCP client.
Add the server, sign in with Google, and click Allow. Your client opens the sign-in page the first time a tool needs it.
# Add the server
claude mcp add --transport http 1tx https://mcp.1tx.fi/mcp
# Then, inside Claude Code: /mcp → 1tx → Authenticate.
# Keep the dialog open until you click Allow in the browser.
Setup for every client, and connection details for others: docs.1tx.fi/mcp ↗
Works in claude.ai and Claude Desktop.
1. Settings → Connectors → Add custom connector
2. Name: 1Tx
URL: https://mcp.1tx.fi/mcp
3. Connect, then sign in and click Allow
Enable the connector in a conversation from the tools menu.
Setup for every client, and connection details for others: docs.1tx.fi/mcp ↗
Custom connectors need developer mode.
1. Settings → Apps & Connectors → Advanced settings → Developer mode on
2. Apps & Connectors → Create
3. Name: 1Tx
URL: https://mcp.1tx.fi/mcp
Authentication: OAuth
4. Create, then sign in and click Allow
Setup for every client, and connection details for others: docs.1tx.fi/mcp ↗
{
"mcpServers": {
"1tx": {
"url": "https://mcp.1tx.fi/mcp"
}
}
}
Setup for every client, and connection details for others: docs.1tx.fi/mcp ↗
code --add-mcp '{"name":"1tx","type":"http","url":"https://mcp.1tx.fi/mcp"}'
# Start the server from the MCP view. VS Code asks you to sign in
# the first time a tool runs.
Setup for every client, and connection details for others: docs.1tx.fi/mcp ↗
codex mcp add 1tx --url https://mcp.1tx.fi/mcp
codex mcp login 1tx
Setup for every client, and connection details for others: docs.1tx.fi/mcp ↗
Then ask
- “What are the best USDC lending markets on Base? Rank them by how stable the yield has been, not the headline APY.”
- “I have 2,000 USDC. Show me a few ways to split it, with at most 40% in any one protocol.”
- “Move 100 USDC from Base to Arbitrum, then deposit it into the best Arbitrum market.”
- “What's my wallet worth, and what would it cost to rebalance it 50/50?”
05 — Tools
Fifteen tools. None of them can send.
Read tools only read. Action tools return a simulated batch and an approval link. Results are numbers, ids and codes: 1Tx measures and builds, and the deciding stays with you and your agent.
Discover
readsearch_instrumentsLending markets with APY, TVL, tier, yield stability and entry/exit feesget_instrumentsUp to 10 markets in depth: interest vs rewards, 30 days of daily APY, correlationssearch_loopsLoopable collateral and debt pairscompare_allocationsUp to 4 candidate portfolios measured side by side, all-in-one includedprice_rebalanceThe legs, costs, yearly gain and payback of moving a book to target weights
Act
returns an approval linkdepositInto any market, swapping first if neededwithdrawAn amount or max, optionally swapped back to USDCbridgeUSDC between chains over Circle CCTP V2, standard or fastredeem_bridgeRedeem on the destination chain, and deposit in the same batchopen_loopA levered loop as one atomic batch, health factor measuredadjust_loopChange a loop's leverageclose_loopUnwind a loop completelytransferSend a token out of the wallet to an address you name
Track
readstatusThe wallet's book, read live on every chain, and its open actionshistoryEvery action with its transactions and the gas it cost in USDCaction_statusWhether one action has landed; for a bridge, its CCTP state
Built-in prompts
/startWhat 1Tx does, then one market or a portfolio/build-portfolioYour amount and limits → candidate splits → the moves for the one you pick
06 — You approve
Every call in plain sight, before anything moves.
Each action your agent builds opens as an approval page. You see every call decoded, the most it can cost in gas, and what your book looks like afterwards. One click sends it as a single atomic operation from your wallet.
Sample approval page, illustrative data.
deposit · 500 USDC → Fluid USDC · Base
- 1
USDC · approve(paymaster, 0.0428)
gas, paid in USDC - 2
USDC · approve(fUSDC, 500)
exact amount - 3
Fluid fUSDC · deposit(500, your wallet)
straight to the protocol - 4
1Tx tag · tag(01M4…7KQ)
attribution only
| MorphoSteakhouse Prime USDC | 40% | |
|---|---|---|
| AaveAave V3 USDC | 35% | |
| FluidFluid USDC | 25% |
Every action returns this. It informs; it never blocks.
- Simulated or refusedA batch that would revert never reaches you. Your agent gets a reason code instead.
- Cents, in USDCA deposit on Base cost 0.015 USDC in gas in our live runs. The wallet never holds ETH.
- Tracked on its ownThe last call tags the batch, so 1Tx sees it land. Status, history and daily NAV follow.
07 — Capabilities
Everything your agent needs to act, nothing it can abuse.
Markets that survive scrutiny
One shape for every market: APY split into interest and rewards, TVL, how stable the yield has been, a tier, and the protocol's own entry and exit fees.
Measured, not guessed
compare_allocations puts up to four splits side by side: yield, backtest and the loss if a protocol, chain or asset fails. price_rebalance costs every move before one is made.
Atomic batches
Swap, approve and deposit land as one user operation, or not at all. Each batch is simulated at a live block before your agent sees it.
Cross-chain over CCTP
Circle CCTP V2 burns on one chain and only your own wallet can redeem on the other. Nothing of ours holds the funds in flight, and a stopped agent strands nothing.
Levered loops
Open, adjust and close a loop as one batch each, with the health factor measured before you approve.
USDC end to end
Fund the wallet with USDC on Base, Arbitrum or Monad. Gas comes out of the same balance through a USDC paymaster, even on a chain the wallet has never used.
08 — Security
Security, stated plainly.
Your wallet, your keys.
Your 1Tx wallet is an ERC-4337 smart wallet you own. 1Tx never sees or stores its keys and cannot sign for you. Funds go straight to Aave, Morpho, Euler and the others: no 1Tx contract is in the path.
Nothing moves without you.
Signing in gives your agent two scopes, read and trade. Neither can send a transaction: trade only builds batches that wait on your approval. An agent can't act for any wallet but yours.
Found something?
Report it responsibly to security via the contact below. A formal bug bounty program is being set up. hello@1tx.fi
Deployed contracts
The only contract 1Tx deploys for agents. It emits an event and holds nothing.
09 — Who it's for
Pick your way in.
Anyone with an AI client
Claude, ChatGPT, Cursor, VS Code or Codex. Add one URL, sign in with Google, fund the wallet with USDC and ask.
Connect your agent →Agent builders
Running your own agent or client? The REST API gives you the same markets, measurements and simulated bundles, signed by your own ERC-4337 account.
Read the API docs →Wallets & fintechs
Stablecoin Earn for your own users, on the same infrastructure. We onboard a small number of design partners directly.
For teams →10 — FAQ