runbook mcp server
Run your own runbooks from Claude Desktop.
You can create your runbooks and execute them with other MCP servers.
Run your own runbooks from Claude Desktop.
You can create your runbooks and execute them with other MCP servers.
Runbook MCP Server enables you to run your own runbooks from Claude Desktop.
Please watch the demo video below to understand how it works!
Create config.yaml
Put the following configuration to claude_desktop_config.json
.
{
"mcpServers": {
"runbook": {
"command": "uv",
"args": [
"--directory",
"<ABSOLUTE_PATH>/runbook-mpc-server",
"run",
"runbook_server.py"
]
}
}
}
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.
To run a runbook, take the following steps:
get_runbook_as_prompt
from the list of integrations.var1=key1,var2=key2
).Then Claude Desktop will talk to other MCP servers to run the runbook.
request_approval
.Note: Claude Desktop does not support "Sampling". This puts some limitations.
[
{
"description": "",
"inputSchema": {
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"name",
"content"
],
"title": "create_runbookArguments",
"type": "object"
},
"name": "create_runbook"
},
{
"description": "",
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"name"
],
"title": "delete_runbookArguments",
"type": "object"
},
"name": "delete_runbook"
}
]