WhiteCapData Dev logo

WhiteCapData Dev

Inspect and manage k3s or Kubernetes clusters through MCP with configurable read-only and namespace safeguards.

Install WhiteCapData Dev

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "whitecapdata-dev": {
      "command": "uvx",
      "args": [
        "whitecapdata-dev"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 10 tools correctly ().

Overview

WhiteCapData-Dev MCP server lets AI agents inspect and operate a k3s or Kubernetes cluster through the Kubernetes API. It uses an existing kubeconfig or an in-cluster service account, so it does not shell out to kubectl or require a separate backend. Read operations cover cluster health, pods, deployments, events, logs, and nodes; restart, scale, and pod deletion are guarded by read-only, namespace, and replica limits. Reach for it when an agent needs bounded cluster triage or routine operations in a homelab or development cluster.

Use cases

  • Inspect unhealthy pods and recent warning events
  • Review node readiness, capacity, and pressure
  • Read pod logs during cluster troubleshooting
  • Restart or scale allowlisted deployments
  • Delete a failed pod for controller-based recreation

Key features

  • Kubernetes API access through kubeconfig or in-cluster credentials
  • Cluster, pod, deployment, event, log, and node inspection
  • Read-only mode for blocking all mutations
  • Namespace allowlist for write operations
  • Bounded deployment scaling
  • MCP stdio transport

Tools10

What WhiteCapData Dev lets your agent do. Expand a tool for its parameters.

Verified live~1.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

0/96 checks healthy over the last 25d

What it can do

From the 10 tools this server returned when we ran it.

Can delete or modify data · 1Handles credentials · 1Makes network requests · 1Read-only tools · 9
Network at startup2 connections
Files written at startup10

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · whitecapdata-dev (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed10Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How WhiteCapData Dev works

What WhiteCapData-Dev MCP server does

WhiteCapData-Dev MCP server exposes Kubernetes and k3s cluster operations as MCP tools for agents such as Claude Code, Claude Desktop, and Cursor. It connects directly to the Kubernetes API using the kubeconfig selected by the process, or an in-cluster service account when run inside Kubernetes. The server can inspect cluster state without invoking kubectl.

Read tools provide several levels of operational visibility:

  • cluster_summary reports node and pod totals along with unhealthy pods.
  • list_pods lists pods, optionally scoped to one namespace, with unhealthy entries first.
  • list_deployments shows ready and desired replica counts.
  • list_events returns recent events with warnings prioritized.
  • pod_logs retrieves the tail of a pod's logs.
  • node_health reports node readiness, kubelet state, capacity, and pressure.
  • server_info shows the active context, read-only status, and mutation allowlist.

The write tools are restart_deployment, scale_deployment, and delete_pod. A deployment restart triggers a rollout restart. Scaling sets a deployment to a requested replica count, while pod deletion relies on the pod's controller to recreate it.

How it works

The WhiteCapData-Dev MCP server communicates over MCP using stdio. The process reads Kubernetes connection details from the normal kubeconfig setup, including the configured context, or uses in-cluster authentication when applicable. It then makes API calls directly against the target cluster.

Mutations are checked before an API request is sent. The read-only setting can reject all write tools. When writes are enabled, the target namespace must be included in the configured mutable namespace list unless the list uses *. Scaling is additionally limited to zero through the configured maximum replica count. Kubernetes RBAC remains an additional boundary: the identity represented by the kubeconfig or service account still determines which API operations are permitted.

Setup and configuration

Install with Python 3.11 or newer using either uvx whitecapdata-dev or pip install whitecapdata-dev. A reachable cluster and usable kubeconfig are required unless the process runs in-cluster with a service account.

The server accepts these optional environment variables:

  • HOMELAB_MCP_CONTEXT selects the kubeconfig context; the current context is the default.
  • HOMELAB_MCP_READONLY accepts 1 or true to disable mutations. Its default is 0.
  • HOMELAB_MCP_MUTABLE_NAMESPACES defines namespaces where writes are allowed. The default is default,apps,monitoring,ci; * permits all namespaces.
  • HOMELAB_MCP_MAX_REPLICAS sets the upper bound for scaling and defaults to 10.

It can also run in Docker with the kubeconfig mounted into the container. The documented container invocation starts in read-only mode.

Tools and capabilities

The WhiteCapData-Dev MCP server is suited to agent-assisted diagnosis: an agent can summarize health, inspect unhealthy pods, compare deployment readiness, review warning events, read recent logs, and examine node pressure in separate calls. It can then perform narrowly scoped recovery actions when configuration allows them.

Restarting a deployment, changing its replica count, or deleting a pod requires both mutation access and an allowed namespace. scale_deployment also enforces the configured replica ceiling. These controls are application-level checks and do not replace cluster RBAC.

Limitations and notes

The server does not deploy a backend service; it depends on access to the target Kubernetes API and the permissions of the selected identity. A missing, unreachable, or insufficiently authorized kubeconfig or service account will limit or prevent operations.

Write safety depends on the configured read-only flag, namespace list, and replica maximum. Setting the namespace allowlist to * broadens mutation scope, while read-only mode blocks every mutating tool. The project targets Python 3.11 or newer, and its tests use fakes and mocked APIs rather than requiring a live cluster.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about WhiteCapData Dev

WhiteCapData-Dev is an MCP server that connects AI agents to a Kubernetes or k3s cluster through kubeconfig or an in-cluster service account. Its main tools inspect cluster health, pods, deployments, events, logs, and nodes, and can restart, scale, or delete resources under safety controls.

Install it with `uvx whitecapdata-dev` or `pip install whitecapdata-dev`. The server requires Python 3.11 or newer, plus a reachable cluster and working kubeconfig unless it runs in-cluster with a service account.

Set `HOMELAB_MCP_READONLY=1` or `HOMELAB_MCP_READONLY=true`. This rejects every mutating tool while leaving read operations available.

Set `HOMELAB_MCP_MUTABLE_NAMESPACES` to a comma-separated list such as `default,apps,monitoring`. Mutating tools refuse namespaces outside that list; setting it to `*` allows all namespaces.

Yes. Cursor is named as a supported client in the setup documentation, and the README provides an MCP configuration using `uvx whitecapdata-dev`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWhiteCapData Dev AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/whitecapdata-dev?style=directory)](https://allmcps.com/mcp/whitecapdata-dev)
HTML Embed
<a href="https://allmcps.com/mcp/whitecapdata-dev"><img src="https://allmcps.com/api/badge/whitecapdata-dev?style=directory" alt="WhiteCapData Dev on AllMCPs" /></a>