# Connect Klox to this agent

Klox (https://klox.ai) is a visual canvas for AI video creation. The user sent you this page because they want you to connect to their Klox account through MCP, so you can read and edit their canvases and, if they allow it, start generations with their credits.

Do the setup yourself; the user should only need to approve commands and sign in once in the browser. Never ask the user for a password, API key or token: authorization happens in their browser through OAuth.

## 1. Add the Klox MCP server

MCP server: https://klox.ai/mcp (remote, Streamable HTTP, OAuth).

- Claude Code — run:
  `claude mcp add --scope user --transport http klox https://klox.ai/mcp`
  Then ask the user to run `/mcp`, select `klox` and choose Authenticate if it is not connected yet.
- Codex — run:
  `codex mcp add klox --url https://klox.ai/mcp`
  `codex mcp login klox`
- Any other MCP client — add a remote MCP server with the URL above and use its OAuth sign-in.

If `klox` is already configured, skip to step 2.

## 2. Let the user approve access

A Klox page opens in the browser. Tell the user to sign in (or create an account), check the permissions and click Allow. "Generate with your credits" is optional; without it you can still read and edit canvases.

If the Klox tools do not show up after approval, ask the user to restart this session (or reload MCP servers) and continue there.

## 3. Check the connection

Call `list_workflows`. If it answers, tell the user Klox is connected and ask what they want to make. The server's own instructions explain how to work with canvases.
