MCP Kubernetes Server MCP Server

This is an MCP kubernetes Server.

Local serverstdioPython

What is the MCP Kubernetes Server MCP server?

MCP Kubernetes Server MCP server exists for a simple reason — assistants are far more useful when they can act on MCP Kubernetes Server directly instead of describing what you should do. 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.

What the assistant can call

Once MCP Kubernetes Server is connected, these are the calls the assistant has available:

  • port — forward pod,deployment,service with name in the production namespace to local port 8080

Setting it up

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

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

Choosing this one

This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Kubernetes Server's toolset — port — is a fair guide to whether it matches your workflow. It is maintained by abhijeetka; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Kubernetes Server's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp kubernetes server mcp server does with a few real requests.

Available tools

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"
            ]
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

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

It connects MCP Kubernetes Server to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (port) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Kubernetes Server directly.