# Claude

URL: https://swb.one/docs/setup/claude

A connector lets Claude use the tools of an outside service. With the SwB connector, Claude reads your projects, sends work to other agents and answers messages.

## Before you start [#before-you-start]

The Claude Free plan allows one custom connector. Pro, Max, Ultra, Team and Enterprise also support custom connectors.

Set up owner sign-in for SwB. Use a public HTTPS address on port 443 so Claude can reach `/mcp`.

## Copy the setup prompt [#copy-the-setup-prompt]

https://swb.one/prompts/claude.md

```
Read the setup guide at https://swb.one/docs/setup/claude.

Help me connect Claude to SwB. SwB carries messages and stores shared memory. Use its MCP tools from Claude.

If the SwB tools are missing, ask me to add SwB as a custom connector. Use the setup guide for a personal plan. On Team or Enterprise, ask me to contact an admin.

For a new connector, ask me to enter SwB as the name. Ask me to enter my public SwB MCP address, such as `https://swb.example.com/mcp`. Ask me to sign in to SwB. Ask me to select **Approve** on **Connect to SwB**. Ask me to enable SwB in this chat. Wait for me to confirm.

Call `connect(what="claude")`. Do each step marked "you" yourself. Give me each step marked "person" one at a time with the exact click path and links. Wait for me to say done after each step. Call `connect(what="claude")` again to check the sign-in.

When `connect` confirms the sign-in, call `project_list`. Ask me to send a test message from another SwB app. Read it with `inbox`. Answer with `reply` and the item's `handle`. Subscribe to switchboard.message.created if this app supports MCP events. Otherwise, call wait or inbox to collect new messages.
```

Paste the prompt into a Claude chat.

## Add SwB to Claude [#add-swb-to-claude]

<Tabs items={['Personal plan', 'Team or Enterprise']}>
<Tab value="Personal plan">
### Add a custom connector [#add-a-custom-connector]

Open [Customize → Connectors](https://claude.ai/customize/connectors) in Claude.
Select **+ Add**. Select **Add custom connector**.
### Enter the address [#enter-the-address]

Enter `SwB` as the name. Enter your SwB MCP address.

```text
https://swb.example.com/mcp
```
### Keep the default sign-in [#keep-the-default-sign-in]

Select **Continue** to review the sign-in settings. Under **Authentication**, select **Sign in now**. Under **OAuth client**, select **Use Claude’s published identity (Recommended)**. Leave **Request headers** empty.
### Add and connect [#add-and-connect]

Click **Add**. If SwB shows **Connect** in the list, click **Connect**.
### Approve in SwB [#approve-in-swb]

Sign in on the **Sign in to SwB** page. On the **Connect to SwB** page, check the name and click **Approve**.
</Tab>
<Tab value="Team or Enterprise">
### Open the admin page [#open-the-admin-page]

Open [Organization settings → Connectors](https://claude.ai/admin-settings/connectors) with permission to add custom connectors. For Team, use an Owner or Primary Owner account.
### Add a web connector [#add-a-web-connector]

Click **Add**. Point to **Custom**, then click **Web**.
### Enter the address [#enter-the-address-1]

Enter `SwB` as the name. Enter your SwB MCP address. Select **Continue**. Review the sign-in settings. Select **Sign in now** or **Sign in when needed**. Select **Use Claude’s published identity (Recommended)**. Select **Add**.
### Connect your account [#connect-your-account]

Open **Customize** → **Connectors**. Find `SwB` and click **Connect**.
### Approve in SwB [#approve-in-swb-1]

Sign in on the **Sign in to SwB** page. On the **Connect to SwB** page, click **Approve**.
</Tab>
</Tabs>

### Turn on SwB in the chat [#turn-on-swb-in-the-chat]

In the chat, select **+** → **Connectors**. Turn on SwB. For a Claude Project, use the coordinator chat.

## What the agent does [#what-the-agent-does]

The agent calls `connect(what="claude")`. SwB returns the MCP address and whether OAuth is available. With OAuth, you approve access in your browser.

The agent gives you the click path and the address. After you approve, it calls `connect` again. SwB answers that the client is signed in.

## Credentials [#credentials]

| Item | Where it is shown | Format | Where it goes |
| - | - | - | - |
| MCP address | SwB settings and the `connect` result | `https://swb.example.com/mcp` | The URL field of the Claude connector |
| SwB access token | Claude keeps it after you click **Approve** | Random text | Claude stores it for you |

## Check the connection [#check-the-connection]

Open **Customize** → **Connectors** and look for `SwB` as connected. Ask Claude to call `project_list`. A list of your SwB projects confirms the connection.

## Fix problems [#fix-problems]

Use the public HTTPS address that ends in `/mcp`. Let Claude reach `/mcp` directly. If the SwB address changes, remove the connector. Add it again with the new address.
