MCP.so
登录

MCP Kubernetes Server

@MCP-Mirror

基本信息

分类

云与基础设施

传输方式

stdio

作者

MCP-Mirror

关于 MCP Kubernetes Server

Mirror of

MCP Kubernetes Server 配置

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

{
  "mcpServers": {
    "abhijeetka_mcp-k8s-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@abhijeetka/mcp-k8s-server",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Kubernetes Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Kubernetes Server?

MCP Kubernetes Server is an MCP (Model Context Protocol) server that provides control over Kubernetes clusters through interactions with LLMs. It wraps kubectl commands to offer a simple interface for managing Kubernetes resources, enabling seamless interaction between language models and Kubernetes operations.

How to use MCP Kubernetes Server?

Install via Smithery or configure the MCP server in your Claude Desktop config (e.g., using uv to run kubernetes.py). The server exposes tools that LLMs can call using natural language prompts such as "Create a new nginx deployment with 3 replicas."

Key features of MCP Kubernetes Server

  • Wraps kubectl commands for common Kubernetes operations.
  • Supports create, scale, update, delete, and inspect resources.
  • Includes port-forward, expose, label, and annotation management.
  • Provides context switching and namespace-aware operations.
  • Designed for natural language interaction through LLMs.

Use cases of MCP Kubernetes Server

  • Manage deployments, pods, services, and other resources via conversational prompts.
  • Automate cluster operations without memorizing kubectl syntax.
  • Enable LLMs to maintain context across multi-step Kubernetes tasks.
  • Validate and execute resource changes with reduced command complexity.

常见问题

1

What do I need to run the server?

You need Python 3.x, the MCP framework, and Kubernetes cluster access configured via `kubectl`.

2

How does the server interact with LLMs?

Each tool function is decorated with `@mcp.tool()`, making them accessible to LLMs through the Model Context Protocol.

3

Can I use it with Claude Desktop?

Yes. Add a JSON entry to your Claude Desktop config with the appropriate command (e.g., `uv run kubernetes.py`).

4

What if I want to install it automatically?

Run `npx -y @smithery/cli install @abhijeetka/mcp-k8s-server --client claude` via Smithery.

5

Are there any security considerations?

Yes. Ensure proper access controls on your cluster, run the MCP server in a secure environment, and authenticate/authorize API access.

评论

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