kubectl MCP Plugin
About
An MCP server for kubectl, enabling AI assistants to interact with Kubernetes clusters through a standardized protocol.
Details
- Author
- dims
- Categories
- Cloud Service, Other, Infrastructure
Jump to
Setup
Install kubectl MCP Plugin in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/dims/kubectl-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Using the kubectl MCP Plugin with Amazon Q Chat
To use the kubectl MCP plugin with Amazon Q Chat, you need to register it in the Amazon Q configuration file.
Create or edit the file at$HOME/.aws/amazonq/mcp.jsonwith the following content:
{ "mcpServers": { "kubectl": { "command": "kubectl-mcp", "args": ](https://github.com/modelcontextprotocol)[] } } }
This configuration tells Amazon Q Chat to:
- Register a server named "kubectl"
- Use thekubectl-mcpcommand to start the MCP server
- Make all kubectl commands available as tools with the prefixkubectl___
- Seamless Integration: AI assistants can execute kubectl commands directly
- Structured Responses: Commands return structured data that can be parsed by AI models
- Discoverability: AI assistants can discover available commands and their parameters
- Context-Aware: Provides rich context about Kubernetes resources
Move the binary to a location in your PATH:
To quickly test the MCP server, you can run the following command in your terminal:
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | kubectl-mcp | jq
- Monitor background operations for long-running commands. Commands such as resource creation have a 45-second timeout for command responses but the processes continue in background.
- For complex kubectl operations, consider using the plugin in combination with kubectl apply -f for declarative resource management.
A server for Kubernetes CLI tools like kubectl, istioctl, helm, and argocd, supporting multi-cluster management via dynamic kubeconfig.
Execute Kubernetes commands using kubectl from any MCP-compatible client. Requires a valid kubeconfig file.
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.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




