We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/containers/kubernetes-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
view-current-config.yaml•916 B
kind: Task
apiVersion: mcpchecker/v1alpha2
metadata:
name: "view-current-config"
difficulty: easy
spec:
requires:
- extension: kubernetes
setup:
# No setup needed - working with existing kubeconfig
verify:
- kubernetes.getCurrentContext:
# Returns: context (current context name)
- kubernetes.viewConfig:
minify: true
# This operation returns the kubeconfig as YAML
# With minify: true, only shows current context and its dependencies
# Returns:
# - config: the kubeconfig YAML content
- llmJudge:
contains: "{steps.kubernetes.getCurrentContext.context}"
# Validates the agent mentioned the current context name from the config
# This proves they actually read/showed the configuration
cleanup:
# No cleanup needed - read-only operation
prompt:
inline: Show me my current Kubernetes configuration