AI Skill Hub 推荐使用:Mastermind 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Mastermind 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Mastermind 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/xcrft/mastermind
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mastermind": {
"command": "npx",
"args": ["-y", "mastermind"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Mastermind 执行以下任务... Claude: [自动调用 Mastermind MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mastermind": {
"command": "npx",
"args": ["-y", "mastermind"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="docs/assets/banner.webp" alt="mastermind — circuit-board logo, xcrft/mastermind" width="720"> </p>
<p align="center"> <a href="https://www.npmjs.com/package/@xcraftmind/mastermind"><img src="https://img.shields.io/npm/v/@xcraftmind/mastermind.svg" alt="npm version"></a> <a href="https://github.com/xcrft/mastermind/actions/workflows/ci-mmcg.yml"><img src="https://github.com/xcrft/mastermind/actions/workflows/ci-mmcg.yml/badge.svg" alt="CI"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: MIT"></a> </p>
A curated standard library of skills, prompts, agent configs, and MCP integrations for AI coding agents — primarily Claude Code, portable to any MCP client.
Headlined by a spec-driven planner / critic / executor / auditor pipeline grounded in a real codegraph (mmcg): every claim a subagent makes about your code is verified against an AST, not hallucinated.
| Folder | What it holds |
|---|---|
[skills/](skills/) | Markdown skills with frontmatter — workflow skills (mastermind-task-planning, mastermind-task-executor, mastermind-incident-response, mastermind-prompt-refiner) and standalone ones (pr-review, flaky-finder, doc-stub-sync). |
[prompts/](prompts/) | Reusable system/user prompt templates (api-shape-explorer). |
[agents/](agents/) | Six mastermind subagents (critic, auditor, researcher, task-executor, release, prompt-refiner) plus CLAUDE.md / CONTEXT.md templates. |
[mcp/](mcp/) | MCP server configs, headlined by **mmcg** — a fast Rust codegraph indexer (Python, TS/JS, Rust, C#, Go, Java, PHP, C/C++) with 17 tools. |
Each folder is grouped by domain inside (e.g. skills/code-review/); every category ships a _template/ to copy when adding something new. The standard itself lives in docs/conventions.md.
Mastermind ships as a prebuilt native binary via npm — no Rust toolchain on the normal path. mastermind is the command; mmcg is the same binary under its cargo name.
Global (recommended)
npm install -g @xcraftmind/mastermind
mastermind setup claude --write-mcp
Writes ~/.claude/.mcp.json with command: "mastermind". Merges into an existing mcpServers and refuses to clobber a customized entry.
Project-local (reproducible, version-pinned)
npm install -D @xcraftmind/mastermind
npx mastermind setup claude --project . --write-mcp
Writes ./.mcp.json with command: "./node_modules/.bin/mastermind".
One-shot — npx -y @xcraftmind/mastermind doctor. Fine for one-offs; avoid it for the MCP server (it re-resolves through the npm cache on every Claude Code launch).
Supported platforms — macOS (arm64 + x86_64), Linux glibc & musl/Alpine (x86_64 + arm64), Windows (x86_64). Other targets fall back to cargo install mmcg.
<details> <summary>Claude Code plugin marketplace</summary>
/plugin marketplace add xcrft/mastermind
/plugin install mastermind-workflow@mastermind # workflow subagents
/plugin install mmcg@mastermind # codegraph MCP config
/plugin install mastermind-tools@mastermind # standalone skills
The mmcg plugin registers the MCP config; install the binary via npm install -g @xcraftmind/mastermind. The plugins/ tree is regenerated from canonical artifacts by scripts/build-plugins.py. </details>
<details> <summary>Build from source</summary>
```bash cargo install mmcg # crates.io
npm install -g @xcraftmind/mastermind # prebuilt native binary — no Rust toolchain
cd your-project
mastermind init # scaffold .mastermind/, build the index, draft CONTEXT.md
mastermind setup claude --write-mcp # register the codegraph with Claude Code (run once)
mastermind doctor # verify — should be all green
Restart Claude Code and the codegraph tools (search, callers, impact, …) are available in every project you've indexed. Requires Node.js 18+. Other install methods ↓
高质量的MCP工具,实现了Spec驱动的工作流
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Mastermind 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mastermind |
| 原始描述 | 开源MCP工具:Spec-driven planner / critic / executor / auditor workflow for Claude Code, grou。⭐6 · Rust |
| Topics | mcpai-agentsclaudecode-analysis |
| GitHub | https://github.com/xcrft/mastermind |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端