MCP服务器管理工具

一个跨平台的命令行工具,用于集中管理和应用MCP服务器定义到多个AI编码代理。

  • by mcpfleet
  • Go
  • 本地部署
  • 更新于
在 GitHub 查看 mcpfleet/mcpfleet

使用说明

麦克普利特

与供应商无关的CLI,用于跨AI编码代理管理和应用MCP服务器定义

网站 · 注册API · 报告错误


的问题

你使用多个AI编码代理——Cursor、Claude Code、Windsurf、Zed、Crush。每个都在不同的位置有自己的配置文件。每次添加MCP服务器或交换机时,都必须手动更新每个配置。

麦克普利特 修复此问题。在中央注册表中定义一次MCP服务器,然后用一个命令将它们应用于任何地方。

new machine setup:
  curl -fsSL https://mcpfleet.dev/install.sh | sh
  mcpfleet auth login
  mcpfleet apply --all cursor
  # done.

特性

  • 📦 中央注册表 --将所有MCP服务器定义放在一个地方
  • 🔐 加密保管库 --使用AES-256-GCM存储的秘密,操作系统密钥环中的密钥
  • 🤖 多代理支持 --光标,克劳德代码,风帆,zed,压碎
  • 🏷️ 标签过滤 --仅应用标记的服务器 dev, vcs等等。
  • 🔄 无损合并 --保留现有的代理配置
  • ↔️ 跨平台 --macOS、Linux、Windows(amd64+arm64)

安装

自制(macOS/Linux)

brew install mcpfleet/tap/mcpfleet

curl(Linux/macOS)

curl -fsSL https://mcpfleet.dev/install.sh | sh

去安装

go install github.com/mcpfleet/mcpfleet/cmd/mcpfleet@latest

下载二进制文件

从获取最新二进制文件 GitHub 发布.

快速开始

# 1. Authenticate with the registry
mcpfleet auth login

# 2. Push an MCP server definition
mcpfleet push my-server \
  --command npx \
  --args "-y,@modelcontextprotocol/server-filesystem" \
  --tag dev

# 3. Apply all servers to Cursor
mcpfleet apply --all cursor

# 4. Apply only 'dev'-tagged servers to Claude Code
mcpfleet apply --tag dev claude-code

# 5. List all servers in the registry
mcpfleet list

# 6. Remove a server
mcpfleet delete my-server

支持的代理

代理 配置路径
cursor ~/.cursor/mcp.json
claude-code ~/Library/Application Support/Claude/claude_desktop_config.json
windsurf ~/.codeium/windsurf/mcp_config.json
zed ~/.config/zed/settings.json
crush ~/.config/crush/mcp.json

命令

mcpfleet auth login          Authenticate with the registry
mcpfleet list                List all MCP servers in the registry
mcpfleet push <name>         Add or update an MCP server definition
mcpfleet pull                Pull latest server definitions from registry
mcpfleet apply <agent>       Apply registry servers to an agent config
  --all                        Apply all servers (ignore tag filter)
  --tag <tag>                  Apply only servers with the given tag
mcpfleet delete <name>       Remove an MCP server from the registry

配置

mcpfleet从以下位置读取其注册表URL:

  1. MCPFLEET_REGISTRY_URL 环境变量
  2. ~/.config/mcpfleet/registry_url 文件
  3. 违约: https://registry.mcpfleet.dev

身份验证令牌存储在 ~/.config/mcpfleet/token 之后 mcpfleet auth login.

自足执行

您可以使用运行自己的注册表 mcpfleet注册表:

git clone https://github.com/mcpfleet/mcpfleet-registry
cd mcpfleet-registry
docker compose up -d

# Point mcpfleet at your instance
export MCPFLEET_REGISTRY_URL=http://localhost:8080
mcpfleet auth login

发展

git clone https://github.com/mcpfleet/mcpfleet
cd mcpfleet
go mod tidy
go test ./...
go build -o mcpfleet ./cmd/mcpfleet

贡献

欢迎拉取请求!请先打开一个问题来讨论重大更改。

许可证

麻省理工学院