What Python version is required?
Python 3.10 or higher is required by the MCP SDK.
@wakeupworld
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"k8s_mcp_server": {
"command": "python3",
"args": [
"k8s_mcp_wrapper.py"
]
}
}
}Get a list of pods in the specified namespace
Get a list of services in the specified namespace
Get a list of deployments in the specified namespace
Get a list of all namespaces in the cluster
Describe a Kubernetes resource in detail
Get logs from a pod in the specified namespace
Create a new namespace in the Kubernetes cluster
Delete a Kubernetes resource
Scale a deployment to the specified number of replicas
Get events from the Kubernetes cluster
Get the current kubectl context
Get the list of available kubectl contexts
Switch the kubectl context
List all available scripts with their parameters
A flexible Machine Communication Protocol (MCP) server that provides Kubernetes management capabilities with support for custom extension scripts. It integrates with kubectl to offer a wide range of cluster operations through tabular output, and automatically detects and registers user-created Python scripts as additional tools.
Install dependencies (Python 3.10+ and kubectl required), then run python3 k8s_mcp_wrapper.py from the bin/ directory. For development and debugging, use the --dev flag with an optional --dev-port. The scripts directory can be overridden by setting the SCRIPTS_DIR environment variable.
Python 3.10 or higher is required by the MCP SDK.
kubectl must be installed and configured, and the Python packages listed in `requirements.txt` must be installed.
Scripts must be Python files with a `.py` extension, use `argparse` for parameter definitions, and support receiving arguments via a JSON file with the `--args-file` flag. A detailed template is provided in the README.
Yes, set the `SCRIPTS_DIR` environment variable to the desired path before starting the server.
Tools include `get_pods`, `get_services`, `get_deployments`, `get_namespaces`, `describe_resource`, `get_pod_logs`, `create_namespace`, `delete_resource`, `scale_deployment`, `get_events`, `get_current_context`, `get_available_contexts`, `switch_context`, and `list_scripts`.
Open source MCP Servers for AWS
MCP server for Backblaze B2 Cloud Storage: a focused, safe 40-tool surface (17 native B2 SDK, 19 S3 data-plane, 4 analytics) for any MCP-compatible AI client, currently incubating in Backblaze-Labs
Official OutageDeck MCP server for vendor-published cloud and SaaS status, incident timelines, and observed uptime history.
MCP Server for kubernetes management commands

Model Context Protocol Servers
コメント