Skip to main content
Glama

list-crds

List Kubernetes custom resource definitions to discover and manage extended API resources in your cluster.

Instructions

List Kubernetes custom resource definitions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'list-crds' tool. It executes the kubectl command 'kubectl get crds -o wide' using execAsync and returns the output as text content.
    const cmd = `kubectl get crds -o wide`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "No custom resource definitions found" }] }; }
  • server.js:957-963 (registration)
    Registration of the 'list-crds' tool in the tools array, which is returned by the ListToolsRequestHandler. Includes the tool name, description, and empty input schema.
    name: "list-crds", description: "List Kubernetes custom resource definitions", inputSchema: { type: "object", properties: {} } },
  • Input schema for the 'list-crds' tool, which expects no parameters (empty properties).
    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