MCP Kubernetes
Execute Kubernetes commands using kubectl from any MCP-compatible client. Requires a valid kubeconfig file.
MCP Kubernetes
A Model Context Protocol (MCP) server for executing Kubernetes commands from Claude Desktop or any MCP-compatible client.
Installation
You can install this tool directly using Go:
go install github.com/BhagyaAmarasinghe/mcp-kubernetes@latest
Usage
Starting the server
Run the MCP Kubernetes server:
mcp-kubernetes
By default, the server runs using stdio transport. You can specify a different port for HTTP transport with the -port flag:
mcp-kubernetes -port 8080
Using with Claude Desktop
- Configure Claude Desktop to use the MCP Kubernetes server by adding it to your
claude_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"
Available Commands
The MCP Kubernetes server supports the following MCP requests:
execute
Executes a kubectl command:
{
"command": "get pods -n default"
}
get-contexts
Retrieves a list of available Kubernetes contexts:
{}
current-context
Gets the current Kubernetes context:
{}
set-context
Sets the current Kubernetes context:
{
"context": "minikube"
}
Security
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.
Requirements
- Go 1.23 or higher
- kubectl installed and in your PATH
- A valid kubeconfig file
License
MIT
Server Terkait
FFmpeg Micro
FFmpeg Micro MCP - Transcode videos in the cloud via n8n or Make, no server setup. Code: https://github.com/javidjamae/ffmpeg-micro-mcp/
RAD Security
Interact with the RAD Security platform which provides AI-powered security insights for Kubernetes and cloud environments.
Shopify MCP Server
Interact with Shopify store data such as products, customers, and orders using the GraphQL API.
Workday by CData
A read-only server for querying live Workday data using LLMs, powered by the CData JDBC Driver.
Remote MCP Server on Cloudflare
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support and Cloudflare KV integration for data storage.
Vulpes Spotify
Interact with Spotify to search for and play tracks using an AI assistant.
My MCP Server
A remote MCP server deployable on Cloudflare Workers without authentication.
Transistor
Manage podcasts, episodes, and view analytics on Transistor.fm.
GCP MCP Server
Manage and interact with Google Cloud Platform (GCP) resources through an AI assistant.
Tencent Cloud Live
An MCP server for interacting with the Tencent Cloud Live Streaming service API.