目前的專案有問題,先不要使用
npm上面的版本目前是1.0.8 1.0.8 版本問題報告: 主要問題: 服務器啟動功能異常 嘗試啟動服務器時出現錯誤 Failed to start server: Process exited with code 128 可能與配置文件管理有關 配置文件管理問題 雖然可以列出已安裝的服務器 但配置文件 (~/.config/mcp-cli-manager/config.json) 沒有正確更新 導致服務器的配置信息無法正確保存 正常功能: mcp search - 搜索功能正常 mcp list - 列表顯示功能正常 mcp status - 狀態查看功能正常 我可能要4/13之後才能回來修復,不好意思(或是大大要直接push也可以
A command-line tool for managing Model Context Protocol (MCP) servers, with support for various server types and connection methods.
- Manage multiple MCP servers
- Support for different server types:
- Cursor
- Claude
- Custom servers
- Easy server installation and management
- Status monitoring and control
- TypeScript support with full type safety
brew tap crayon3shawn/homebrew-tap
brew install mcp-cli-managernpm install -g mcp-cli-manager# List all installed servers
mcp-cli-manager list
# Install a new server
mcp-cli-manager install <server-name>
# Start a server
mcp-cli-manager run <server-name>
# Stop a server
mcp-cli-manager stop <server-name>
# Check server status
mcp-cli-manager status <server-name>This project uses pnpm as the package manager and is structured as a monorepo:
mcp-cli-manager/
├── packages/
│ ├── core/ # Core functionality
│ ├── cli/ # CLI tool
│ ├── server/ # Server-related code
│ ├── config/ # Configuration management
│ └── shared/ # Shared utilities and types
├── pnpm-workspace.yaml
└── package.json
- Node.js 20.x
- pnpm 8.x
- Git
-
Clone the repository:
git clone https://github.com/crayon3shawn/mcp-cli-manager.git cd mcp-cli-manager -
Install dependencies:
pnpm install
-
Build the project:
pnpm build
# Run tests
pnpm test
# Run tests with coverage
pnpm test:coverage
# Lint code
pnpm lint
# Format code
pnpm format- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all contributors who have helped shape this project
- Special thanks to the MCP community for their feedback and suggestions
一個用於管理 MCP Server 的命令行工具。
- 註冊和管理 MCP Server
- 支持 npx 和 binary 類型的服務器
- 自動日誌記錄和管理
- 服務器狀態監控
- 全局和本地配置管理
- 服務器搜索功能
npm install -g mcp-cli-managerbrew tap crayon3shawn/tap
brew install mcp-cli-managermcp regist <name>例如:
mcp register github mcp start <name>mcp stop <name>mcp stopmcp statusmcp listmcp search <query>mcp sync配置文件位於:
- 全局配置:
~/.cursor/config/global.json - Cursor 配置:
~/.cursor/config/cursor.json
服務器日誌位於:~/.cursor/logs/<server-name>.log
# 安裝依賴
npm install
# 構建
npm run build
# 運行測試
npm testA command-line tool for managing MCP Servers.
- Register and manage MCP Servers
- Support for npx and binary server types
- Automatic logging and management
- Server status monitoring
- Global and local configuration management
- Server search functionality
npm install -g mcp-cli-managerbrew tap crayon3shawn/tap
brew install mcp-cli-managermcp register <name> Example:
mcp register github mcp start <name>mcp stop <name>mcp stopmcp statusmcp listmcp search <query>mcp syncConfiguration files are located at:
- Global config:
~/.cursor/config/global.json - Cursor config:
~/.cursor/config/cursor.json
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test