New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mcp_hub_x/cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcp_hub_x/cli

A NPX command to install and list Model Context Protocols

latest
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

@mcp_hub/cli

@mcp_hub/cli 是一个用于安装、运行和管理 MCP Hub平台 MCP Server 的命令行工具。

要求

  • NodeJS 18或更高版本

安装

npm install -g @mcp_hub/cli

或者使用npx直接运行:

npx @mcp_hub/cli <命令>

使用方法

npx @mcp_hub/cli <命令>

可用命令

  • install <服务器> - 安装一个 MCP 服务器
    • --client <客户端> - 指定 AI 客户端
  • uninstall <服务器> - 卸载一个 MCP 服务器
    • --client <客户端> - 指定 AI 客户端
  • run <服务器> - 运行一个 MCP 服务器
    • --env <json> - 提供JSON格式的配置
  • list clients - 列出可用的客户端
  • --help - 显示帮助信息

示例

# 安装服务器(需要--client标志)
npx -y @mcp_hub/cli@latest install sequential-thinking --client cline

# 卸载服务器(需要--client标志)
npx -y @mcp_hub/cli@latest uninstall sequential-thinking --client cline

# 列出可用的客户端
npx -y @mcp_hub/cli list clients

# 运行服务器
npx -y @mcp_hub/cli run sequential-thinking

# 运行服务器并增加配置
npx -y @mcp_hub/cli@latest run Codebase --client cline --env '{"API_TOKEN":"<填入你的API_TOKEN>"}'

# 显示帮助菜单
npx @mcp_hub/cli --help

FAQs

Package last updated on 21 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts