Basic information
About Kubernetes MCP Server
# Kubernetes MCP Server
Kubernetes MCP Server is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by endo-sys. Supported transport: stdio. Runtime: python. License: MIT license. Source code is hosted on github.com. Related topics: kubernetes, mcp-server, python-sdk.
Setup
{
"mcpServers": {
"kubernecetes-mcp-server": {
"command": "python",
"args": [
"-m",
"mcp.inspector",
"src/k8s_mcp_server.py"
]
}
}
}
{
"mcpServers": {
"kubernecetes-mcp-server": {
"command": "python",
"args": [
"-m",
"mcp.inspector",
"src/k8s_mcp_server.py"
]
}
}
}
{
"servers": {
"kubernecetes-mcp-server": {
"command": "python",
"args": [
"-m",
"mcp.inspector",
"src/k8s_mcp_server.py"
]
}
}
}
Kubernetes MCP Server — by endo-sys config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kubernecetes-mcp-server": {
"command": "python",
"args": [
"-m",
"mcp.inspector",
"src/k8s_mcp_server.py"
]
}
}
}
Kubernetes MCP Server — by endo-sys tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Kubernetes MCP Server?
The Kubernetes MCP Server is a Model Context Protocol server that enables natural language interaction with a Kubernetes cluster through an MCP client. It provides comprehensive Kubernetes operations including pods, deployments, services, namespaces, and cluster management.
How to use Kubernetes MCP Server?
Clone the repository, install dependencies with pip install -r requirements.txt, then run the server via MCP Inspector, install it in Claude Desktop, or execute directly. Once connected, issue natural language commands like “Get all pods in the default namespace” or “Scale the backend deployment to 3 replicas.”
Key features of Kubernetes MCP Server
- Get, describe, and filter pods
- Execute commands in pods
- Get pod logs and metrics
- Scale deployments and manage rollouts
- Expose deployments as services
- Port forward to services
- Create and delete namespaces
- Cordon, uncordon, and drain nodes
Use cases of Kubernetes MCP Server
- Query pod status and logs in natural language
- Scale deployments and manage rollout history
- Create and manage namespaces interactively
- Perform cluster maintenance like node draining
Frequently asked questions
1 What are the prerequisites?
Python 3.7+, kubectl installed and configured, access to a Kubernetes cluster, and an MCP client (e.g., Claude Desktop).
2 How do I install the server?
Clone the repository and run pip install -r requirements.txt to install dependencies.
3 How do I run the server?
Use python -m mcp.inspector src/k8s_mcp_server.py for development, python -m mcp.install src/k8s_mcp_server.py to install in Claude Desktop, or run python src/k8s_mcp_server.py directly.
4 What Kubernetes operations are supported?
Pod, deployment, service, namespace, and cluster operations including get, describe, scale, logs, exec, rollout management, and node scheduling.
5 Do I need additional authentication?
No; the server uses your existing kubectl configuration for cluster access.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In