> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qonto.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Add Qonto as an MCP server in Anthropic's Claude Code CLI

[Claude Code](https://docs.claude.com/en/docs/claude-code/overview) is Anthropic's official terminal-based agent. It supports remote MCP servers natively through `claude mcp add`.

## Setup

<Steps>
  <Step title="Add the server">
    From any terminal, run:

    ```bash theme={null}
    claude mcp add --transport http qonto-mcp https://mcp.qonto.com/mcp
    ```

    This registers the server in your local Claude Code configuration (`~/.claude.json`). The name `qonto-mcp` is local, you can pick a different one if you prefer.
  </Step>

  <Step title="Authenticate">
    Open Claude Code (`claude`) and run the slash command:

    ```
    /mcp
    ```

    A list of configured MCP servers is shown. Click **Authenticate** next to `qonto-mcp`. Claude Code opens a browser window for the Qonto OAuth flow.
  </Step>

  <Step title="Verify">
    Still in Claude Code, ask:

    > Show me my pending requests.

    Claude Code will list the `list_requests` tool, request your approval to run it, and stream back the result.
  </Step>
</Steps>

## Useful commands

| Command                       | What it does                                       |
| ----------------------------- | -------------------------------------------------- |
| `claude mcp list`             | List configured MCP servers and their auth status. |
| `claude mcp remove qonto-mcp` | Remove the Qonto server from your configuration.   |
| `/mcp` (in-session)           | Inspect, authenticate, or restart MCP servers.     |
| `/permissions` (in-session)   | Review and edit which tools are auto-approved.     |

## Notes

* The configuration is **per-user, per-machine**. If you work on multiple machines, run `claude mcp add ...` on each.
* For team-shared configurations, place the server under `.mcp.json` at the project root. See the [Claude Code MCP docs](https://docs.claude.com/en/docs/claude-code/mcp).

## Removing the server

```bash theme={null}
claude mcp remove qonto-mcp
```

To also revoke Qonto's side of the consent, do it from the **connected apps** section of your Qonto account.
