Rocannon 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Rocannon 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Rocannon 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/msradam/rocannon
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"rocannon": {
"command": "npx",
"args": ["-y", "rocannon"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Rocannon 执行以下任务... Claude: [自动调用 Rocannon MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"rocannon": {
"command": "npx",
"args": ["-y", "rocannon"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="https://raw.githubusercontent.com/msradam/rocannon/main/docs/assets/gryphon.svg" alt="" width="120"> </p>
<p align="center"><b>Every installed Ansible module and role, as a typed MCP tool.</b></p>
<p align="center"> <a href="https://pypi.org/project/rocannon/"><img src="https://img.shields.io/pypi/v/rocannon.svg" alt="PyPI version"></a> <img src="https://img.shields.io/pypi/pyversions/rocannon.svg" alt="Python versions"> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: MIT"> </p>
Rocannon runs on your Ansible control node and turns it into an MCP server. At startup it reads ansible-doc and exposes every module you have installed (plus any role with an argument spec) as a typed tool, so an MCP client like Claude Code, Cursor, or your own agent can drive your real environment in plain English. The tool surface is whatever you have installed, one collection or a hundred. Each tool's name is its Ansible FQCN with dots swapped for underscores (e.g. ansible.builtin.copy becomes ansible_builtin_copy), the form OpenAI-style function calling requires; the original FQCN stays in the tool's description.

<p align="center"><i>Claude Haiku driving Rocannon's typed Ansible tools against a real RHEL 9 host.</i></p>
pip install rocannon
This brings ansible-core and ansible-runner with it. rocannon doctor checks the environment for anything missing.
rocannon quickstart
Scaffolds a localhost profile under .rocannon/ and prints the wiring for your MCP client (Claude Code, Claude Desktop, Cursor) plus a command to confirm the tools registered. Then ask your assistant something like "Gather facts from localhost and tell me the OS and kernel version."
You don't need an LLM, though. The same tools are a shell:
rocannon mcp doctor --profile .rocannon/quickstart.yml # list registered tools
rocannon repl --profile .rocannon/quickstart.yml # operator shell
- examples/case-study: natural language to ad-hoc Ansible on a real RHEL 9 host, then replayed as a standard playbook. - examples/containerlab: the same agent driving a two-node Arista cEOS fabric, where the arista.eos modules become tools. - examples/execution-environment: Rocannon baked into an Ansible Execution Environment for a frozen, reproducible tool set. - examples/execution-environment-dispatch: the opposite shape, Rocannon stays on the control host and dispatches each module call into a plain EE image instead.
Most MCP servers target one layer: the service API. The MongoDB MCP server queries documents. The AWS MCP server describes EC2 instances. The Kubernetes MCP server inspects pods. None of them can touch the OS underneath.
Rocannon operates at the OS and configuration layer — the same layer Ansible has always owned. That makes it complementary to service-layer MCP servers, and the only MCP option for domains that have no official server at all.
| Collection | What it does that service MCP can't | Equivalent service MCP |
|---|---|---|
amazon.aws | Configure the OS on EC2 — packages, users, services, files | AWS MCP (awslabs) |
azure.azcollection | Configure VMs after provisioning; multi-cloud plays | Azure MCP (Microsoft, official) |
google.cloud | Configure GCE VMs; self-managed DBs on GCE | Google Cloud MCP (50+ official servers) |
kubernetes.core | Configure nodes before the API exists; bootstrap kubeadm | kubernetes-mcp-server (Red Hat) |
community.mongodb | Install mongod, write mongod.conf, build replica sets across hosts | MongoDB MCP (official) |
community.postgresql | Install PostgreSQL, configure pg_hba.conf, set up streaming replication | *No official MCP server* |
community.mysql | Install MySQL, configure my.cnf, manage replication | *No official MCP server* |
community.hashi_vault | Install and initialize Vault on hosts; pull Vault secrets into module args | Vault MCP (HashiCorp, beta) |
cisco.ios / arista.eos | Idempotent device config via NETCONF/SSH; --check/--diff before pushing | Cisco/Arista management-plane MCP only |
ansible.builtin / ansible.posix | Package, service, file, user management — abstracted across distros | SSH MCP (community only, raw shell) |
A few things stand out from this table:
cisco.ios, arista.eos, and junipernetworks.junos have decades of vendor investment. The network MCP servers cover management planes (Catalyst Center, CloudVision), not direct device configuration.The typical workflow:
commit_session to save the successful steps as a standard ansible-playbook-runnable YAML — no Rocannon needed for the next run.What plain Ansible still does better than Rocannon: multi-host sequencing with serial, throttle, and run_once; change-management pipelines; scheduled drift enforcement; versioned roles and collections. Rocannon is for exploration and targeted action. When a task needs to be repeatable and auditable, commit it to a playbook.
高质量的MCP工具,简化Ansible服务器生成
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Rocannon 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | rocannon |
| Topics | ansiblemcpautomation |
| GitHub | https://github.com/msradam/rocannon |
| License | MIT |
| 语言 | Python |
收录时间:2026-07-05 · 更新时间:2026-07-05 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端