mcp-kubernetes-server
A Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI tools (like Claude, Cursor, and GitHub Copilot) and Kubernetes, translating natural language requests into Kubernetes operations and returning the results in a format the AI tools can understand.
Overview
MCP Kubernetes Server is a tool designed to manage Kubernetes clusters using the kubectl command-line interface.
To use MCP Kubernetes Server, you need to install it by configuring your mcpServers in a JSON format and executing the command uvx mcp-kubernetes-server.
- Simplifies the management of Kubernetes clusters. - Integrates with kubectl for seamless operations. - Supports configuration through JSON for easy setup.
- Managing multiple Kubernetes clusters efficiently.
- Automating deployment processes in Kubernetes environments.
- Streamlining operations for DevOps teams working with Kubernetes.
Add to your AI client
Use these steps to connect mcp-kubernetes-server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-kubernetes-server-feiskyer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-kubernetes-server-feiskyer"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-kubernetes-server-feiskyer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-kubernetes-server-feiskyer"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-kubernetes-server-feiskyer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-kubernetes-server-feiskyer"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-kubernetes-server-feiskyer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-kubernetes-server-feiskyer"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-kubernetes-server-feiskyer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-kubernetes-server-feiskyer"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-kubernetes-server-feiskyer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-kubernetes-server-feiskyer"
]
}
}
}FAQ
What is the license for MCP Kubernetes Server?
MCP Kubernetes Server is licensed under the Apache-2.0 license.
Is MCP Kubernetes Server free to use?
Yes! MCP Kubernetes Server is free to use for everyone.
What programming language is used for MCP Kubernetes Server?
MCP Kubernetes Server is developed in Python.