Skip to main content
Glama

cluster-info

Retrieve essential Kubernetes cluster details including nodes, versions, and status to monitor infrastructure health and configuration.

Instructions

Get cluster information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'cluster-info' tool. It runs the 'kubectl cluster-info' command using execAsync and returns the standard output as text content in the MCP response format.
    const cmd = `kubectl cluster-info`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "Unable to get cluster info" }] }; }
  • The tool schema definition for 'cluster-info', including name, description, and empty input schema. This is part of the tools array returned by ListToolsRequestHandler.
    name: "cluster-info", description: "Get cluster information", inputSchema: { type: "object", properties: {} } },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thekaranpargaie/kube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server