---
name: zeroth
description: Read, launch and trade tokens on Zeroth, the launchpad and trading terminal on Zero (LayerZero), through its remote MCP server. Use when an agent needs launch lists, token detail, quotes, balances, or unsigned transactions to deposit, buy, sell, launch, grant or revoke a session key, place orders, bridge ZRO to Zero, or trade for a user with a session key.
---

<!-- PLACEHOLDER headline: the founder writes the final copy. -->
# Zeroth for agents

Zeroth is a launchpad and trading terminal on Zero, LayerZero's chain. Tokens launch on a bonding curve,
graduate into a quoted market, and can be bought from other chains in one message.

## Connect

MCP server (Streamable HTTP, JSON-RPC over POST, stateless, no sign-up):

    https://mcp.zeroth.fi/mcp

- Claude Code: `claude mcp add --transport http zeroth https://mcp.zeroth.fi/mcp`
- Claude apps: add a custom connector with that URL.
- Clients with an `mcpServers` config: `{ "mcpServers": { "zeroth": { "url": "https://mcp.zeroth.fi/mcp" } } }`
- Model APIs with remote MCP tools (GPT, Grok and others): pass that URL as the MCP server URL.
- No MCP client: send JSON-RPC yourself.

      curl -s https://mcp.zeroth.fi/mcp -H 'content-type: application/json' \
        -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_launches","arguments":{"limit":5}}}'

Call `zeroth_info` first. It returns the network, chains, contract addresses, fees and these rules.

## Safety model

- Prepare-then-sign. Read tools only read. `prepare_*` and `session_*` tools return unsigned transactions as
  `steps` (chainId, from, to, data, value). You or your user sign them locally. The server never signs, never
  sends, and never asks for a private key. Never send a key to it or to anyone.
- Session keys. The user grants your key on their trading balance (`prepare_set_session`). The TradeAccount
  contract enforces the rest:
  - Your key trades only inside the trading balance: the quote balance and the token positions held there. Your
    buys land in the position. Your sells sell from the position. The key cannot touch the user's wallet.
  - Price guard. Every trade your key signs must fill within a set distance of the last block's price, fees
    included: 3% by default, at most 10% (`max_deviation_bps`). A trade outside it reverts with `PriceGuard`.
  - Expiry. About 7 days by default (`hours`). A key cannot extend itself; the user renews it by granting it again.
  - Caps are optional. `max_per_trade_usd` and `max_per_day_usd` are not set unless the user asks. Within the
    guard, a key with no caps can trade the whole trading balance in small steps, so a user who wants a hard
    limit sets the caps.
  - It can never withdraw quote or tokens. The user can revoke it at any time (`prepare_revoke_session`).
- Every tool description says whether signing its output spends money.
- Trade by token address. Symbols are not unique.
- Each step has a `signer`: `wallet` (the user) or `session_key` (you). Sign steps in order.

## Fund once, grant a key, trade

1. Fund once. The user deposits into the trading balance: `prepare_deposit` with `from_chain` home (approve, then
   deposit) or a remote chain (one LayerZero send that credits on arrival). On testnet, `prepare_faucet` gives
   1000 test USD first. The user signs.
2. Make a key. Generate a private key locally. Only its address leaves your process.
3. Grant the key. `prepare_set_session` with your key's address. Defaults: 7 days, a 3% price guard, no caps.
   Optional: `hours`, `max_deviation_bps`, `max_per_trade_usd`, `max_per_day_usd`. The user signs it. Send your key
   a little ETH on the home chain for gas.
4. Trade. `session_buy` spends from the trading balance; the tokens stay on the trading account as the user's
   position. `session_sell` sells from that position; proceeds go to the trading balance. No token approval is
   needed. The server checks expiry, caps, balance or position and the price guard, tells you the largest size
   that would pass the guard, and simulates the call from your key. Sign the returned step with your session key
   and send it. A trade too large for the guard can be split across blocks or signed by the user instead. Tokens
   the user already holds in the wallet must be moved in first (`prepare_deposit_token`, user signs).
