Kubernetes MCP Server by Blank Cut

Kubernetes MCP Server by Blank Cut

kubernetes-mcp-server-blankcut•byblankcut

A Go server exposing Kubernetes cluster reads as MCP tools, also offering a REST API for Claude-based analysis.

License: MIT•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Exposes tools for listing namespaces, listing and getting resources, fetching events, and mapping namespace topology.
  • •Provides Argo CD application listing and retrieval tools with sync and health status.
  • •Offers a troubleshooting tool returning a resource's state, events, related objects, deployment history, and detected issues.
  • •Returns facts without calling a model for MCP tool calls, and never returns Secret values.

BEST FOR

  • •Investigating failing Kubernetes resources from an MCP-capable client.
  • •Understanding what exists in a namespace and how resources relate and are doing.
  • •Reviewing Argo CD application sync and health status.

ABOUT KUBERNETES-MCP-SERVER-BLANKCUT

Kubernetes MCP Server by Blank Cut is cataloged as an MCP server attributed to blankcut. A Go server exposing Kubernetes cluster reads as MCP tools, also offering a REST API for Claude-based analysis. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Kubernetes MCP Server by Blank Cut are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the MCP endpoint use the same authentication as the REST API?

Yes, it uses the same API key, sent as X-API-Key or Authorization Bearer.

Does an MCP tool call cost model usage?

No, MCP tool calls make no model call; the client receives collected facts and reasons for itself.

Can tools make changes to Kubernetes, Argo CD, or GitLab?

No, every tool only reads.

Upstream README

View this exact version on GitHub

README.md · d8617f7ca0f4 · Fetched 2026-11-13 10:15:53 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Blank Cut

Claude Kubernetes MCP Server

CI Release Docker Pulls Docker Image Size Go Report Card License GitHub release

A Go server that answers questions about a Kubernetes cluster with Claude, using context from the Kubernetes API and, optionally, ArgoCD and GitLab.

Documentation: docs.blankcut.com/kubernetes-mcp-server — quick start, installation, every config key and endpoint, and troubleshooting.

