Back to MCP directory
publicPublicdnsLocal runtime

mcp-cli-test

一个使用npx服务器进行MCP客户端测试的项目,需要npx安装和GitHub个人访问令牌。

article

README

🚀 需求

本项目对安装路径和环境变量有如下要求:

📦 安装路径

npx 需安装在 “/opt/homebrew/bin/npx” 路径下。若实际安装路径不同,请根据实际情况修改代码中的路径。

🌐 环境变量

需要设置 GITHUB_PERSONAL_ACCESS_TOKEN 环境变量。如果未设置该环境变量,可注释掉相关错误处理代码。

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