1. Conduid
  2. Cloud
  3. Kubernetes MCP Server
MCP server · Cloud

Kubernetes MCP Server

A GitOps Model Context Protocol (MCP) Server.

Unclaimed MIT cloud
59Fair

Scored yesterday · breakdown

About Kubernetes MCP Server

Kubernetes MCP Server is an MCP server published by Blankcut in the Cloud category: a GitOps Model Context Protocol (MCP) Server.

The repository has 9 stars and 2 forks, with the last commit 17 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/Blankcut/kubernetes-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Kubernetes MCP Server

Powered by Claude · Grounded in docs

I know everything about Kubernetes MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.3.0v1.3.0 · 30 Sep 2026Docker Images Multi-architecture Docker images are available: docker pull docker.io/blankcut/kubernetes-mcp-server:v1.3.0 Supported architectures: `linux/amd64` `linux/arm64` Installation Using Docker docker run -d \ p 8080:8080 \ v…
v1.2.2v1.2.2 · 30 Sep 2026Docker Images Multi-architecture Docker images are available: docker pull docker.io/blankcut/kubernetes-mcp-server:v1.2.2 Supported architectures: `linux/amd64` `linux/arm64` Installation Using Docker docker run -d \ p 8080:8080 \ v…
v1.2.1v1.2.1 · 29 Sep 2026Docker Images Multi-architecture Docker images are available: docker pull docker.io/blankcut/kubernetes-mcp-server:v1.2.1 Supported architectures: `linux/amd64` `linux/arm64` Installation Using Docker docker run -d \ p 8080:8080 \ v…
v1.2.0v1.2.0 · 29 Sep 2026Docker Images Multi-architecture Docker images are available: docker pull docker.io/blankcut/kubernetes-mcp-server:v1.2.0 Supported architectures: `linux/amd64` `linux/arm64` Installation Using Docker docker run -d \ p 8080:8080 \ v…
v1.1.2v1.1.2 · 8 Sep 2026Docker Images Multi-architecture Docker images are available: docker pull docker.io/blankcut/kubernetes-mcp-server:v1.1.2 Supported architectures: `linux/amd64` `linux/arm64` Installation Using Docker docker run -d \ p 8080:8080 \ v…

README

Claude Kubernetes MCP Server

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

A Model Context Protocol (MCP) server for Kubernetes cluster management with ArgoCD and GitLab integration.

This repository contains the Claude Kubernetes MCP (Model Context Protocol) server, built in Go. The server integrates with ArgoCD, GitLab, Claude AI, and Kubernetes to enable advanced control and automation of Kubernetes environments.

See Our Documentation Here

Table of Contents


Overview

This server is designed to orchestrate Kubernetes workloads using Claude AI, GitLab, ArgoCD, and Vault. It exposes a REST API that allows programmatic interaction with these systems, driven by a configured config.yaml and authenticated using an API key.

Prerequisites

  • Go 1.20+
  • Docker
  • Kubernetes cluster & valid ~/.kube/config
  • EKS cluster with AWS_PROFILE set locally
  • ArgoCD credentials
  • GitLab personal access token
  • Claude API key (Anthropic)
  • Vault credentials (optional, depending on use)

Setup Instructions

1. Clone the Repository

git clone https://github.com/blankcut/kubernetes-mcp-server.git
cd kubernetes-mcp-server

2. Export Required Environment Variables

Export credentials for ArgoCD, GitLab, and Claude:

export ARGOCD_USERNAME="argocd-username"
export ARGOCD_PASSWORD="argocd-password"
export GITLAB_TOKEN="gitlab-token"
export CLAUDE_API_KEY="claude-api-key"
export VAULT_TOKEN="optional-if-using-vault"

Ensure a kubeconfig is available:

export KUBECONFIG=~/.kube/config

3. Configure config.yaml

Update kubernetes-claude-mcp/config.yaml with credentials and server preferences:

server:
  address: ":8080"
  readTimeout: 30
  writeTimeout: 60
  auth:
    apiKey: ""${API_KEY}"" 

kubernetes:
  kubeconfig: ""
  inCluster: false
  defaultContext: ""
  defaultNamespace: "default"

argocd:
  url: "http://example.argocd.com"
  authToken: ""
  username: "${ARGOCD_USERNAME}"
  password: "${ARGOCD_PASSWORD}"
  insecure: true

gitlab:
  url: "https://gitlab.com"
  authToken: "${AUTH_TOKEN}"
  apiVersion: "v4"
  projectPath: ""${PROJECT_PATH}""

claude:
  apiKey: "${API_KEY}"
  baseURL: "https://api.anthropic.com"
  modelID: "claude-sonnet-5"
  maxTokens: 8192

You can use the provided Go templates or environment variable interpolation method.

4. Add API Key for Postman

Please ensure a config.yaml includes an apiKey. This will be used to authenticate requests in Postman or any external client.


Running Locally

cd kubernetes-claude-mcp
go run ./cmd/server/main.go

With Debug Logging:

LOG_LEVEL=debug go run ./cmd/server/main.go --config config.yaml

Server will start and bind to the configured port in config.yaml (default: 8080).


Building and Running with Docker

1. Build the Image

cd kubernetes-claude-mcp
docker build -t claude-mcp-server -f Dockerfile .

2. Run the Container (second build option included)

cd kubernetes-claude-mcp
docker-compose build
docker-compose up -d

Production Deployment

A Helm chart is included in the repository for Kubernetes deployment:

1. Navigate to the Helm Chart Directory

cd kubernetes-claude-mcp/deployments/helm

2. Deploy with Helm

Update values.yaml with appropriate values and run:

helm install claude-mcp .

To upgrade:

helm upgrade claude-mcp .

Please ensure secrets and config maps are properly mounted and secured in the cluster.


API Documentation

Below are the primary endpoints exposed by the MCP server. All requests require the X-API-Key header:

General

  • Health Check
    • GET /api/v1/health

Kubernetes

  • List Namespaces
    • GET /api/v1/namespaces
  • List Resources
    • GET /api/v1/resources/{kind}?namespace={ns}
  • Get Specific Resource
    • GET /api/v1/resources/{kind}/{name}?namespace={ns}
  • Get Events for a Resource
    • GET /api/v1/events?namespace={ns}&resource={kind}&name={name}

ArgoCD

  • List Applications
    • GET /api/v1/argocd/applications

Claude MCP Endpoints

  • Analyze Resource
    • POST /api/v1/mcp/resource
  • Troubleshoot Resource
    • POST /api/v1/mcp/troubleshoot
  • Commit Analysis (GitLab)
    • POST /api/v1/mcp/commit
  • Generic MCP Request
    • POST /api/v1/mcp

All POST endpoints accept a JSON payload containing fields such as:

{
  "resource": "pod",
  "name": "example-pod",
  "namespace": "default",
  "query": "What’s wrong with this pod?"
}

Postman Collection

A ready-to-use Postman collection will be available soon.

Donation

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

License

This project is licensed under the MIT License.


Contributing

Documentation will be expanded soon. If you’d like to contribute, feel free to open a pull request or file an issue!

README fetched from the repository yesterday. The original is authoritative.

Questions

About Kubernetes MCP Server

How do I install Kubernetes MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Kubernetes MCP Server safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kubernetes MCP Server still maintained?

Yes — the latest release is v1.3.0 (30 Sep 2026), and the last commit was 17 days ago. The repository has 9 stars and 4 open issues.