MCP.so
登录

Kubernetes MCP Server

@nearvitamin

关于 Kubernetes MCP Server

Model Context Protocol (MCP) server for Kubernetes and OpenShift containers, context, kubernetes, mcp, model, model-context-pr, openshift, protocol

基本信息

分类

云与基础设施

许可证

Apache-2.0 license

运行时

go

传输方式

stdio

发布者

nearvitamin

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "kubernetes-mcp-server-nearvitamin": {
      "command": "npx",
      "args": [
        "kubernetes-mcp-server@latest",
        "--help"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Kubernetes MCP Server?

A Kubernetes Model Context Protocol (MCP) server implementation with support for OpenShift. It enables AI agents to interact with Kubernetes clusters by performing CRUD operations on any resource, pod-specific actions (list, get, delete, logs, run), and viewing events.

How to use Kubernetes MCP Server?

Install via npx or download the latest binary from GitHub. Configure it as an MCP server in your client (e.g., Claude Desktop or Goose CLI) by adding the command npx -y kubernetes-mcp-server@latest to the client’s config. Optionally use --sse-port to run in Server-Sent Event (SSE) mode.

Key features of Kubernetes MCP Server

  • Automatically detects changes in Kubernetes configuration.
  • Perform CRUD operations on any Kubernetes resource.
  • Pod-specific operations: list, get, delete, logs, run.
  • View Kubernetes events in all or specific namespaces.
  • Supports both stdin/stdout and SSE transport modes.
  • Works with local .kube/config or in-cluster configuration.

Use cases of Kubernetes MCP Server

  • AI-assisted troubleshooting and automatic fixing of failed deployments.
  • Querying and modifying Kubernetes resources via natural language.
  • Viewing pod logs and events for diagnosis without manual kubectl commands.
  • Running container images in pods for testing or debugging.

FAQ from Kubernetes MCP Server

What operations does Kubernetes MCP Server support?

It supports CRUD (Create/Update, Get, List, Delete) on any Kubernetes resource, plus pod-specific actions like logs and run, and event viewing.

What are the runtime requirements?

Requires Node.js (to run via npx) or the platform-specific binary. A valid Kubernetes kubeconfig or in-cluster configuration is needed.

How does the server connect to a Kubernetes cluster?

It uses the default Kubernetes configuration from the local .kube/config file or in-cluster service account, detecting changes automatically.

What transport modes are available?

The server supports the default stdin/stdout MCP transport, and can be started in SSE mode using the --sse-port CLI option.

评论

云与基础设施 分类下的更多 MCP 服务器