Source: https://spooly.eu/en/docs/ai/claude-code

# Claude Code

In Claude Code you add Spooly with one command, then sign in in the browser.

## Adding it

Command:

```
claude mcp add --transport http spooly https://spooly.eu/api/mcp
```

1. Run the command in the terminal.
2. Start Claude Code and type `/mcp`. Spooly opens in the browser.
3. Sign in and click “Allow”.

## Allowing changes

“Also allow changes” is not preselected here. Claude Code runs on your computer, and another program can pose as Claude Code there. Only allow it if you are in Claude Code right now.

## With a key

A key of type AI assistant works instead of the sign-in.

Command:

```
claude mcp add --transport http spooly https://spooly.eu/api/mcp \
  --header "Authorization: Bearer spk_dein_schluessel"
```

[Anthropic’s guide to MCP in Claude Code](https://code.claude.com/docs/en/mcp)
