MCP Kubernetes

by bhagyaamarasinghe

Not rated
GitHub

About

Execute Kubernetes commands using kubectl from any MCP-compatible client. Requires a valid kubeconfig file.

Details

Author
bhagyaamarasinghe
Categories
Cloud Service, Other, Infrastructure

Setup

Install MCP Kubernetes in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/bhagyaamarasinghe/mcp-kubernetes

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server for executing Kubernetes commands from Claude Desktop or any MCP-compatible client.

You can install this tool directly using Go:

go install github.com/BhagyaAmarasinghe/mcp-kubernetes@latest

By default, the server runs using stdio transport. You can specify a different port for HTTP transport with the-portflag:
- Configure Claude Desktop to use the MCP Kubernetes server by adding it to yourclaude_desktop_config.json:

{ "mcpServers": { "kubernetes": { "command": "mcp-kubernetes" } } }

- You can now use Claude to execute Kubernetes commands, such as:

- "Show me the pods in the default namespace"
- "List all services across all namespaces"
- "Check the status of my deployment named my-app"

The MCP Kubernetes server supports the following MCP requests:

{ "command": "get pods -n default" }

Retrieves a list of available Kubernetes contexts:

{ "context": "minikube" }

This MCP server executes kubectl commands directly on your machine, so it should only be used in trusted environments. It does not implement authentication or authorization controls by default.

- Go 1.23 or higher
- kubectl installed and in your PATH
- A valid kubeconfig file

A server for Kubernetes CLI tools like kubectl, istioctl, helm, and argocd, supporting multi-cluster management via dynamic kubeconfig.

An MCP server for kubectl, enabling AI assistants to interact with Kubernetes clusters through a standardized protocol.

A server for managing Kubernetes clusters using the Model Context Protocol.

Manage and interact with Microsoft Azure services.

Query and interact with kubernetes environments monitored by Metoro

Execute AWS CLI commands through the Model Context Protocol (MCP). Requires AWS credentials configured on the host.

Interact with and manage Azure services using natural language.

Manage Kubernetes applications safely by creating and updating Cyclops Modules for AI agents.

A read-only MCP server for retrieving information and diagnosing issues in Kubernetes clusters.

Provides safe, read-only access to Kubernetes cluster resources for debugging and inspection.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.