> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/jp/advanced-basic/mcp/config.md).

# MCPの設定と使用

このページでは、最も一般的な例—— **AI にページ内容をネットから取得させる**（ `fetch`と呼ばれる、MCP 公式提供のもの）—— を使って、MCP の設定を一通り解説します。以降で他の MCP を導入する場合も、手順は基本的に同じです。

> MCP って何？ まずは [MCP 使用チュートリアルの概要](/docs/jp/advanced-basic/mcp.md)。

## MCP を追加する（fetch を例に）

<figure><img src="/files/8ed02481d49edb77445274f447515c05ced3fbe9" alt=""><figcaption><p>MCP サーバー追加画面</p></figcaption></figure>

1. 開く `設定 → MCP サーバー`
2. クリック `+ サーバーを追加`
3. 表示されたフォームに以下の情報を入力します：

| 項目       | 何を入力するか            | 説明                                                     |
| -------- | ------------------ | ------------------------------------------------------ |
| **名称**   | `fetch-server`     | 自分でわかりやすい名前を付ければよく、機能には影響しません                          |
| **種類**   | `STDIO`            | これは一般的な「ローカルコマンドライン」タイプです                              |
| **コマンド** | `uvx`              | Cherry Studio に内蔵された Python ツールで、必要なスクリプトを自動でダウンロードします |
| **引数**   | `mcp-server-fetch` | uvx に、どの MCP をインストールするかを伝えます                           |

4. クリック `保存`、Cherry Studio が自動でダウンロードします `fetch` この MCP を（初回はネット接続が必要）

{% hint style="success" %}
**保存しても特に反応がない？** 一部の MCP は初回のダウンロードに時間がかかります（GitHub からコードを取得する必要があるため）。サーバー項目をクリックして状態を確認できます：

* 🟢 緑 = 準備完了
* 🟡 黄 = ダウンロード中または起動中
* 🔴 赤 = 失敗、クリックしてエラーログを確認できます

長時間赤のままなら、 [よくある質問](https://github.com/CherryHQ/cherry-studio-docs/blob/main/advanced-basic/mcp/chang-jian-wen-ti.md) を参照するか、Cherry Studio を再起動して再試行してください。
{% endhint %}

## これらの項目はどこで探すの？

MCP ごとに入力する「コマンド」と「引数」は異なります。MCP 自体の説明ページを確認しましょう：

* **公式 MCP**： [github.com/modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch) で該当リポジトリを探すと、README の冒頭に設定例があります
* **サードパーティ製 MCP**：開発者の GitHub README にも

読めない？ Cherry Studio に手伝ってもらいましょう： [MCP の自動インストール](/docs/jp/advanced-basic/mcp/auto-install.md)を参考にして、AI に「fetch MCP を1つ入れて」と直接言えばOKです。

## AI に MCP を使わせる

追加しただけでは「インストール完了」なだけで、さらに**会話の中で AI に使ってよいことを伝える必要があります**に由来する：

1. で [会話画面](/docs/jp/cherry-studio/preview/chat.md) の入力欄の下にある **MCP ツール** アイコン
2. を開いて、先ほど追加したサーバーにチェックを入れます
3. 普通に質問します。たとえば：**この `https://docs.cherry-ai.com` ページのタイトルとアウトラインを取得して**
4. AI は自動で fetch MCP を呼び出してページを取得し、あなたに回答します

<figure><img src="/files/7ca62cc600fc95f49ebfa0ff35110113ace15a32" alt=""><figcaption><p>会話ボックス内の MCP ツール選択</p></figcaption></figure>

<figure><img src="/files/17ee92ca6dc5c77497d6f4d1aeb97ee75d4cf99d" alt=""><figcaption><p>有効にした MCP サーバーを選択</p></figcaption></figure>

### 表示例

<figure><img src="/files/044d4ded4d638b23072c40d65c042b0b7b35b6c2" alt=""><figcaption></figcaption></figure>

MCP を使わない場合、AI は「学習時に見た資料」だけをもとに回答します。fetch を接続すると、AI は「今ネットで見てくる」ことができるので、回答がずっと正確になります。

## に [Cherry Agent](/docs/jp/cherry-studio/preview/agent.md) MCP を導入

Cherry Agent を使っている場合、MCP の接続場所は異なります：

1. Agent 編集画面へ移動 → `ツール` タブ
2. 「MCP」グループで、その Agent に使わせたいサーバーにチェックを入れます
3. Agent がいつ呼び出すかを自律的に判断します

## 別のものも追加したい？

* AI にローカルファイルを操作させたい → **filesystem** MCP
* AI にブラウザを操作させたい → **playwright** MCP
* AI に Notion を確認させたい → **notion** MCP

これらはすべて [公式リポジトリ](https://github.com/modelcontextprotocol/servers) に設定例が用意されているので、コピペするだけでOKです。

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用の過程で疑問、Bug、機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.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://docs.cherryai.com.cn/docs/jp/advanced-basic/mcp/config.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.
