Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-k8s

一个用于Kubernetes的简单MCP服务器

article

README

🚀 mcp-server-k8s

这是一个简单的Kubernetes MCP服务器,可助力相关业务在Kubernetes环境中稳定运行。

点击查看相关内容

🚀 快速开始

💻 使用示例

基础用法

通过在~/Library/Application Support/Claude/claude_desktop_config.json中配置以下内容,并将目录替换为实际项目路径,您可以轻松地与Claude Desktop一起使用它:

{
  "mcpServers": {
    "k8s": {
        "command": "uv",
        "args": [
            "--directory",
            "/path/to/mcp-server-k8s",
            "run",
            "main.py"
        ]
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client