# Claude Code

Connect Claude Code to Rabt with one command in the terminal.

## The command

Run in the terminal:

```bash
claude mcp add --transport http rabt https://api.rabt.systems/mcp
```

To share it with the project’s team add `--scope project`, which writes the setting to the `.mcp.json` file. No key is in the command.

## Steps

1. Run the command above once.
2. Open Claude Code, type `/mcp`, choose `rabt` and sign in (or run `claude mcp login rabt`).
3. The sign-in page opens in the browser: it is Rabt’s own page. Choose the organizations and permissions and approve once.

## Try this first

```text
Show me the organizations I can reach in Rabt, then tell me how many open tickets each has.
```

## What to expect

- Reading the public guide needs no sign-in.
- Any tool that touches an account needs your sign-in. Claude Code documents that the tool result then says the server needs sign-in and points you to `/mcp`, that public tools keep working, and that a 403 insufficient_scope answer means it “needs additional permissions”.
- Your agent works with your own permissions in Rabt and never beyond them.

> **Source:** [MCP in Claude Code](https://code.claude.com/docs/en/mcp) and [lazy authentication for connectors](https://claude.com/docs/connectors/building/lazy-authentication.md).
