Runbook

Integrations

  • Enables running operational tasks against Kubernetes clusters, such as listing pods across namespaces and identifying pods that are not in a ready state

  • Allows sending notifications and alerts to Slack channels, particularly for sharing operational information such as Kubernetes pod status

Runbook MCP 服务器

Runbook MCP Server 使您能够从 Claude Desktop 运行自己的运行手册。

  • 运行操作手册(例如,部署服务、升级 Kubernetes 集群)
  • 运行手动测试计划(例如,创建一个新的 EC2 实例,通过 ssh 进入该实例,然后在那里运行集成测试)。

请观看下面的演示视频以了解其工作原理!

如何使用

步骤 1. 使用 Claude Desktop 启动 MCP 服务器。

创建config.yaml

将以下配置放入claude_desktop_config.json中。

{ "mcpServers": { "runbook": { "command": "uv", "args": [ "--directory", "<ABSOLUTE_PATH>/runbook-mpc-server", "run", "runbook_server.py" ] } } }

步骤 2.创建 Runbook

您可以使用 Markdown 文件或文本文件作为 Runbook。请参阅示例

我们支持 env/var 替换。

定义env.yaml

env: key: value
  • {env[key]}被替换为value
  • {var.name}被替换为变量值。

当文件更新时重建索引。

您还可以创建新的 Runbook,使用create_runbook工具。以下是示例提示:

示例 1

Create a new runbook: - name: list_pods - content: List pods in all namespaces, find pods that are not ready, and send that to Slack. You don't need to interpret the content. Please just pass it to the tool.

步骤 3. 运行 Runbook

要运行 Runbook,请执行以下步骤:

  1. 在 Claude Desktop 中单击“从 MCP 附加”。
  2. 从集成列表中选择get_runbook_as_prompt
  3. 传递要执行的 Runbook 的名称。同时,请使用逗号分隔的列表指定变量(例如, var1=key1,var2=key2 )。
  4. 提交生成的提示。

然后,Claude Desktop 将与其他 MCP 服务器通信以运行运行手册。

可用于运行 Runbook 的示例 MCP 服务器

发展计划

  • 无需将 Runbook 的内容保存到数据库中,只需将其保存为文件即可。这有助于轻松编辑。此外,用户还可以直接使用 GitHub 进行版本控制。
  • 使用给定输入实例化的 Runbook 模板 X。
    • 也许这不是必需的。用户只需要在运行 Runbook 时添加额外的提示即可。
  • 保存执行日志(用于审计和改进)
    • 删除机密
    • 如果这有助于更好地执行,还可以将过去的日志传递给运行手册提示
  • 审批流程。
    • 添加工具request_approval
    • 这会向频道发送一条松弛消息。
    • 然后,Runbook MCP 服务器会监视该通道。如果有人响应(是/否),则继续执行,否则返回错误。
  • 更好的运行手册搜索
    • 名字不太准确
  • 注册至Smithery

可行性尚不明确的潜在工作项目

注意:Claude Desktop 不支持“采样”。这会带来一些限制。

  • 子运行手册和可重复使用的执行块
  • 用于管理运行手册的休息端点 + 前端。
  • 能够编辑运行手册(带版本控制)
  • 显示运行手册 X 的执行计划(试运行)
    • 限制 MCP 服务器和工具
  • 将之前的对话转换成运行手册
  • 微调。
  • 能够完善运行手册。如果执行成功,请将其保存为示例并交给 Claude。
  • 定期执行
  • 能够为运行 MCP 服务器提供环境(VM、docker)。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

从 Claude Desktop 运行您自己的运行手册。

您可以创建自己的运行手册并与其他 MCP 服务器一起执行它们。

  1. 如何使用
    1. 步骤 1. 使用 Claude Desktop 启动 MCP 服务器。
    2. 步骤 2.创建 Runbook
    3. 步骤 3. 运行 Runbook
  2. 可用于运行 Runbook 的示例 MCP 服务器
    1. 发展计划
      1. 可行性尚不明确的潜在工作项目

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          An MCP server to run commands.
          Last updated -
          2
          556
          133
          TypeScript
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          MCP server that builds itself by creating new tools as needed based on user requests (Requires restart of Claude Desktop to use newly created tools).
          Last updated -
          4
          13
          Python
          The Unlicense
        • -
          security
          A
          license
          -
          quality
          A local MCP server that enables AI applications like Claude Desktop to securely access and work with Obsidian vaults, providing capabilities for reading notes, executing templates, and performing semantic searches.
          Last updated -
          60
          TypeScript
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          An MCP server that enables Claude Desktop to interact with Sanity.io content, providing tools to create, edit, list documents and get schema templates.
          Last updated -
          TypeScript

        View all related MCP servers

        ID: p3mq5xzyof