kubernetes-runbooks-mcp-server
Provides access to Kubernetes troubleshooting runbooks, enabling search, discovery, and retrieval of guides for common issues like pod crashes, node problems, and network failures.
README
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
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-server
Using uv
uv tool install kubernetes-runbooks-mcp-server
kubernetes-runbooks-server
Using pip
pip install kubernetes-runbooks-mcp-server
kubernetes-runbooks-server
Usage
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 --dev
Running
uv run kubernetes-runbooks-server
Testing
uv run pytest
Architecture
- 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.