MCP Kubernetes Server
@guolisen
About MCP Kubernetes Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_k8s_server": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-k8s-server",
"."
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Kubernetes Server?
MCP Kubernetes Server is a Model Context Protocol (MCP) server that provides interfaces for managing Kubernetes clusters. It enables getting information, performing operations, monitoring status, and analyzing resources. It is intended for developers and operators who interact with Kubernetes clusters via MCP-enabled assistants.
How to use MCP Kubernetes Server?
Install via pip install mcp-k8s-server or from source. Run directly with mcp-k8s-server, optionally specifying --transport (stdio or sse), --port, and --config. It can also be run via Docker or deployed as a Kubernetes deployment that uses in-cluster configuration.
Key features of MCP Kubernetes Server
- Cluster Information: Get details about pods, deployments, services, etc.
- Cluster Operations: Create, update, delete, scale, and restart resources
- Monitoring: Check cluster and node status, resource metrics, and health
- Analysis: Analyze resources and provide recommendations
- Prompts: Includes prompts for common Kubernetes analysis tasks
Use cases of MCP Kubernetes Server
- Retrieve detailed information about Kubernetes resources
- Perform operations such as scaling deployments or executing commands in pods
- Monitor cluster health and resource metrics
- Analyze resources for optimization or troubleshooting recommendations
FAQ from MCP Kubernetes Server
How does MCP Kubernetes Server connect to a cluster?
When running inside a cluster, it uses in-cluster configuration automatically. Outside a cluster, it falls back to a kubeconfig file (e.g., ~/.kube/config).
What transport protocols are supported?
The server supports both stdio and SSE (Server-Sent Events) transports, configurable via the --transport flag.
What are the runtime requirements?
Python 3.12+ is required. The server can be installed via pip or run in a Docker container.
How is the server configured?
Configuration can be provided via a YAML config file, environment variables, or command-line arguments. The config file supports server settings (transport, port, host) and Kubernetes settings (config path, context, namespace).
Frequently asked questions
How does MCP Kubernetes Server connect to a cluster?
When running inside a cluster, it uses in-cluster configuration automatically. Outside a cluster, it falls back to a kubeconfig file (e.g., `~/.kube/config`).
What transport protocols are supported?
The server supports both stdio and SSE (Server-Sent Events) transports, configurable via the `--transport` flag.
What are the runtime requirements?
Python 3.12+ is required. The server can be installed via pip or run in a Docker container.
How is the server configured?
Configuration can be provided via a YAML config file, environment variables, or command-line arguments. The config file supports server settings (transport, port, host) and Kubernetes settings (config path, context, namespace).
Basic information
More Cloud & Infrastructure MCP servers
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.

Nippy
NippyNippy is drag-and-drop hosting (nippy.host) with an MCP server: connect it and your assistant can publish HTML, folders of photos, or file downloads to a live *.nippy.site URL — and keep editing the site in place at the

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
MCP Gateway
mcp-ecosystem🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Comments