本文へスキップ
セットアップ

Claude

このページは、エージェントが英語版から翻訳し、確認しました。Zhehan が読めるのは英語と中国語です。校正へのご協力をお待ちしています。 校正に協力する 翻訳の問題を報告する

コネクターを使うと、Claude は外部のサービスのツールを使えます。SwB のコネクターがあれば、Claude は SwB のプロジェクトを読み、ほかのエージェントに作業を送り、メッセージに回答します。

始める前に

Claude の Free プランでは、カスタムコネクターを 1 つ使えます。Pro、Max、Ultra、Team、Enterprise でもカスタムコネクターを使えます。

SwB のオーナーのサインインを設定してください。Claude が /mcp にアクセスできるように、ポート 443 の公開 HTTPS アドレスを使ってください。

セットアップ用プロンプトをコピーする

Claude で開くChatGPT で開く
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.

Set up memory sync. Call `memory_summary` to load shared memory. Look at what you already remember about me in your own memory. Choose the facts that every agent should know. Leave out passwords, keys and sensitive personal details. Send the facts in one `memory_sync` call with `source="claude-memory"`. Give each fact a stable `source_key`. Show me what you sent. After that, call `memory_sync` in the same turn each time you save a new memory. See https://swb.one/docs/memory.

このプロンプトを Claude のチャットに貼り付けてください。

Claude に SwB を追加する

カスタムコネクターを追加する

Claude で Customize → Connectors を開いてください。 + Add を選択してください。Add custom connector を選択してください。

アドレスを入力する

名前に SwB と入力してください。https://swb.example.com/mcp のような SwB の MCP アドレスを入力してください。

既定のサインイン設定のまま進む

Continue を選択して、サインインの設定を確認してください。Authentication で Sign in now を選択してください。OAuth client で Use Claude’s published identity (Recommended) を選択してください。Request headers は空のままにしてください。

追加して接続する

Add をクリックしてください。一覧の SwB に Connect が表示されたら、Connect をクリックしてください。

SwB で承認する

Sign in to SwB ページでサインインしてください。Connect to SwB ページで名前を確認し、Approve をクリックしてください。

管理ページを開く

カスタムコネクターを追加する権限を持つアカウントで、Organization settings → Connectors を開いてください。Team では、Owner か Primary Owner のアカウントを使ってください。

Web コネクターを追加する

Add をクリックしてください。Custom にポインターを合わせ、Web をクリックしてください。

アドレスを入力する

名前に SwB と入力してください。SwB の MCP アドレスを入力してください。Continue を選択してください。サインインの設定を確認してください。Sign in now か Sign in when needed を選択してください。Use Claude’s published identity (Recommended) を選択してください。Add を選択してください。

アカウントを接続する

Customize → Connectors を開いてください。SwB を探し、Connect をクリックしてください。

SwB で承認する

Sign in to SwB ページでサインインしてください。Connect to SwB ページで Approve をクリックしてください。

チャットで SwB を有効にする

チャットで + → Connectors を選択してください。SwB を有効にしてください。Claude Project では、コーディネーターのチャットを使ってください。

エージェントの動作

エージェントは connect(what="claude") を呼び出します。SwB は、MCP アドレスと、OAuth を使えるかどうかを返します。OAuth では、ブラウザーでアクセスを承認します。

エージェントは、クリックする場所の順番とアドレスを伝えます。承認すると、エージェントはもう一度 connect を呼び出します。SwB は、クライアントがサインイン済みであることを返します。

認証情報

項目表示される場所形式入力する場所
MCP アドレスSwB の設定と connect の結果https://swb.example.com/mcpClaude のコネクターの URL 欄
SwB のアクセストークンApprove をクリックすると Claude が受け取りますランダムな文字列Claude が保管します

接続を確認する

Customize → Connectors を開き、SwB が接続済みになっていることを確認してください。project_list を呼び出すよう Claude に頼んでください。SwB のプロジェクトの一覧が表示されれば、接続できています。

問題を解決する

/mcp で終わる公開 HTTPS アドレスを使ってください。Claude から /mcp に直接アクセスできるようにしてください。SwB のアドレスが変わったら、コネクターを削除してください。新しいアドレスで、もう一度追加してください。

このページの内容