Skip to main content
Glama

Runbook

Official
by runbookai

Runbook MCP Server

Runbook MCP Server enables you to run your own runbooks from Claude Desktop.

  • Run ops runbooks (e.g., deploy a service, upgrade a Kubernetes cluster)
  • Run manual test plans (e.g., create a new EC2 instance, ssh into the instance, and run the integration test there).

Please watch the demo video below to understand how it works!

demo

How to Use

Step 1. Start the MCP server with Claude Desktop.

Create config.yaml

Put the following configuration to claude_desktop_config.json.

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

Step 2. Create runbooks

You can use markdown files or text files as runbooks. See examples.

We support env/var substitution.

Define env.yaml.

env: key: value
  • {env[key]} is replaced with value.
  • {var.name} is replaced with a variable value.

Rebuild the index when files are updated.

You can also create a new runbook, use the create_runbook tool. Here is an example prompt:

Example 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.

Step 3. Run runbooks

To run a runbook, take the following steps:

  1. Click "Attach from MCP" from Claude Desktop.
  2. Select get_runbook_as_prompt from the list of integrations.
  3. Pass the name of the runbook you would like to execute. Also specify variables with a comma-separated list (e.g., var1=key1,var2=key2).
  4. Submit the generated prompt.

Then Claude Desktop will talk to other MCP servers to run the runbook.

Example MCP Servers that can be used to Run Runbooks

Development Plan

  • Instead of saving the content of the runbook in the database, just save as a file. This helps easy editting. People can also simply use GitHub for versioning.
  • Runbook template X that is instantiated with given inputs.
    • Maybe this is not needed. A user just needs to put additional prompts when running the runbook.
  • Save executing log (for auditting and refinement)
    • Remove secrets
    • Also pass a past log to the runbook prompt if this helps better execution
  • Approval flow.
    • Add a tool request_approval.
    • This sends a slack message to a channel.
    • Then the Runbook MCP server watches the channel. If someone responds (yes / no), it proceeeds or returns an error.
  • Better runbook search
    • The exact name match is not great
  • Registrtation to Smithery.

Potential Work Items where its Feasibility is not clear

Note: Claude Desktop does not support "Sampling". This puts some limitations.

  • Sub-runbook and reusable execution block
  • Rest endpoint + frontend for managing runbooks.
  • Be able to edit the runbook (with versioning)
  • show an execution plan for runbook X (dry-run)
    • Restrict MCP servers and tools
  • convert a previous conversation into a runbook
  • fine-tuning.
  • Be able to refine a runbook. If there is a successful execution, save it as an example and give it to Claude.
  • Periodic execution
  • Be able to provision an environment (VM, docker) for running MCP servers.

You must be authenticated.

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Run your own runbooks from Claude Desktop.

You can create your runbooks and execute them with other MCP servers.

  1. How to Use
    1. Step 1. Start the MCP server with Claude Desktop.
    2. Step 2. Create runbooks
    3. Step 3. Run runbooks
  2. Example MCP Servers that can be used to Run Runbooks
    1. Development Plan
      1. Potential Work Items where its Feasibility is not clear

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          An MCP server to run commands.
          Last updated -
          2
          265
          150
          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
          A
          license
          -
          quality
          Windows integration MCP server that enables Claude to interact with Windows system features including media playback control, notification management, window operations, screenshots, monitor control, theme settings, file opening, and clipboard access.
          Last updated -
          2
          Python
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/runbookai/runbook-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server