What it does

  • Reads the cluster — namespaces, any resource type (custom resources too), events, and a per-namespace map of resources, relationships and health.
  • Finds problems without Claude — Warning events and failing CronJobs (with the end of the failed run's log) become a list of issues in seconds (?narrative=false).
  • Asks Claude about a resource, a whole namespace, or a GitLab merge request, with the context it collected.
  • Watches its own ArgoCD access — it checks every 60 seconds that its token can still read Applications, so a lost RBAC grant shows up as an error rather than an empty list.
  • Authenticates to Claude with an API key or Workload Identity Federation, so it can run without a long-lived key.
  • Reports its model usage as OpenTelemetry spans, if you give it an OTLP endpoint: one span per Claude call, with the model and the token counts. See Report model usage.

It only reads: nothing it does changes Kubernetes, ArgoCD or GitLab.

It is a REST API, and since 1.5.0 also a Model Context Protocol server: an MCP client can connect to /mcp and call its cluster reads as tools. See Connect an MCP client.

Connect an MCP client

The server speaks MCP over Streamable HTTP at /mcp, with the same API key as the REST API (X-API-Key, or Authorization: Bearer). In Claude Code:

claude mcp add --transport http kubernetes https://your-server.example.com/mcp \
  --header "X-API-Key: $KUBERNETES_MCP_API_KEY"

Any client that supports Streamable HTTP with a custom header connects the same way. There is no stdio transport yet, so a client that can only launch a local process (Claude Desktop without a remote connector) can't use it directly.

ToolWhat it returns
troubleshoot_resourceOne resource's state, events, related objects, deployment history, and the issues the server's own checks found. Start here when something is failing.
list_namespacesThe cluster's namespaces.
list_resourcesResources of one kind, each with a one-line status.
get_resourceOne resource's full object.
get_eventsRecent events in a namespace, optionally for one resource.
namespace_topologyWhat exists in a namespace, how it relates, and each resource's health.
list_argocd_applications, get_argocd_applicationArgo CD applications and their sync and health status.

Every tool only reads. Two things differ from the REST API:

  • No tool calls Claude. The REST analysis endpoints send what they collect to a model and return its answer. An MCP client is a model, so it gets the collected facts and reasons for itself, and a tool call costs you nothing in model usage.
  • Secret values are never returned. get_resource on a Secret keeps the key names and replaces each value. The chart's default role can't read Secrets at all; this covers a server you run with wider access.

Quick start

Download a release binary (Linux and macOS, amd64 and arm64) from Releases, write a config.yaml:

server:
  address: ":8080"
  writeTimeout: 300
  auth:
    apiKey: "${API_KEY}"
kubernetes:
  inCluster: false          # uses $KUBECONFIG or ~/.kube/config
claude:
  apiKey: "${CLAUDE_API_KEY}"
  baseURL: "https://api.anthropic.com"
  modelID: "claude-sonnet-5"
  maxTokens: 8192

and run it:

export API_KEY=$(openssl rand -hex 32) CLAUDE_API_KEY=sk-ant-...
./mcp-server-darwin-arm64 --config config.yaml

curl -s -H "X-API-Key: $API_KEY" \
  "http://localhost:8080/api/v1/namespaces/default/analysis?narrative=false"

The quick start walks through it, including checksum verification.

Install

Method
Helmhelm install kubernetes-mcp-server ./helm/kubernetes-mcp-server --set secrets.apiKey=... --set secrets.claudeApiKey=... from a checkout of a release tag. See Installation.
Dockerblankcut/kubernetes-mcp-server (linux/amd64, linux/arm64); mount a config at /app/config.yaml.
BinaryReleases, with checksums.txt.
SourceGo 1.26+: cd kubernetes-claude-mcp && go build -o mcp-server ./cmd/server.

Report model usage

Each call the server makes to Claude can be reported as one OpenTelemetry span, in the GenAI semantic conventions, to any OTLP/HTTP receiver: an OpenTelemetry Collector, or a backend that takes OTLP directly. It is off until an endpoint is set, with the standard variables:

export OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318        # /v1/traces is appended
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer $OTLP_TOKEN" # if the receiver wants one

A span says which model was asked and which answered, how many tokens the call used (gen_ai.usage.input_tokens, which includes cached tokens, gen_ai.usage.output_tokens, and the cache read and write counts), how long it took, whether it failed (error.type), and which analysis it was for (kubernetes_mcp_server.analysis: resource, namespace, troubleshoot or merge_request). It never carries a prompt, a response, or anything read from the cluster.

Variable
OTEL_EXPORTER_OTLP_TRACES_ENDPOINTThe full URL to send to, used as given. Wins over the next one.
OTEL_EXPORTER_OTLP_ENDPOINTA base URL; /v1/traces is appended.
OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_TRACES_HEADERSname=value pairs, comma-separated, sent with every export. Values are never logged.
OTEL_EXPORTER_OTLP_TIMEOUT, OTEL_EXPORTER_OTLP_TRACES_TIMEOUTMilliseconds for one export. Default 5000.
OTEL_SERVICE_NAME, OTEL_RESOURCE_ATTRIBUTESHow the server describes itself. service.name defaults to kubernetes-mcp-server; in a pod, k8s.namespace.name and k8s.pod.name are filled in unless you set them.
OTEL_SDK_DISABLEDtrue turns reporting off whatever else is set.

Reporting cannot slow or fail a request: spans are queued and sent in the background, and if the receiver is down they are dropped, with at most one warning a minute in the log. Spans are sent as OTLP/HTTP JSON; OTLP over gRPC (OTEL_EXPORTER_OTLP_PROTOCOL=grpc, port 4317) is not supported, so point it at the receiver's HTTP port. MCP tool calls make no model call and report nothing.

With the Helm chart, set the variables through extraEnv; values.yaml shows how to take the token from a Secret.

Development

cd kubernetes-claude-mcp
go test ./...
go run ./cmd/server --config config.yaml --log-level debug

A Postman collection is in postman/. Changes are listed in CHANGELOG.md; contributions are welcome — see CONTRIBUTING.md.

Donation

Please contribute to our coffee fund to help us continue to do great things: Buy Me Coffee

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Kubernetes MCP Server by Blank Cut from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/kubernetes-mcp-server-blankcut)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps