Skip to main content
Glama

kube-mcp

获取 Gemini APi 密钥

前往https://aistudio.google.com/获取 API 密钥。目前,gemini-2.0-pro-exp-02-05 LLM 完全免费。其他型号也提供非常优惠的价格。

Related MCP server: mcp-kubernetes-server

安装 Codename Goose

Goose 是一个开源 AI 代理,它通过自动化编码任务来增强您的软件开发能力。我们将使用 Codename Goose,因为它内置了 MCP 客户端。请按照此处的步骤安装 Codename Goose: https://block.github.io/goose/docs/getting-started/installation 。设置 GOOGLE_API_KEY 环境变量,以便 Goose 知道使用 Gemini API。了解如何使用goose configure进行配置,以及如何使用goose session以会话方式启动。

开发 MCP 服务器

通过阅读文档了解 MCP: https://modelcontextprotocol.io/introduction以及 Python SDK: https://github.com/modelcontextprotocol/python-sdk克隆此仓库并使用mcp dev server.py进行测试。请注意,本项目使用uv包管理器而不是 pip。通过阅读文档了解uvhttps://github.com/astral-sh/uv本项目使用 Kubernetes python 客户端: https://github.com/kubernetes-client/python

安装 Minikube

按照以下说明安装 minikube: https://minikube.sigs.k8s.io/docs/start/? arch=%2Flinux%2Fx86-64%2Fstable%2Fbinary+download 确保集群配置已提供给 MCP 服务器。查看KubernetesManagerconfig.load_kube_config()以了解配置的加载方式。

将您的 MCP 服务器连接到 Codename Goose

通过阅读以下文档将 MCP 服务器添加为扩展: https://block.github.io/goose/docs/getting-started/using-extensions使用命令goose session --with-builtin developer --with-extension "uvx kube-mcp"启动新的 goose 会话

让一切正常运转

尝试在 Goose 中发出命令并使其使用 MCP 服务器与 Minikube 进行交互

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.
    115
    947
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to interact with Kubernetes clusters by translating natural language into kubectl and Helm operations. It allows users to query, manage, and diagnose Kubernetes resources and cluster states through a seamless integration.
    20
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A lightweight MCP server that enables natural language interaction with Kubernetes clusters, allowing management of pods, deployments, namespaces, and cluster resources through conversational queries or API endpoints.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lochgeo/kube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server