# MCP環境のインストール

**MCP（Model Context Protocol）** は、標準化された方法で大規模言語モデル（LLM）にコンテキスト情報を提供することを目的としたオープンソースプロトコルです。MCP の詳しい紹介は [知識の豆知識](/docs/jp/question-contact/knowledge.md#shen-me-shi-mcpmodel-context-protocol)

## Cherry Studio で MCP を使う

以下では `bash` 機能を例に、Cherry Studio で MCP を使う方法をデモします。詳細は [ドキュメント](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch) で確認できます。

### **準備作業：uv、bun をインストール**

{% hint style="warning" %}
Cherry Studio は現在、内蔵の [uv](https://github.com/astral-sh/uv) と [bun](https://github.com/oven-sh/bun)、**のみを使用し、**&#x30B7;ステムにすでにインストールされている uv と bun は再利用しません。
{% endhint %}

「 `設定 - MCP サーバー` で、 `インストール` ボタンをクリックすると、自動的にダウンロードしてインストールできます。GitHub から直接ダウンロードするため、速度が遅くなる場合があり、失敗する可能性も高いです。インストールが成功したかどうかは、以下で述べるフォルダ内にファイルがあるかどうかで判断してください。

<figure><img src="/files/bb3515823dd10774d33d1b1507c419d9508545ac" alt=""><figcaption></figcaption></figure>

**実行ファイルのインストール先ディレクトリ：**

Windows: `C:\Users\ユーザー名\.cherrystudio\bin`

macOS、Linux: `~/.cherrystudio/bin`

<figure><img src="/files/db6e9b23eb7ad32382f55421c7334e18909e1818" alt=""><figcaption><p>bin ディレクトリ</p></figcaption></figure>

**正常にインストールできない場合：**

システム内の対応するコマンドをシンボリックリンクでここにリンクできます。対応するディレクトリがない場合は、手動で作成する必要があります。実行ファイルを手動でダウンロードしてこのディレクトリに置くこともできます：

Bun: <https://github.com/oven-sh/bun/releases>\
UV: <https://github.com/astral-sh/uv/releases>


---

# Agent Instructions: 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:

```
GET https://docs.cherry-ai.com/docs/jp/advanced-basic/mcp/install.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
