---
title: "Kubernetes MCP Server for ToolPiper · ModelPiper"
description: "Inspect and manage Kubernetes clusters via your kubeconfig. This server gives the assistant the read and write surface of kubectl, scoped to whatever your current kubeconfig context allows. List pods, read logs, get and"
canonical: "https://modelpiper.com/mcp-tools/kubernetes"
---

# Kubernetes MCP Server for ToolPiper · ModelPiper

> Inspect and manage Kubernetes clusters via your kubeconfig. This server gives the assistant the read and write surface of kubectl, scoped to whatever your current kubeconfig context allows. List pods, read logs, get and

K

# Kubernetes MCP Server

✓ verified

Inspect and manage Kubernetes clusters via your kubeconfig.

Install Kubernetes in ToolPiper

Don't have ToolPiper? We'll take you to the download.

[Open repository →](https://github.com/containers/kubernetes-mcp-server)

Publisher

[Containers (Red Hat)](https://github.com/containers/kubernetes-mcp-server)

License

Apache-2.0

Transport

Local subprocess

Tools

5

## What this server does

This server gives the assistant the read and write surface of kubectl, scoped to whatever your current kubeconfig context allows. List pods, read logs, get and list any resource kind, inspect events, and apply changes. It uses your existing kubeconfig, so it already respects your RBAC: the assistant can do exactly what your current context can do, no more. Point your context at a staging cluster while you get comfortable. Pair it with a Grafana or Prometheus server to correlate a crashlooping pod with its metrics.

## Tools included

-   pods\_list
    
    List pods across namespaces.
    
-   pods\_log
    
    Read logs from a pod.
    
-   resources\_get
    
    Get any Kubernetes resource by kind and name.
    
-   resources\_list
    
    List resources of a given kind.
    
-   events\_list
    
    List recent cluster events.
    

The authoritative list comes from the server's tools/list at runtime. This catalog entry may lag the upstream until the next ToolPiper release.

## Install in ToolPiper

ToolPiper handles the JSON configuration. Click Install, fill in any required tokens, and the server is ready in your chat.

Install Kubernetes in ToolPiper

Don't have ToolPiper? We'll take you to the download.

## Install in another client

Install in another MCP client (Claude Desktop, Cursor, Continue, Cline)

Claude Desktop Cursor Continue Cline

Add this to ~/Library/Application Support/Claude/claude\_desktop\_config.json.

```
{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "-y",
        "kubernetes-mcp-server"
      ]
    }
  }
}
```

Copy

## Example prompts

-   "List the pods in the payments namespace and flag any that are not Running."
    
    Copy
-   "Show me the last 100 log lines from the api deployment."
    
    Copy
-   "What events fired in the default namespace in the last hour?"
    
    Copy

## Security notes

The server inherits your kubeconfig and its RBAC, so it can do whatever your current context permits, including writes and deletes if your role allows them. Switch to a read-only or staging context before connecting, and treat a production-admin context as live ammunition. There is no separate token to manage; the kubeconfig file on disk is the credential.

## Related tools

-   [
    
    G
    
    ### GitHub
    
    ✓ verified
    
    Create issues, manage pull requests, and search repositories from your AI assistant.
    
    Developer ToolsLocal subprocess5 tools
    
    
    
    
    
    ](/mcp-tools/github)
-   [
    
    G
    
    ### GitHub (Remote)
    
    ✓ verified MAX
    
    OAuth-protected GitHub MCP. Manage repos, issues, and pull requests with no token to copy.
    
    Developer ToolsRemote HTTP5 tools
    
    
    
    
    
    ](/mcp-tools/github-remote)
-   [
    
    G
    
    ### Git
    
    ✓ verified
    
    Read, search, and manipulate Git repositories on disk.
    
    Developer ToolsLocal subprocess5 tools
    
    
    
    
    
    ](/mcp-tools/git)
-   [
    
    E
    
    ### Everything
    
    ✓ verified
    
    Reference test server exercising every MCP feature.
    
    Developer ToolsLocal subprocess5 tools
    
    
    
    
    
    ](/mcp-tools/everything)

[← Back to all MCP tools](/mcp-tools)
