> 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/zhong-wen-fan-ti/advanced-basic/mcp/config.md).

# 配置同使用 MCP

本頁用一個最常見嘅例子—— **畀 AI 可以上網拎頁面內容**（叫 `fetch`，由 MCP 官方提供）—— 帶你行一次完整嘅 MCP 配置。之後裝其他 MCP，流程基本一樣。

> 唔知 MCP 係乜？先睇 [MCP 使用教程總覽](/docs/zhong-wen-fan-ti/advanced-basic/mcp.md)。

## 添加一個 MCP（以 fetch 為例）

<figure><img src="/files/155d6099ee96803eaed4544e6a3316f5aea40d52" 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) 搵對應 repository，README 頂部會有一段配置示例
* **第三方 MCP**：開發者嘅 GitHub README 入面都會有

唔識讀？等 Cherry Studio 幫你：參考 [自動安裝 MCP](/docs/zhong-wen-fan-ti/advanced-basic/mcp/auto-install.md)，直接同 AI 講「幫我裝一個 fetch MCP」就得。

## 畀 AI 用到 MCP

添加完只係「裝好咗」，仲要喺**對話入面話畀 AI 知佢可以用**：

1. 喺 [對話介面](/docs/zhong-wen-fan-ti/cherry-studio/preview/chat.md) 嘅輸入框下方搵到 **MCP 工具** 圖示
2. 撳開，勾選你頭先添加嘅伺服器
3. 正常提問，例如：**幫我抓一吓 `https://docs.cherry-ai.com` 呢個頁面嘅標題同大綱**
4. AI 會自動調用 fetch MCP 去拎網頁，然後答你

<figure><img src="/files/034b8588db6918bc56ff552903b2cc97cd643a53" alt=""><figcaption><p>對話框入面嘅 MCP 工具選擇</p></figcaption></figure>

<figure><img src="/files/0811162f46031a9a76f590123d92a2b162c33316" alt=""><figcaption><p>選擇已啟用嘅 MCP 伺服器</p></figcaption></figure>

### 效果展示

<figure><img src="/files/75e186f3409bd7c0e839acb57de21cc70affe819" alt=""><figcaption></figcaption></figure>

唔用 MCP 時，AI 只可以憑「訓練時見過嘅資料」回答；接咗 fetch 之後，AI 可以「即刻上網睇」，回答就準得多。

## 畀 [Cherry Agent](/docs/zhong-wen-fan-ti/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) 入面有現成配置示例，直接複製貼上就得。

***

### 💡 獲取幫助同提交反饋

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改進建議，請參考 [反饋同建議](/docs/zhong-wen-fan-ti/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/zhong-wen-fan-ti/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.
