Kubernetes Mcp

Created By
HSn0918a year ago
Overview

what is Kubernetes-MCP?

Kubernetes-MCP is a Model Capable Protocol (MCP) server implementation designed in Go for interacting with Kubernetes clusters, allowing MCP-compatible clients to perform Kubernetes operations through defined tools.

how to use Kubernetes-MCP?

To use Kubernetes-MCP, you can start the server using standard I/O or Server-Sent Events (SSE) transport methods. You can also build it from source or use Docker to run the server.

key features of Kubernetes-MCP?

  • Implements the mcp-go library for MCP functionality.
  • Interacts with Kubernetes clusters using the controller-runtime client.
  • Supports multiple transport methods (stdio and SSE).
  • Provides human-readable text and structured JSON output.
  • Implements various Kubernetes API groups for resource management.

use cases of Kubernetes-MCP?

  1. Managing Kubernetes resources like Pods, Deployments, and Services.
  2. Automating Kubernetes operations through MCP-compatible clients.
  3. Facilitating cluster information retrieval and resource management.

FAQ from Kubernetes-MCP?

  • What programming language is Kubernetes-MCP written in?

Kubernetes-MCP is implemented in Go.

  • How can I run Kubernetes-MCP?

You can run it using Docker or build it from source using Go.

  • What transport methods does Kubernetes-MCP support?

It supports standard I/O and Server-Sent Events (SSE) for communication.

Server Config

{
  "mcpServers": {
    "kubernetes-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-p",
        "8080:8080",
        "-v",
        "~/.kube:/root/.kube",
        "kubernetes-mcp:latest",
        "server",
        "--transport=sse"
      ],
      "env": {
        "KUBECONFIG": "/root/.kube/config"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
HSn0918
Star
-
Language
-
License
-

Recommend Servers

View All
Gpt Scrambler

2 hours ago
Alloy

15 hours ago