article
README
🚀 需求
本项目对安装路径和环境变量有如下要求:
📦 安装路径
npx 需安装在 “/opt/homebrew/bin/npx” 路径下。若实际安装路径不同,请根据实际情况修改代码中的路径。
🌐 环境变量
需要设置 GITHUB_PERSONAL_ACCESS_TOKEN 环境变量。如果未设置该环境变量,可注释掉相关错误处理代码。
本项目对安装路径和环境变量有如下要求:
npx 需安装在 “/opt/homebrew/bin/npx” 路径下。若实际安装路径不同,请根据实际情况修改代码中的路径。
需要设置 GITHUB_PERSONAL_ACCESS_TOKEN 环境变量。如果未设置该环境变量,可注释掉相关错误处理代码。
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
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