MCP Kubernetes Server MCP Server

This is an MCP kubernetes Server.

Local serverstdioPython

What is the MCP Kubernetes Server MCP Server?

This is an MCP kubernetes Server.

What you get

This is an MCP (Model Context Protocol) server for Kubernetes that provides control over Kubernetes clusters through interactions with LLMs.

This client allows you to perform common Kubernetes operations through MCP tools. It wraps kubectl commands to provide a simple interface for managing Kubernetes resources. The Model Context Protocol (MCP) enables seamless interaction between language models and Kubernetes operations.

Configuration and credentials

  • Kubernetes cluster access configured via kubectl - Python 3.x - MCP framework installed and configured

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
portforward pod,deployment,service with name <resource-name> in the production namespace to local port 8080.

How to install the MCP Kubernetes Server MCP Server

{
  "mcpServers": {
    "Kubernetes": {
      "command": "uv",
      "args": [
        "--directory",
        "~/mcp/mcp-k8s-server",
        "run",
        "kubernetes.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Kubernetes cluster access configured via kubectl - Python 3.x - MCP framework installed and configured

Example prompts to try

  • “Use MCP Kubernetes Server to port.”

Frequently asked questions

This is an MCP kubernetes Server. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.