---
title: Connect OpenClaw
description: Add the looot MCP server to OpenClaw with one command, sign in with the browser, and check it works.
sidebar:
  label: OpenClaw
---

<ClientHeader id="openclaw" />

<ConnectVideo id="openclaw" name="OpenClaw" />

OpenClaw reaches looot's catalog, balance and runs over MCP. You add the server with one command and sign in from the terminal.

Before you start you need a looot account. The runs you make spend the organization's balance, so
top up before your first paid run. See [Before your first run](/money#before-your-first-run).

:::note
Not tested by hand yet. Steps follow [the client's own docs](https://docs.openclaw.ai/cli/mcp/registry); if a menu has moved, that page wins.
:::

## Sign in with the browser

The server URL is `https://api.looot.ai/mcp`. Nothing to copy: you sign in on looot.ai, pick the organization to bill and click **Connect**.

**Add and sign in**

```bash
openclaw mcp add looot --url https://api.looot.ai/mcp --transport streamable-http --auth oauth
openclaw mcp login looot
```

**Check the connection**

```bash
openclaw mcp doctor looot --probe
```

**What that writes to openclaw.json**

```json
{
  "mcp": {
    "servers": {
      "looot": {
        "url": "https://api.looot.ai/mcp",
        "transport": "streamable-http",
        "auth": "oauth"
      }
    }
  }
}
```

## Headless: a token in the header

Only for CI and machines with no browser. Create an agent token in [Settings](https://looot.ai/settings) and send it as `Authorization: Bearer <token>`. Never commit it.

**Headless: openclaw.json with a header**

```json
{
  "mcp": {
    "servers": {
      "looot": {
        "url": "https://api.looot.ai/mcp",
        "transport": "streamable-http",
        "headers": {
          "Authorization": "Bearer <agent token from looot.ai Settings>"
        }
      }
    }
  }
}
```

## Notes

- openclaw mcp login runs the browser sign-in and saves the credentials locally. Over SSH or on a remote machine it prints a command with --code to finish the sign-in.
- With Gateway hot reload on, changes apply on the next turn. openclaw mcp reload refreshes CLI-owned runtimes.
- OpenClaw's docs say to keep credentials out of config literals, so prefer the sign-in to the header.
- openclaw mcp serve runs OpenClaw as an MCP server. mcp add is the client side.
- Labels and the doctor output may differ slightly in your version.

## Check it works

Ask OpenClaw to call [`balance`](/mcp-tools/balance) or [`catalog_overview`](/mcp-tools/catalog-overview). Both are free. A working connection
answers with your available balance, or the catalog's categories and job counts.

## Let your AI guide you

Paste this into Claude Code or any AI assistant and it walks you through the setup.

```text
Help me connect the looot MCP server https://api.looot.ai/mcp to OpenClaw. Go one step at a time and wait for me to confirm. After each step, ask me for a screenshot, check it, and tell me exactly what to do next. Ask me to hide any token first. Check my config with me as we go. Steps: 1. Run openclaw mcp add looot --url https://api.looot.ai/mcp --transport streamable-http --auth oauth. 2. Run openclaw mcp login looot and sign in on the looot page. 3. Run openclaw mcp doctor looot --probe and check the connection. Use browser sign-in. If it fails, tell me to make a token at looot.ai/connect under Advanced and keep it in the config file only, never in this chat. At the end, ask looot for my balance, run ipinfo-lite on 8.8.8.8, and tell me both results.
```

## What you see when you connect

The browser opens looot.ai and shows the consent page: which organization to bill, which scopes
to grant and how long to stay connected. See [The consent page](/connect#the-consent-page).

<Related />
