AgentHubAgentHub

kubeview

MCP ServerMCP Registry官方收录

io.github.mikhae1/kubeview · v1.9.0

Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.

概览

kubeview 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "kubeview": {
      "command": "npx",
      "args": [
        "-y",
        "kubeview-mcp"
      ]
    }
  }
}

环境变量

KUBECONFIG可选

Path to kubeconfig file; defaults to ~/.kube/config if unset.

MCP_TRANSPORT可选

Transport mode: 'stdio' (default) or 'http'. The published package metadata still targets stdio by default.

MCP_MODE可选

Server mode: 'all' (default), 'code', or 'tools'. Controls which features are enabled.

MCP_LOG_LEVEL可选

Logging level: 'error', 'warn', 'info' (default), or 'debug'.

MCP_KUBE_CONTEXT可选

Kubernetes context name to use. If unset, uses the current context from kubeconfig.

MCP_K8S_SKIP_TLS_VERIFY可选

Skip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production.

MCP_HIDE_SENSITIVE可选

Enable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses.

MCP_TIMEOUT可选

Default timeout in milliseconds for operations. If unset, uses plugin-specific defaults.

MCP_HTTP_HOST可选

HTTP bind host when MCP_TRANSPORT=http. Defaults to 127.0.0.1.

MCP_HTTP_PORT可选

HTTP port when MCP_TRANSPORT=http. Defaults to 3000.

MCP_HTTP_PATH可选

HTTP endpoint path when MCP_TRANSPORT=http. Defaults to /mcp.

MCP_HTTP_STATELESS可选

Disable session IDs in HTTP mode. Set to 'true' or '1' for stateless request handling.

MCP_HTTP_JSON_RESPONSE可选

Prefer JSON responses over SSE in HTTP mode. Set to 'true' or '1' to enable.

MCP_ALLOWED_HOSTS可选

Comma-separated Host allowlist for HTTP mode. Required when binding to 0.0.0.0 or ::.

MCP_ALLOWED_ORIGINS可选

Comma-separated Origin allowlist for HTTP mode.

MCP_DISABLE_KUBERNETES_PLUGIN可选

Disable Kubernetes plugin. Set to 'true' or '1' to disable.

MCP_DISABLE_HELM_PLUGIN可选

Disable Helm plugin. Set to 'true' or '1' to disable.

MCP_DISABLE_ARGO_PLUGIN可选

Disable Argo Workflows plugin. Set to 'true' or '1' to disable.

MCP_DISABLE_ARGOCD_PLUGIN可选

Disable Argo CD plugin. Set to 'true' or '1' to disable.

相关资源

统一 Manifest

{
  "id": "io.github.mikhae1/kubeview",
  "type": "mcp-server",
  "version": "1.9.0",
  "displayName": "kubeview",
  "description": "Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.",
  "repository": {
    "url": "https://github.com/mikhae1/kubeview-mcp",
    "source": "github"
  },
  "homepage": "https://github.com/mikhae1/kubeview-mcp",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "kubeview-mcp",
        "version": "1.9.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "KUBECONFIG",
            "description": "Path to kubeconfig file; defaults to ~/.kube/config if unset."
          },
          {
            "name": "MCP_TRANSPORT",
            "description": "Transport mode: 'stdio' (default) or 'http'. The published package metadata still targets stdio by default."
          },
          {
            "name": "MCP_MODE",
            "description": "Server mode: 'all' (default), 'code', or 'tools'. Controls which features are enabled."
          },
          {
            "name": "MCP_LOG_LEVEL",
            "description": "Logging level: 'error', 'warn', 'info' (default), or 'debug'."
          },
          {
            "name": "MCP_KUBE_CONTEXT",
            "description": "Kubernetes context name to use. If unset, uses the current context from kubeconfig."
          },
          {
            "name": "MCP_K8S_SKIP_TLS_VERIFY",
            "description": "Skip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production."
          },
          {
            "name": "MCP_HIDE_SENSITIVE",
            "description": "Enable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses."
          },
          {
            "name": "MCP_TIMEOUT",
            "description": "Default timeout in milliseconds for operations. If unset, uses plugin-specific defaults."
          },
          {
            "name": "MCP_HTTP_HOST",
            "description": "HTTP bind host when MCP_TRANSPORT=http. Defaults to 127.0.0.1."
          },
          {
            "name": "MCP_HTTP_PORT",
            "description": "HTTP port when MCP_TRANSPORT=http. Defaults to 3000."
          },
          {
            "name": "MCP_HTTP_PATH",
            "description": "HTTP endpoint path when MCP_TRANSPORT=http. Defaults to /mcp."
          },
          {
            "name": "MCP_HTTP_STATELESS",
            "description": "Disable session IDs in HTTP mode. Set to 'true' or '1' for stateless request handling."
          },
          {
            "name": "MCP_HTTP_JSON_RESPONSE",
            "description": "Prefer JSON responses over SSE in HTTP mode. Set to 'true' or '1' to enable."
          },
          {
            "name": "MCP_ALLOWED_HOSTS",
            "description": "Comma-separated Host allowlist for HTTP mode. Required when binding to 0.0.0.0 or ::."
          },
          {
            "name": "MCP_ALLOWED_ORIGINS",
            "description": "Comma-separated Origin allowlist for HTTP mode."
          },
          {
            "name": "MCP_DISABLE_KUBERNETES_PLUGIN",
            "description": "Disable Kubernetes plugin. Set to 'true' or '1' to disable."
          },
          {
            "name": "MCP_DISABLE_HELM_PLUGIN",
            "description": "Disable Helm plugin. Set to 'true' or '1' to disable."
          },
          {
            "name": "MCP_DISABLE_ARGO_PLUGIN",
            "description": "Disable Argo Workflows plugin. Set to 'true' or '1' to disable."
          },
          {
            "name": "MCP_DISABLE_ARGOCD_PLUGIN",
            "description": "Disable Argo CD plugin. Set to 'true' or '1' to disable."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.mikhae1/kubeview",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.mikhae1%2Fkubeview/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
kubeview — MCP Server 安装与配置 · AgentHub