> For the complete documentation index, see [llms.txt](https://help.plusra.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.plusra.jp/how-to/ai/connect.md).

# AIと連携する

ChatGPTやClaudeなどのAIとPlusraを連携する手順を説明します。

AIと連携すると、自動返信の内容をAIに相談し、下書きの作成まで任せられます。公開・停止・削除はAIからは行えません。

## はじめる前に

* Plusraに登録し、ログインしていること
* ChatGPTやClaudeなど、MCPに対応したAIを利用していること

MCP（Model Context Protocol）は、AIアプリと外部のサービスをつなぐための共通の規格です。PlusraはこのMCPに対応しているため、MCPに対応したAIから自動返信を扱えます。AIアプリ側では「コネクタ」「MCPサーバー」と呼ばれることがありますが、いずれもPlusraとの連携を指しています。

MCPに対応しているかどうかや、利用できるプランはAIアプリごとに異なります。手順のなかで、AI自身が公式の情報を調べて、接続できるかどうかを先に判定します。

Instagramとの連携は、あとからでも構いません。ただし自動返信を扱えるのは連携したあとです。まだの場合は[Instagramと連携する](/get-started/instagram-connection.md)を先に済ませてください。

## 手順

{% stepper %}
{% step %}
設定の［AI連携］を開く
{% endstep %}

{% step %}
「連携方法」に表示されている文章を［コピー］で写す

* ［コピー］の右の矢印を押すと、メニューが開きます。ChatGPTやClaudeを文章が入った状態で開く項目や、Claudeに接続先を入れた状態で追加する項目を選べます。送信は自分で行います
  {% endstep %}

{% step %}
AIに文章を貼りつけて送る
{% endstep %}

{% step %}
AIの案内に沿って進める

* 「MCPサーバーのURLは？」と聞かれたら、「<https://app.plusra.jp/mcp」を渡します。同じURLは「連携方法」の下にも表示され、右側のコピーのアイコンから写せます>
  {% endstep %}

{% step %}
「Plusraに接続」の画面で、「接続元」と「移動先」、「連携中のInstagramアカウント」を確かめる

* 許可する内容は、同じ画面の「許可する権限」で確認できます
* 見覚えのない接続元が表示されたときは、［キャンセル］を押します
  {% endstep %}

{% step %}
［許可］を押し、AIに自動返信の一覧が表示されることを確認する
{% endstep %}
{% endstepper %}

## 完了後の状態

連携したAIは「連携済みのAI」に並び、最後に使った日が表示されます。ここからいつでも解除できます。

以降は、AIに話しかけるだけで自動返信の下書きを作れます。下書きはPlusraの画面にも同じ形で表示され、公開するかどうかはPlusraの画面で決めます。

## うまくいかないときは

[AIと連携できない・連携が切れた](/troubleshooting/ai-connection-errors.md)を確認してください。

## 関連ガイド

* [AIからできること・できないこと](/reference/ai-capabilities.md)
* [連携済みのAIを確認・解除する](/how-to/ai/disconnect.md)
* [自動返信を公開する](/how-to/manage/publish.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.plusra.jp/how-to/ai/connect.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
