kubernetes-mcp-server
A Model Context Protocol (MCP) server for Kubernetes and OpenShift
This server automatically detects changes in Kubernetes configurations and updates accordingly, allowing users to manage their Kubernetes context seamlessly. It supports a wide range of operations on both generic Kubernetes resources and specific Pod operations, enabling users to create, read, update, and delete resources efficiently. With features like listing pods across all namespaces or within specific ones, and the ability to get or delete pods by name, the MCP server provides a flexible and robust solution for developers and system administrators working with Kubernetes and OpenShift environments.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"kubernetes-mcp-server": {
"args": [
"-y",
"kubernetes-mcp-server"
],
"command": "npx"
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions