kubernetes-runbooks-mcp-server
Provides access to Kubernetes troubleshooting runbooks for issues like node problems, pod problems, container errors, network issues, and resource management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kubernetes-runbooks-mcp-server search runbooks for pod crashes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kubernetes Runbooks MCP Server
A Model Context Protocol (MCP) server that provides access to Kubernetes troubleshooting runbooks from Container Solutions' Runbooks.
Features
🔍 Search & Discovery: Find relevant runbooks by keyword or browse all available topics
📖 Content Access: Fetch detailed troubleshooting guides for specific Kubernetes issues
🤖 AI Integration: Designed for seamless integration with AI assistants via MCP
⚡ Performance: Intelligent caching to minimize network requests
🛡️ Reliability: Robust error handling and graceful degradation
Related MCP server: MCP Runbook Search Server
Available Runbooks
The server provides access to comprehensive troubleshooting guides for:
Node Issues: Resource constraints, node availability problems
Pod Problems: CrashLoopBackOff, ImagePullBackOff, pending states
Container Errors: CreateContainerError, sandbox creation failures
Network Issues: Service connectivity, DNS resolution problems
Resource Management: OutOfPods states, resource allocation issues
Installation
Using uvx (Recommended)
Install and run directly with uvx:
uvx kubernetes-runbooks-mcp-serverUsing uv
uv tool install kubernetes-runbooks-mcp-server
kubernetes-runbooks-serverUsing pip
pip install kubernetes-runbooks-mcp-server
kubernetes-runbooks-serverUsage
With Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"kubernetes-runbooks": {
"command": "uvx",
"args": ["kubernetes-runbooks-mcp-server"]
}
}
}Available Tools
list-topics: List all available runbook topicssearch-runbooks: Search runbooks by keywordfetch-runbook: Get specific runbook content by topic slug
Available Resources
Access runbooks directly via URI:
runbook://kubernetes/create-container-errorrunbook://kubernetes/crashloopbackoffrunbook://kubernetes/dns-failures
Available Prompts
troubleshoot-k8s: Interactive troubleshooting guidancerunbook-summary: Summarize key points from runbooks
Example Usage
# List all available topics
{"name": "list-topics", "arguments": {}}
# Search for pod-related issues
{"name": "search-runbooks", "arguments": {"query": "pod"}}
# Fetch specific runbook
{"name": "fetch-runbook", "arguments": {"topic": "crashloopbackoff"}}Development
Setup
git clone <repository-url>
cd kubernetes-runbooks-mcp-server
uv sync --devRunning
uv run kubernetes-runbooks-serverTesting
uv run pytestArchitecture
RunbookScraper: Handles web scraping from the runbooks website
Caching System: In-memory cache for runbook metadata and content
MCP Server: Implements the Model Context Protocol with resources, tools, and prompts
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT License - see LICENSE file for details.
Acknowledgments
Container Solutions for maintaining excellent Kubernetes runbooks
Model Context Protocol for the MCP specification
Available Tools
3 toolsfetch-runbookB
Fetch a specific Kubernetes runbook by topic
Inputs: topic (required).
list-topicsA
List all available Kubernetes runbook topics
Inputs: no named parameters.
search-runbooksB
Search through Kubernetes runbooks by keyword
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: fetching a runbook by topic, listing all topics, and searching by keyword. There is no overlap in functionality, making it easy for an agent to select the correct tool.
All tools follow a consistent verb_noun pattern in snake_case (e.g., fetch-runbook, list-topics). The convention is uniform and predictable.
Three tools is well-scoped for a read-only Kubernetes runbook server. It provides essential operations (list, fetch, search) without unnecessary bloat.
The tool surface covers the core read operations for runbooks: listing topics, fetching by topic, and searching. No obvious gaps exist given the server's stated purpose.
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Search, read, download and report on tested step-by-step recipes (playbooks) for AI agents.
Create, edit and search step-by-step guides and help articles.
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interactive Kubernetes cluster monitoring and troubleshooting through natural language queries. Users can diagnose pod issues, check service status, and investigate cluster problems using conversational AI.-
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible clients to semantically search, retrieve, and list engineering runbooks, providing relevant runbooks in response to natural language queries.MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to query a local Kubernetes/Docker knowledge base through semantic search, ask DevOps questions via a RAG pipeline, and search a troubleshooting journal by symptom.-
- FlicenseBqualityCmaintenanceEnables MCP-compatible clients to search approved local Markdown runbooks, retrieve selected local host health details, and get bounded Kubernetes pod-status summaries for allowlisted clusters and namespaces.4-