Home/Directory/Infrastructure/Kubectl Server

Kubectl Server

@rohitg00 · github.com/rohitg00/kubectl-mcp-server

/ - A Model Context Protocol (MCP) server for Kubernetes that enables AI assistants like Claude, Cursor, and others to interact with Kubernetes clusters through natural language.

ClaimedInfrastructurestdiolocal auth
GitHub

Install one command

terminal
$ npx -y kubectl-mcp-server

Or add it with the Claude CLI: claude mcp add rohitg00-kubectl-mcp-server

Tools exposed 20 tools

get_pods
get_logs
get_pod_events
check_pod_health
exec_in_pod
cleanup_pods
get_pod_conditions
get_previous_logs
get_deployments
create_deployment
scale_deployment
kubectl_rollout
restart_deployment
get_statefulsets
get_daemonsets
get_jobs
get_replicasets
get_services
get_ingress
get_endpoints

Configuration claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "rohitg00-kubectl-mcp-server": {
      "command": "npx",
      "args": ["-y", "kubectl-mcp-server"],
      "env": {
        "NO_COLOR": "<your-no-color>",
        "MCP_AUTH_AUDIENCE": "<your-mcp-auth-audience>",
        "MCP_AUTH_REQUIRED_SCOPES": "<your-mcp-auth-required-scopes>"
      }
    }
  }
}

Paste under mcpServers in your config, then restart Claude Desktop. For Claude Code, reference this server in your project's CLAUDE.md.

Related

Similar servers

More in Infrastructure
Compare
@cloudflare

Manage Workers, KV, R2, D1 and DNS. Deploy and inspect edge resources from a remote MCP endpoint.

InfrastructureSSE auth
6.3k2w ago7 toolscloud
$npx -y mcp-remote https://observability.mcp.cloudflare.com/sse
Compare
@docker

List, run, stop and inspect containers and images via the local Docker engine socket.

Infrastructurestdio no-auth
5.5k2mo ago6 toolslocal
$npx -y docker-mcp
Compare
@sentry

Pull issue details, stack traces and event context from Sentry to debug production errors in place.

InfrastructureHTTP auth
5.2k3w ago5 toolscloud
$npx -y @sentry/mcp-server@latest