Kubectl MCP Server
An MCP server that enables AI assistants to interact with Kubernetes clusters via kubectl operations. It allows users to control Kubernetes infrastructure through natural language conversations, supporting tasks like debugging crashed pods, deploying applications, optimizing costs, auditing security, and managing Helm charts.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Debug crashed pods using logs and events
- Deploy applications with best practices
- Audit security across all namespaces
- Optimize resource costs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp/kubectl-mcp-server@sha256:a6bf3087709561ac97952c23ac0ed2aa1086292a9700b80a9c6b80ce41bd8a65
{
"transport": "stdio",
"identifier": "mcp/kubectl-mcp-server@sha256:a6bf3087709561ac97952c23ac0ed2aa1086292a9700b80a9c6b80ce41bd8a65",
"registryType": "oci",
"registryBaseUrl": "https://registry-1.docker.io"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
check_pod_health
{
"type": "",
"required": null,
"properties": null
}create_deployment
{
"type": "",
"required": null,
"properties": null
}delete_resource
{
"type": "",
"required": null,
"properties": null
}get_api_resources
{
"type": "",
"required": null,
"properties": null
}get_cluster_roles
{
"type": "",
"required": null,
"properties": null
}get_configmaps
{
"type": "",
"required": null,
"properties": null
}get_current_context
{
"type": "",
"required": null,
"properties": null
}get_deployments
{
"type": "",
"required": null,
"properties": null
}get_events
{
"type": "",
"required": null,
"properties": null
}get_logs
{
"type": "",
"required": null,
"properties": null
}get_namespaces
{
"type": "",
"required": null,
"properties": null
}get_nodes
{
"type": "",
"required": null,
"properties": null
}get_pod_events
{
"type": "",
"required": null,
"properties": null
}get_pods
{
"type": "",
"required": null,
"properties": null
}get_rbac_roles
{
"type": "",
"required": null,
"properties": null
}get_resource_usage
{
"type": "",
"required": null,
"properties": null
}get_secrets
{
"type": "",
"required": null,
"properties": null
}get_services
{
"type": "",
"required": null,
"properties": null
}health_check
{
"type": "",
"required": null,
"properties": null
}install_helm_chart
{
"type": "",
"required": null,
"properties": null
}kubectl_explain
{
"type": "",
"required": null,
"properties": null
}port_forward
{
"type": "",
"required": null,
"properties": null
}scale_deployment
{
"type": "",
"required": null,
"properties": null
}switch_context
{
"type": "",
"required": null,
"properties": null
}uninstall_helm_chart
{
"type": "",
"required": null,
"properties": null
}upgrade_helm_chart
{
"type": "",
"required": null,
"properties": null
}Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"kubectl-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/kubectl-mcp-server@sha256:a6bf3087709561ac97952c23ac0ed2aa1086292a9700b80a9c6b80ce41bd8a65"
]
}
}
}Cline
{
"mcpServers": {
"kubectl-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/kubectl-mcp-server@sha256:a6bf3087709561ac97952c23ac0ed2aa1086292a9700b80a9c6b80ce41bd8a65"
]
}
}
}VS Code
{
"servers": {
"kubectl-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/kubectl-mcp-server@sha256:a6bf3087709561ac97952c23ac0ed2aa1086292a9700b80a9c6b80ce41bd8a65"
]
}
}
}Claude Desktop
{
"mcpServers": {
"kubectl-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/kubectl-mcp-server@sha256:a6bf3087709561ac97952c23ac0ed2aa1086292a9700b80a9c6b80ce41bd8a65"
]
}
}
}Let your agent find its tools
Find servers like Kubectl MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.