Kubernetes MCP Server
Features <a id="features"></a>
- ** Configuration**:
- ** Generic Kubernetes Resources**: Perform operations on any Kubernetes or OpenShift resource.
- ** Pods**: Perform Pod-specific operations.
- ** Namespaces**: List Kubernetes Namespaces.
- ** Events**: View Kubernetes events in all namespaces or in a specific namespace.
- ** Projects**: List OpenShift Projects.
kubectl or helm command-line tools.Getting Started <a id="getting-started"></a>
Requirements
- Access to a Kubernetes cluster.
Claude Desktop
Using npx
kubernetes-mcp-server on Claude Desktop.claude_desktop_config.json and add the mcp server to the list of mcpServers:VS Code / VS Code Insiders
Goose CLI
Using npm
kubernetes-mcp-server.config.yaml and add the mcp server to the list of mcpServers:Demos <a id="demos"></a>
Diagnosing and automatically fixing an OpenShift Deployment
_Vibe Coding_ a simple game and deploying it to OpenShift
Configuration <a id="configuration"></a>
npx or by downloading the latest release binary.Configuration Options
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
Tools <a id="tools"></a>
`configuration_view`
minified(boolean, optional, default:true)
`events_list`
namespace(string, optional)
`namespaces_list`
`pods_delete`
name(string, required)
namespace(string, required)
`pods_exec`
command(string[], required)
name(string, required)
namespace(string, required)
`pods_get`
name(string, required)
namespace(string, required)
`pods_list`
`pods_list_in_namespace`
namespace(string, required)
`pods_log`
name(string, required)
namespace(string, required)
container(string, optional)
`pods_run`
image(string, required)
namespace(string, required)
name(string, optional)
port(number, optional)
`projects_list`
`resources_create_or_update`
resource(string, required)
- v1 Pod
- v1 Service
- v1 Node
- apps/v1 Deployment
- networking.k8s.io/v1 Ingress
`resources_delete`
apiVersion(string, required)
kind(string, required)
name(string, required)
namespace(string, optional)
`resources_get`
apiVersion(string, required)
kind(string, required)
name(string, required)
namespace(string, optional)
`resources_list`
apiVersion(string, required)
kind(string, required)
namespace(string, optional)
Development <a id="development"></a>
Running with mcp-inspector
Kubernetes MCP Server
Features <a id="features"></a>
- ** Configuration**:
- ** Generic Kubernetes Resources**: Perform operations on any Kubernetes or OpenShift resource.
- ** Pods**: Perform Pod-specific operations.
- ** Namespaces**: List Kubernetes Namespaces.
- ** Events**: View Kubernetes events in all namespaces or in a specific namespace.
- ** Projects**: List OpenShift Projects.
kubectl or helm command-line tools.Getting Started <a id="getting-started"></a>
Requirements
- Access to a Kubernetes cluster.
Claude Desktop
Using npx
kubernetes-mcp-server on Claude Desktop.claude_desktop_config.json and add the mcp server to the list of mcpServers:VS Code / VS Code Insiders
Goose CLI
Using npm
kubernetes-mcp-server.config.yaml and add the mcp server to the list of mcpServers:Demos <a id="demos"></a>
Diagnosing and automatically fixing an OpenShift Deployment
_Vibe Coding_ a simple game and deploying it to OpenShift
Configuration <a id="configuration"></a>
npx or by downloading the latest release binary.Configuration Options
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
Tools <a id="tools"></a>
`configuration_view`
minified(boolean, optional, default:true)
`events_list`
namespace(string, optional)
`namespaces_list`
`pods_delete`
name(string, required)
namespace(string, required)
`pods_exec`
command(string[], required)
name(string, required)
namespace(string, required)
`pods_get`
name(string, required)
namespace(string, required)
`pods_list`
`pods_list_in_namespace`
namespace(string, required)
`pods_log`
name(string, required)
namespace(string, required)
container(string, optional)
`pods_run`
image(string, required)
namespace(string, required)
name(string, optional)
port(number, optional)
`projects_list`
`resources_create_or_update`
resource(string, required)
- v1 Pod
- v1 Service
- v1 Node
- apps/v1 Deployment
- networking.k8s.io/v1 Ingress
`resources_delete`
apiVersion(string, required)
kind(string, required)
name(string, required)
namespace(string, optional)
`resources_get`
apiVersion(string, required)
kind(string, required)
name(string, required)
namespace(string, optional)
`resources_list`
apiVersion(string, required)
kind(string, required)
namespace(string, optional)