Skip to main content
Glama

k8s-pilot

by bourbonkk

list_namespaces

Retrieve a JSON list of all namespaces within a specified Kubernetes cluster using the k8s-pilot MCP server. Simplify cluster management by accessing namespace details directly.

Instructions

List all namespaces in the Kubernetes cluster.

Args: context_name: The Kubernetes context name

Returns: JSON string containing basic information about all namespaces

Input Schema

NameRequiredDescriptionDefault
context_nameYes

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" } }, "required": [ "context_name" ], "title": "list_namespacesArguments", "type": "object" }

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/bourbonkk/k8s-pilot'

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