5. Revoke. When the work is done, the user signs `prepare_revoke_session`. Return unused gas.

A working script: `agent/examples/session-trader.mjs` in the Zeroth repo.

## Tools

Read-only:

- `zeroth_info`: network, chains, contracts, fees, safety model.
- `list_launches`: launches, newest first, with stage, price, market cap and curve progress.
- `get_token`: one launch with curve progress, price and a holders summary.
- `quote_buy`, `quote_sell`: exact on-chain quotes with minimum out at your slippage.
- `get_balance`: trading balance, wallet balances on each chain, a token's wallet balance and trading position,
  session settings and spend today.
- `list_orders`: a wallet's orders with status, trigger, fill and the data to cancel one.
- `route_status`: whether the ZRO route to Zero is open now from Ethereum, Arbitrum and Base (mainnet).

Prepare (unsigned transactions):

- `prepare_faucet`: testnet only, 1000 test USD. Gas only.
- `prepare_deposit`: spends money. Fund the trading balance from the home chain or a remote chain.
- `prepare_withdraw`: owner only. Trading balance back to the wallet, on the home chain or a remote chain.
- `prepare_deposit_token`, `prepare_withdraw_token`: owner only. Move a token between the wallet and the position
  on the trading account. Gas only.
- `prepare_buy`, `prepare_sell`: spend money. Trade from the wallet, or from and into the trading balance and
  position. Signed by the user; the price guard applies to session keys only.
- `prepare_cross_chain_buy`: spends money. Pay on a remote chain in one signature. With `return_value_eth` a
  failed fill is refunded to the source chain; without it the refund is held on the home chain for the sender.
- `prepare_launch`: launch a token. With `first_buy_usd` it spends money, and the creator buys first.
- `prepare_set_session`: authorises your key to trade the trading balance within its price guard, expiry and any
  caps. The user signs.
- `prepare_revoke_session`: revokes a key. The user signs.
- `prepare_bridge_zro`: spends money, mainnet only (see below).

Session-key trading (you sign with your own key):

- `session_buy`, `session_sell`: spend money inside the user's trading balance, within the price guard and any caps.

Orders (limit, take-profit, stop, trailing stop, brackets):

- `prepare_order_session`: the user grants the venue's order key a session. Same model as any session key: 7 days
  and a 3% price guard by default, caps optional, never withdraws.
- `build_order`: typed data for one order, which the user signs. Read-only.
- `submit_order`: posts the signed order. It fills from the trading balance when its trigger is met: buys into
  the position, sells from the position.
- `list_orders`: see Read-only.

## Testnet and mainnet

| | Testnet (now) | Mainnet |
|---|---|---|
| Home chain | Base Sepolia stands in for Zero | Zero, LayerZero eid 33002, expected Nov 30 |
| Remote chains | Arbitrum Sepolia | Announced with mainnet |
| Quote asset | Test USD (tUSD), no value, faucet | Announced with mainnet |
| Venue tools | Live | Answer "not live" until contracts deploy |
| `prepare_bridge_zro`, `route_status` | Use mainnet regardless | Mainnet |

`prepare_bridge_zro` moves real ZRO from Ethereum, Arbitrum or Base mainnet to Zero. There is no testnet version.
It is free to your own address. To another address, 0.20% of the amount is taken from it and sent to
0xcE4c518D1475593eB4A44154c2C13c4F86F89D90 as a separate transfer, so you never spend more than the amount.
The route opens in windows before mainnet; check `route_status` first. Contract wallets are refused because they
may not exist at the same address on Zero.

## Links

- MCP: https://mcp.zeroth.fi/mcp
- This guide: https://zeroth.fi/agents/skill.md
- Overview: https://zeroth.fi/llms.txt
- Page: https://zeroth.fi/agents
- Testnet terminal: https://testnet.zeroth.fi
