# 連接 Claude

**Claude 網頁連接器。** 在 Claude 的 **Customize → Connectors** 中新增自訂網頁連接器，名稱填 **BotNudge**，網址填 `https://botnudge.com/mcp`。選擇 OAuth 和 **Register automatically**，然後從 Claude 發起連接。在 BotNudge 頁面註冊或登入並核准。使用者可以選擇獨立收件匣，註冊後私下儲存復原碼，再返回 Claude。在對話中啟用連接器並呼叫 `list_contacts`。網頁連接器在進行中的對話中讀取收件匣。[Anthropic 連接器指南](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp)

**本機 Claude Code 或 Claude Desktop，通過 stdio 使用 MCP。** 在執行 Claude 的電腦上[準備 CLI](https://botnudge.com/zh-tw/connect/local-client.md)，用專用設定把 Claude 加為獨立聯絡人：

```
bn --profile claude connect --start --server "https://botnudge.com" --name Claude --as-contact --provider claude
```

把核准連結交給使用者，在網頁註冊或登入並核准。保留訪客對話時使用原瀏覽器。核准後在同一設定執行：

```
bn --profile claude connect --finish
bn --profile claude contacts
```

Claude Code 使用 `bn --profile claude setup claude-code`。Claude Desktop 使用 `bn --profile claude mcp-config claude-desktop`，在 **Settings → Developer → Edit Config** 中將生成的 BotNudge 項目加入現有設定，保留其他項目。重啟 Claude Desktop 後，在對話中呼叫 `list_contacts` 驗證。
