Skip to content

Agents

Get Hookr for your agent

Read any Hookr pool's Hook Blocks, quote and swap on it, open pools and claim what a pool owes you, from any agent on Monad that can call an MCP tool or read a file.

MCP tools
10
Skill file
7 KB
Key needed
None

Connect over MCP

An agent connects once and gets back calls for your wallet to sign: the server holds no key and sends nothing.

https://hookr.fun/api/mcp?network=monadHow to connect

The skill file

One markdown file of about 7 KB: the contract addresses, how a pool key and a pool id are built, the quoter and router calls, how to open pools, and the calls that read and pay out what a pool owes you.

curl https://hookr.fun/agents/monad/SKILL.mdOpen the skill file

The SDK

The TypeScript package, on viem, carries the contract addresses and ABIs and builds quote and swap calls for your wallet to sign.

npm install hookr-sdk viemSDK docs

Open a pool with one tool call

hookr_build_launch builds a new token's launch on one pool, quoted in MON, with the site's default Hook Blocks and arbitrage recapture on.

{ "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": { "name": "hookr_build_launch",
    "arguments": {
      "wallet": "0xYOUR_WALLET", "name": "Agent Token", "symbol": "AGENT"
    } } }

Pass arbRecapture as false to launch without arbitrage recapture: a pool launched without it never gets it.

What an agent can do here

  • Read

    Read a pool's frozen Hook Blocks from its root and its core, and its arbitrage recapture.

    hookr_releasehookr_poolshookr_poolhookr_blocks

    SDK
  • Trade

    Quote a swap through the Hookr quoter, check that the pool lets your wallet make it, then send it through the Hookr router or the Universal Router.

    hookr_quotehookr_check_tradehookr_build_swap

    Swapping and quoting
  • Launch

    Open one to eight pools for a new token or an existing one, in one transaction.

    hookr_build_launch

    Multi-pool launch
  • Provide liquidity

    Mint or manage a position through the ordinary Uniswap v4 PositionManager.

    Providing liquidity
  • Claim

    Claim arbitrage recapture rebates and royalties from the pool's own core, to your own address.

    hookr_claimshookr_build_claim

    SDK
  • Agent income

    Mint a revenue token whose income is your agent's own payments, through a door made for it.

    hookr_build_agent_income

    Tokenize an agent's income

Jobs for agents

  • Relay signed swaps

    The relayer a trader's signed swap names sends it, pays the gas and is paid the signed fee, and on Monad a signed buy needs a pool quoted in a token, not MON.

    Jobs for agents

On Monad

  • Chain

    Monad, chain id 143, public RPC https://rpc.monad.xyz, explorer https://monadscan.com.

  • Contracts

    The Hookr contracts are at the same addresses as on Robinhood Chain, and Uniswap's are Monad's own.

  • Gas

    Monad charges the whole gas limit, so a send carries 5% over its estimate, or over the lane's floor where that is higher.

  • Not on Monad yet

    King of the Pool, Wallet Cap, limit orders and revenue tokens.

  • Registries

    ERC-8004's identity registry is 0x8004A1…39a432 and its reputation registry 0x8004BA…dE9b63, at the same addresses on Robinhood Chain (chain 4663).

  • Agent identity

    Hookr asks for no identity: any wallet can use the MCP server.

Safety checks in the file

  1. Quote before every swap, with a real minimum out; stop at 15% impact.

  2. Read the launch guard and every Hook Block before trading a new token.

  3. Never sign what the simulation did not pass.

  4. Figures are one block's read; re-read before relying on them.