# Install SpringBrand in Claude Code Desktop

Install SpringBrand in Claude Code Desktop with a key, OAuth, or the client Plugin.

This guide is for **Claude Code in the Claude Desktop app**. Open its Code tab to install and verify SpringBrand.

## 1. Install with a key (recommended)

Choose one option to install SpringBrand CLI for Claude Code Desktop: send the prompt in your Agent chat, or run the command yourself.

### Option A: Agent chat

Paste this prompt into Claude Code Desktop. If asked for a key, open [Account Settings → MCP API Keys](https://rapp.springbrand.ai/account-settings?section=mcp-api-keys) and click **View installation key** or **Create key**.

**Copyable · Paste into your Agent chat**

```text
Install or update SpringBrand CLI for Claude Code Desktop using https://plugin.springbrand.ai/INSTALL.cli.claude-code.md. Configure only Claude Code Desktop. If you need an installation key, ask me for it.
```

### Option B: Run the command yourself

Get a key from [Account Settings → MCP API Keys](https://rapp.springbrand.ai/account-settings?section=mcp-api-keys), then replace `{{INSTALL_KEY}}` in this reference command before running it. The command as shown cannot run.

**Reference example · Replace {{INSTALL_KEY}} before running**

```shell
npx -y @springbrand/cli@latest connect claude-code --url https://connector.springbrand.ai/mcp --api-key {{INSTALL_KEY}}
```

After installation, check the report for a healthy connection and open a new Claude Code Desktop session if asked.

## 2. If you cannot use a key: OAuth

If you cannot use a key, ask your Agent to follow the OAuth instructions in the installation guide. You can also run the command below yourself after clearing any saved key and `SPRINGBRAND_API_KEY`, then finish browser sign-in. A saved key can prevent OAuth from starting; see the [production guide](https://plugin.springbrand.ai/INSTALL.md) for how to clear it.

**Manual OAuth command · Clear saved keys first**

```shell
npx -y @springbrand/cli@latest connect claude-code --url https://connector.springbrand.ai/mcp
```

## 3. If the SpringBrand CLI fails: Claude Code Plugin

Use the host’s native Plugin path only if the SpringBrand CLI installer cannot run or reports an installation failure. Check for an existing SpringBrand Plugin or MCP entry before adding another.

Install the Claude Code Plugin with these commands, then open a new Code tab session in Claude Desktop.

**Claude Plugin fallback · Run only after CLI failure**

```shell
claude plugin marketplace add springbrand-lab/springbrand-agent-setup --scope user
claude plugin install springbrand@springbrand --scope user
claude mcp login plugin:springbrand:springbrand
```

The Plugin already includes the MCP entry. Do not run `claude mcp add` for SpringBrand.

## Authorize and verify

For CLI setup, check the CLI report. For the Plugin, follow its sign-in and connection checks above. Then open a new Claude Code Desktop session.

## Next steps

- [Run your first task](/developers/docs/quickstart#run-your-first-task): Send a first prompt and see SpringBrand tools in action.
- [Connect another agent](/developers/docs/connect/codex-desktop): Install SpringBrand in ChatGPT Desktop and more.
