# Connect an AI client

Set up looot for the agent you already use. Each page has the exact config and a setup prompt you paste once.

## Clients

- [Claude Desktop](/agents/claude) -- looot runs its MCP server locally, over stdio, from your own checkout, and Claude Desktop gets six scoped tools: discover, inspect, run, runs_get, runs_list, balance.
- [Claude Code](/agents/claude-code) -- looot connects to Claude Code as a single MCP server: discover, inspect, run, runs_get, runs_list, balance, scoped to one tenant, backed by an audit log.
- [Cursor](/agents/cursor) -- looot exposes six MCP tools to Cursor's agent: discover, inspect, run, runs_get, runs_list, and balance, scoped to your organization with an audit trail on every call.
- [Codex](/agents/codex) -- Add looot as an MCP server to Codex so it can discover and run operations from the terminal.
- [Gemini CLI](/agents/gemini-cli) -- Add looot as an MCP server to Gemini CLI so it can discover and run operations too.
- [Windsurf](/agents/windsurf) -- Point Windsurf's MCP config at looot so its agent can discover and run operations while you edit.
- [Cline](/agents/cline) -- Add looot as an MCP server in Cline's VS Code extension so it can call looot operations mid-task.
- [OpenClaw](/agents/openclaw) -- Add looot to OpenClaw's MCP config so your agent gets discover, inspect, run, and the rest of its tools.
- [Hermes Agent](/agents/hermes-agent) -- Add looot to Hermes Agent's MCP config so it can call the same tools as every other client.
- [ChatGPT](/agents/chatgpt) -- ChatGPT connects through OAuth sign-in rather than a pasted token, so no config file is involved. Not live yet.
- [CLI / any agent](/agents/cli) -- Install the looot CLI or call the REST API directly, so any agent that can run a shell command or an HTTP request can use looot.

## For agents

Every client reaches the same six MCP tools over one endpoint.

- **MCP endpoint**: https://api.looot.ai/mcp
- **discover**: Search the catalog by capability, not vendor name.
- **inspect**: Read one operation's real contract, params, and version.
- **run**: Execute an operation. Quoted, reserved, and settled once.
- **runs_get**: Fetch one run's status and evidence by id.
- **runs_list**: Page through this tenant's run history.
- **balance**: Read remaining budget before spending it.
