Skip to main content
Glama

Kubectl MCP Tool

test_core.py312 B
# Verify pod state in Kubernetes is_valid, state = validate_kubernetes_state("pod", pod_name, namespace) assert is_valid, f"Failed to get pod state: {state}" assert state["kind"] == "Pod", "Expected resource kind to be 'Pod'" assert state["metadata"]["name"] == pod_name, f"Expected pod name to be '{pod_name}'"

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/rohitg00/kubectl-mcp-server'

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