AI工具套件管理器

一个交互式CLI安装程序,用于在AI工具中配置多个MCP服务器,支持自动检测工具并选择性安装。

  • by cocaxcode
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 cocaxcode/suite-mcp

使用说明

@cocaxcode/suite-mcp

One command. Five MCP servers. Any AI tool.
Install 100+ tools into your AI coding assistant in under 10 seconds.

What's included · Quick start · Usage · Supported AI tools · Boundaries · Architecture


一个交互式CLI安装程序,可在您选择的AI工具中配置所有五个cocaxcode MCP服务器。它会自动检测您的工具,让您选择要添加的MCP,并直接写入您的 用户级全局配置 --与现有设置合并,永远不要覆盖它。

npx @cocaxcode/suite-mcp install

包含什么

MCP 工具 说明
api测试 35 HTTP测试、集合、断言、流、OpenAPI导入、模拟数据、负载测试、Postman导入/导出
数据库 26 PostgreSQL、MySQL、SQLite管理,带回滚快照、模式搜索、转储/还原
开发流程 32 Jira(云+服务器)+GitHub/GitLab集成,自定义流程,可配置规则,多项目
日志簿 9 带有结构化笔记、TODO、代码扫描、全文搜索的开发人员日志
ai上下文检查器 5 通过7个工具扫描、导出和导入您的AI生态系统配置

每个MCP都独立发布在npm上,并且可以独立工作。套件mcp只需一次将它们全部连接起来。

快速开始

npx @cocaxcode/suite-mcp install

CLI检测您的AI工具,显示可用的MCP,并写入配置。完成。

要在没有提示的情况下安装所有内容,请执行以下操作:

npx @cocaxcode/suite-mcp install --all

用法

安装

# Interactive — pick which MCPs to add
npx @cocaxcode/suite-mcp install

# All MCPs, no prompts
npx @cocaxcode/suite-mcp install --all

# Target a specific AI tool
npx @cocaxcode/suite-mcp install --target cursor
npx @cocaxcode/suite-mcp install --target gemini --all

注: 已安装的MCP会自动跳过。只有缺失的才会被添加。

列表状态

npx @cocaxcode/suite-mcp list
@cocaxcode/suite-mcp — Available MCPs (claude)

  Status  MCP                   Description
  ✓       api-testing           API testing with collections, assertions, and flows
  ✓       database              PostgreSQL, MySQL, and SQLite management
  ✓       devflow               Jira + GitHub/GitLab workflow automation
  ✗       logbook               Developer logbook with notes and TODOs
  ✗       ai-context-inspector  AI ecosystem scanner and migrator

  3/5 installed

移除

npx @cocaxcode/suite-mcp remove

仅显示已安装的MCP,并允许您选择要删除的MCP。空选择取消。

命令参考

命令 描述
install 将MCP添加到您的AI工具配置中
remove 删除已安装的MCP
list 显示安装状态
标志 描述
--target <tool> 强制AI工具: claude, cursor, windsurf, copilot, gemini, codex, opencode
--all 安装所有MCP而不提示
--version 显示版本

支持的AI工具

套件mcp通过扫描工作目录中的标记文件自动检测您的工具,然后将mcp安装到您的 用户级全局配置 因此,它们在每个项目中都是可用的。

工具 全局配置文件 格式
克劳德代码 ~/.claude/settings.json 嵌套
光标 ~/.cursor/mcp.json 公寓
帆板运动 ~/.codeium/windsurf/mcp_config.json 嵌套
双子星命令行工具 ~/.gemini/settings.json 嵌套
GitHub Copilot .vscode/mcp.json (项目本地) 公寓
Codex CLI .mcp.json (项目本地) 公寓
开源代码 opencode.json (项目本地) 嵌套

提示: 如果未检测到工具,CLI会提示您选择一个。使用 --target 完全跳过检测。

它不做什么

  • 不运行MCP服务器。 它只写入配置文件。每个MCP通过 npx 在调用时。
  • 不管理版本。 MCP安装 @latest.重新运行 install 以获取更新。
  • 不将MCP捆绑在一起。 每台服务器都保持独立,拥有自己的生命周期和数据。
  • 不接触非cocaxcode条目。 您现有的MCP配置将被保留——合并,永不覆盖。

建筑

Project structure
src/
├── index.ts       # CLI entry point and arg parsing
├── types.ts       # TypeScript interfaces
├── registry.ts    # MCP catalog (add new MCPs here)
├── config.ts      # Config read/write with atomic operations
├── detect.ts      # AI tool auto-detection via marker files
├── prompts.ts     # Interactive readline prompts
├── install.ts     # Install subcommand
├── remove.ts      # Remove subcommand
├── list.ts        # List subcommand
└── __tests__/     # 52 tests across 5 suites
  • 零运行时依赖关系 --仅使用Node.js内置(readline, fs, crypto, path, os)
  • 原子写入 --写入临时文件,然后重命名,防止崩溃时配置损坏
  • 路径遍历保护 --所有文件路径都经过验证,以保持在用户的主目录或工作目录中
  • 合并,永不覆盖 --始终保留来自其他来源的现有MCP条目
  • 52次测试 --配置I/O、检测逻辑、解析和安全边缘情况

堆栈: TypeScript·ESM·tsup·Vitest·节点>=20


麻省理工学院 ·建造于 可卡因