# Claude Code

> Add rivomi to Claude Code from the terminal, with OAuth or an API key.

Source: https://rivomi.com/docs/connect/clients/claude-code



Sign in with OAuth:

```bash
claude mcp add --transport http rivomi https://rivomi.com/api/mcp
```

Then run `/mcp` inside Claude Code and authenticate `rivomi` in the browser.

Or use an [API key](/connect/authentication#api-keys) with exactly the scopes you want:

```bash
claude mcp add --transport http rivomi https://rivomi.com/api/mcp \
  --header "Authorization: Bearer $RIVOMI_KEY"
```

## Verify the connection [#verify-the-connection]

Ask: "Use rivomi to show my workspace, my credits and whether sending is enabled." Setup is
complete when it returns the real workspace name without an authentication error.

Claude Code is the strongest host for the [use cases](/use-cases/launch-an-agent): it can create an
agent, poll its run, and walk the review queue in one session. If a call returns `401`, run `/mcp`
and reconnect, or replace the key.
