MCPVault

list_resources

MCP tool from Mkp by StacklokLabs

Lists Kubernetes resources of a specific type.

How to use it

list_resources is exposed by the Mkp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_resources tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL MKP LISTING

Other tools in Mkp (27)

apply_resource

Applies (creates or updates) a Kubernetes resource.

body

(required): Body to post to the resource

command

(required): Command to execute, either as a string or an array of

container

Specify which container to get logs from

exclude_annotation_keys

List of annotation keys to exclude from output

get_resource

Get a Kubernetes resource or its subresource.

group

API group (e.g., apps, networking.k8s.io)

include_annotation_keys

List of annotation keys to include in output (if

include_annotations

Whether to include annotations in the output (default:

label_selector

Kubernetes label selector for filtering resources (optional)

limitBytes

Maximum number of bytes to return

manifest

(required): Resource manifest

name

(required): Name of the resource to get

namespace

Namespace (required for namespaced resources)

parameters

Optional parameters for the request (see examples below)

post_resource

Posts to a Kubernetes resource or its subresource, particularly useful for

previous

Get logs from previous container instance (true/false)

resource

(required): Resource name (e.g., deployments, services)

resource_type

(required): Type of resource to get (clustered or namespaced)

resourceVersion

When specified, shows the resource at that particular

sinceSeconds

Only return logs newer than a relative duration in seconds

sinceTime

Only return logs after a specific time (RFC3339 format)

subresource

Subresource to get (e.g., status, scale, logs)

tailLines

Number of lines to return from the end of the logs

timeout

(optional): Timeout in seconds (defaults to 15 seconds, maximum 60

timestamps

Include timestamps on each line (true/false)

version

(required): API version (e.g., v1, v1beta1)