k8s-cli

Discover and invoke kubectl-mcp-server tools with JSON or stdin payloads.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/spigell/my-agents --skill k8s-cli-spigell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-cli
Source: https://github.com/spigell/my-agents/tree/main/agents/shared/src/tools/ask_kubernetes_expert/skills/k8s-cli
Command: npx skills add https://github.com/spigell/my-agents --skill k8s-cli-spigell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you discover available kubectl-mcp-server tools and invoke them directly while quickly diagnosing why a Kubernetes MCP server might not be healthy.

Core Features & Use Cases

  • Server diagnostics with doctor: Run dependency and environment checks (e.g., kubectl, helm, kubeconfig validity, cluster connectivity) to resolve “can’t call tools” issues.
  • Tool discovery with tools and grep: List tools with descriptions, output tool schemas, and search tool names by pattern.
  • Direct tool invocation with call: Execute specific MCP tool calls by sending JSON arguments or stdin payloads for tasks like pods listing, scaling deployments, and installing Helm charts.
  • Operational introspection: Inspect server context, resource endpoints, and prompt catalog to choose the right action for troubleshooting and automation.

Quick Start

Tell the Skill to run kubectl-mcp-server doctor to check dependencies and server health, then list tools with descriptions to confirm the exact command names you can call.

Frequently Asked Questions about k8s-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list and search available kubectl-mcp-server tools?

List and search available kubectl-mcp-server tools by running the tools command with descriptions to output schemas, then use grep to filter tool names by pattern. This confirms exact tool names before invoking them.

Why can't I call Kubernetes MCP tools and how do I diagnose server health?

Diagnose Kubernetes MCP server health and resolve tool invocation failures by running the doctor command to check dependencies like kubectl, helm, kubeconfig validity, and cluster connectivity readiness.

How do I invoke Kubernetes MCP tools with JSON arguments from the command line?

Invoke Kubernetes MCP tools from the command line using the call command to execute specific tool calls by sending JSON arguments or stdin payloads for operations like listing pods and scaling deployments.

How do I inspect Kubernetes MCP server context and resource endpoints?

Inspect Kubernetes MCP server context and resource endpoints by running the context, info, and resources commands to introspect operational state and choose the right troubleshooting action.

What Kubernetes MCP server prompts are available for troubleshooting automation?

View available Kubernetes MCP server prompts for troubleshooting automation by running the prompts command to inspect the prompt catalog, which helps you choose the right action for your workflow.

Do I need kubectl and helm installed to use kubectl-mcp-server commands?

You need kubectl and helm installed to use kubectl-mcp-server commands, as the doctor command validates these dependencies along with kubeconfig validity and cluster connectivity to ensure server readiness.