Back to MCP directory
publicPublicdnsLocal runtime

MCP_SERVER

提供在不同操作系统上创建Claude应用配置文件的命令行操作指南

article

README

🚀 操作 MCP_SERVER

本项目主要介绍了在不同操作系统(MAC、Windows、Linux)下,如何操作以创建 claude_desktop_config.json 文件的相关命令。

🚀 快速开始

MAC 系统

在 MAC 系统中,你可以按照以下步骤操作:

  1. 打开 ~/Library/Application\ 支持/Claude 目录。
  2. 创建 ~/Library/Application\ 支持/Claude/claude_desktop_config.json 文件。

Windows 系统

Powershell 方式

在 Powershell 中,你可以这样操作:

  1. 打开 "%AppData%\Claude" 目录。
  2. 新建文件 "%AppData%\Claude\claude_desktop_config.json"

cmd 方式

在 cmd 中,你可以按照以下步骤操作:

  1. 打开 "%AppData%\Claude" 目录。
  2. 创建新文件 "%AppData%\Claude\claude_desktop_config.json"

Linux 系统

在 Linux 系统中,你可以按照以下步骤操作:

  1. 打开 ~/.config/Claude 目录。
  2. 创建 ~/.config/Claude/claude_desktop_config.json 文件。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client