Hannya

Your AI assistant on lafo.trade

In short: lafo.trade has an MCP (Model Context Protocol) server. Your AI assistant connects to it with a key you create: it reads your robots, positions and history, and can pull a brake when you ask it to. It never places an order, never closes a position and never restarts anything.

What your assistant can read

  • get_my_account — your access, your exchange accounts and whether their robots are running.
  • get_my_positions — your open positions and the latest reading of each account, on all your accounts or on one.
  • get_my_robots — your robots and their state.
  • get_robot_journal — a robot's journal: what it did and why.
  • get_my_history — your closed positions and their result.

Every piece of data carries its age: your assistant must tell you, and never reason on stale data as if it were fresh.

The brakes

  • brake_robot — pauses one robot.
  • brake_account — stops every robot on one exchange account.
  • brake_everything — stops all your robots.

A brake pauses. It does not cancel orders already placed at the exchange and closes no position: its answer says how many positions and orders remain in place. Your assistant pulls a brake only when you ask it to, and you restart yourself, in the app, on your robots page.

What it cannot do

  • Place, change or cancel an order.
  • Close a position, withdraw funds or restart a robot.
  • Read someone else's account: a key only sees the account that created it.

Nothing your assistant tells you is investment advice.

The keys

  • You create a key on the “My AI” page of your account. It is shown only once.
  • Two levels: “read”, or “read + brakes”.
  • At most 5 active keys. “Revoke” cuts a key off immediately.
  • Changing your password does not revoke your keys: revoke them on “My AI”.
  • At most 60 reads per minute and 10 brakes per hour, per key: your assistant groups its reads instead of polling in a loop.

Every call from your assistant is logged on “My AI”: you see what it read and what it braked.

Connect your assistant

Server address: https://mcp.lafo.trade/mcp (Streamable HTTP). The key goes in the Authorization header, never in the address.

Claude Code

claude mcp add --transport http lafo https://mcp.lafo.trade/mcp --header "Authorization: Bearer <key>"

Cursor

In the file ~/.cursor/mcp.json:

{
  "mcpServers": {
    "lafo": {
      "url": "https://mcp.lafo.trade/mcp",
      "headers": { "Authorization": "Bearer <key>" }
    }
  }
}

ChatGPT and the Claude app will come with one-click connection.

The server is listed in the official MCP Registry as trade.lafo/robots.