MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/eren23/attocode
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp--": {
"command": "npx",
"args": ["-y", "attocode"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP工具 执行以下任务... Claude: [自动调用 MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp__": {
"command": "npx",
"args": ["-y", "attocode"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Production AI coding agent built in Python. Features a Textual-based TUI, multi-agent swarm orchestration, intelligent budget management, and a safety sandbox system.
attoswarm) and heterogeneous backendsANTHROPIC_API_KEY)git clone https://github.com/eren23/attocode.git
cd attocode
uv sync --all-extras # creates .venv, installs everything
cd attocode
uv tool install --force . --with anthropic --with openai
This installs three commands globally: attocode, attocodepy, and attoswarm.
Single-turn --- ask a question and get one response:
attocode "List all Python files in this project"
Interactive TUI --- launch the full terminal interface:
attocode
Swarm mode --- decompose a task across multiple parallel agents:
attocode --swarm "Build a REST API for a todo app with tests"
Hybrid swarm mode --- process-boundary orchestration via attoswarm:
attocode swarm start .attocode/swarm.hybrid.yaml "Build a REST API for a todo app with tests"
Research campaign --- run structured multi-experiment research:
attocode research start "Evaluate caching strategies for the query layer"
uv sync --extra anthropic # Anthropic SDK (recommended)
uv sync --extra openai # OpenAI SDK
uv sync --extra tree-sitter # AST parsing for code analysis
uv sync --extra semantic # Semantic search embeddings (sentence-transformers)
uv sync --extra dev # Development tools (pytest, mypy, ruff)
uv sync --all-extras # All of the above
Set your API key:
```bash export ANTHROPIC_API_KEY="sk-ant-..."
| Flag | Short | Description |
|---|---|---|
PROMPT | Positional --- run single-turn with this prompt | |
--model | -m | LLM model to use |
--provider | LLM provider (anthropic, openrouter, openai, azure, zai) | |
--permission | -p | Permission mode: strict, interactive, auto-safe, yolo |
--yolo | Shorthand for --permission yolo (auto-approve all) | |
--task | -t | Task description (alternative to positional prompt) |
--max-tokens | Maximum response tokens | |
--temperature | LLM temperature (0.0--1.0) | |
--max-iterations | -i | Maximum agent iterations |
--timeout | Request timeout in seconds | |
--resume | Resume a previous session by ID | |
--tui / --no-tui | Force TUI or plain REPL mode | |
--theme | TUI theme (dark, light, auto) | |
--trace | Save JSONL execution traces to .attocode/traces/ | |
--swarm | Enable swarm mode (optional: path to config YAML) | |
--swarm-resume | Resume a previous swarm session by ID | |
--hybrid | Route swarm execution to standalone attoswarm orchestrator | |
--paid-only | Only use paid models (no free tier) | |
--record | Record session for visual replay | |
--debug | Enable debug logging | |
--non-interactive | Run in non-interactive mode | |
--version | Show version and exit |
Attocode 是一个基于 Python 的生产级 AI 编码代理,具有文本界面 TUI、多代理群集协调、智能预算管理和安全沙盒系统。
Attocode 的功能包括交互式 TUI、单次模式、群集模式等。交互式 TUI 提供了丰富的终端界面,支持实时工具状态、流式、计划/任务面板和键盘快捷键。单次模式允许从命令行运行一次性提示以实现脚本和自动化。群集模式支持多代理协调,包括一个独立的 Python 混合协调器(attoswarm)和异构
Attocode 的环境依赖包括 Python 3.12+ 和至少一个 LLM 提供商的 API 密钥(例如 ANTHROPIC_API_KEY)。
Attocode 的安装步骤包括开发安装和全局安装两种方式。开发安装(推荐)涉及克隆 Git 仓库、激活虚拟环境和安装依赖项。全局安装(推荐用于终端用户)涉及安装三个命令:attocode、attocodepy 和 attoswarm。
Attocode 的使用教程包括单次模式、交互式 TUI 和群集模式三种方式。单次模式允许用户通过命令行运行一次性提示。交互式 TUI 提供了一个全面的终端界面。群集模式支持多代理协调以处理复杂任务。
Attocode 的配置选项包括提供商额外功能,例如 Anthropic SDK、OpenAI SDK、Tree Sitter 和 Semantic Search Embeddings等。用户可以通过 `uv sync` 命令来激活这些额外功能。
Attocode 的 CLI 参考文档提供了有关命令行标志、短语和描述的信息。用户可以通过这些标志来定制 Attocode 的行为。
高质量的MCP工具,值得关注
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,MCP工具 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | attocode |
| 原始描述 | 开源MCP工具:A series of lessons, 0 to hero ai coding agent building guide.。⭐16 · Python |
| Topics | aimcpagentpython |
| GitHub | https://github.com/eren23/attocode |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-29 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端