# Automatic MCP Installation

> Automatic MCP installation requires upgrading Cherry Studio to v1.1.18 or later.

## Feature Overview

In addition to manual installation, Cherry Studio also includes the built-in `@mcpmarket/mcp-auto-install` tool, which is a more convenient way to install MCP servers. You only need to enter the corresponding command in a large-model chat that supports MCP services.

{% hint style="warning" %}
**Beta-stage reminder:**

* `@mcpmarket/mcp-auto-install` It is currently still in the testing phase
* The effect depends on the model's "intelligence"; some will be added automatically, while others still**need certain parameters to be manually changed in the MCP settings**
* The current search source is searched from @modelcontextprotocol, and can be configured yourself (see below for details)
  {% endhint %}

## Instructions

For example, you can enter:

```
Help me install a filesystem mcp server
```

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-8cad81371e81de2ce0aa097139484c0bfa5db25b%2Fmcp-auto-install_shot1.png?alt=media" alt=""><figcaption><p>Enter a command to install the MCP server</p></figcaption></figure>

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-0be7d9feed7751894e532cbbf00f6b0d243d93e2%2Fmcp-auto-install_shot2.png?alt=media" alt=""><figcaption><p>MCP server configuration interface</p></figcaption></figure>

The system will automatically recognize your needs and complete the installation through `@mcpmarket/mcp-auto-install` This tool supports many types of MCP servers, including but not limited to:

* filesystem (file system)
* fetch (network request)
* sqlite (database)
* and so on...

> The MCP\_PACKAGE\_SCOPES variable can be used to customize the MCP service search source. The default value is:`@modelcontextprotocol`; it can be customized.

## `@mcpmarket/mcp-auto-install` Introduction to the library

{% hint style="info" %}
**Default configuration reference:**

```json
// `axun-uUpaWEdMEMU8C61K` is the service ID; customize it as needed
"axun-uUpaWEdMEMU8C61K": {
  "name": "mcp-auto-install",
  "description": "Automatically install MCP services (Beta version)",
  "isActive": false,
  "registryUrl": "https://registry.npmmirror.com",
  "command": "npx",
  "args": [
    "-y",
    "@mcpmarket/mcp-auto-install",
    "connect",
    "--json"
  ],
  "env": {
    "MCP_REGISTRY_PATH": "See details at https://www.npmjs.com/package/@mcpmarket/mcp-auto-install"
  },
  "disabledTools": []
}
```

`@mcpmarket/mcp-auto-install` It is an open-source npm package, and you can view [the official npm repository](https://www.npmjs.com/package/@mcpmarket/mcp-auto-install) for detailed information and usage documentation.`@mcpmarket` is Cherry Studio's official MCP service collection.
{% endhint %}
