All guides

Connect our MCP

Connect Claude or any agent into your fleet

Your fleet has a native MCP server. Point Claude, Cursor, or any MCP-capable agent at one URL and it can read your devices, earnings, hosts and payout queue, and even register new devices, all scoped to your organization. No exports, no copy-pasting dashboards into chat.

https://fleet.fractals.finance/api/mcp/mcp

Transport is Streamable HTTP. Every request needs one header: Authorization: Bearer <your API key>.

Connect in 30 seconds

Claude Code

claude mcp add --transport http fleet \
  https://fleet.fractals.finance/api/mcp/mcp \
  --header "Authorization: Bearer ffm_your_key_here"

Cursor, Claude Desktop, or anything that reads an MCP config

{
  "mcpServers": {
    "fleet": {
      "url": "https://fleet.fractals.finance/api/mcp/mcp",
      "headers": {
        "Authorization": "Bearer ffm_your_key_here"
      }
    }
  }
}

That is the entire setup. Ask your agent "list my devices" to confirm it works.

What your agent can do

ToolWhat it doesWrites?
list_devicesEvery device in your org, with an active-only filterNo
get_deviceOne device by serial number or idNo
fleet_earningsTotal token earnings over a month range (YYYY-MM)No
list_payout_requestsYour payout queue, filterable by statusNo
list_hostsAll hosts with saved wallets and device countsNo
get_hostOne host with wallet, status, and assigned serialsNo
add_deviceRegister a new device by serial, optional nameYes
create_external_hostAdd an off-platform host to your address bookYes

The two write tools mirror dashboard actions. Neither moves money: approving and settling payouts stays in the dashboard, on purpose.

Get an API key

Keys look like ffm_ plus 32 characters and belong to your account, so agents see exactly what you see.

  1. Open Settings in the dashboard.
  2. Click New key, name it after whatever will use it (say "Claude Desktop"), and choose when it expires — 30 days, 90 days, a year, or never.
  3. Copy the key. We show it once, so store it like a password. Paste it into the Authorization: Bearer header above.

The same page lists every key with its status, when it was last used, and when it expires, and lets you revoke any of them. A revoked or expired key stops working immediately.

Guardrails

  • Every tool is scoped to the organization behind the key. There is no cross-fleet access.
  • No tool can approve, settle, or send a payout. Money stays human-only.
  • Keys are stored as hashes, shown once, revocable, and stamped with last-used time.

Prompts to try

  • "Which of my devices earned the most from January through March?"
  • "List pending payout requests and tell me which hosts they belong to."
  • "Register device 78421C1BF529 and name it Rooftop unit."
  • "Do any of my hosts still have no wallet on file?"

Troubleshooting

  • 401: the Authorization: Bearer header is missing or malformed, or the key was revoked or expired. Create a fresh key in Settings.
  • Empty results: the org behind your key has no data yet. Add a device first.
  • Timeouts: requests cap at 60 seconds. Narrow the month range on fleet_earnings.