mcp
mcp: доступ на чтение к ресурсам GKE и Kubernetes для ассистента
Что умеет
- Описывать и получать объекты Kubernetes, смотреть события и логи
- Проверять статус развёртывания (rollout)
- Создавать и обновлять кластеры и узловые пулы GKE
- Применять и удалять манифесты Kubernetes
- Отслеживать операции и их статус
Какие данные видит
Ассистент видит ресурсы кластеров GKE и Kubernetes-объекты в рамках прав подключённой учётной записи.
Нужен ли аккаунт
Не нужен: сервер работает без входа
MCP-сервер отдаёт ассистенту сведения о кластерах Google Kubernetes Engine и объектах Kubernetes — поды, ресурсы, события, логи. Кроме чтения доступны создание кластеров, узловых пулов и применение манифестов.
Как подключить
Как подключить mcp к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://container.googleapis.com/mcp
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить mcp к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://container.googleapis.com/mcp
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить mcp к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://container.googleapis.com/mcp
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (23)
Технические названия из tools/list. Нужны только разработчикам.
| list_k8s_api_resources | Retrieves the available API groups and resources from a Kubernetes cluster. This is similar to running `kubectl api-resources`. |
| check_k8s_auth | Checks whether an action is allowed on a Kubernetes resource. This is similar to running `kubectl auth can-i`. |
| describe_k8s_resource | Shows the details of a specific Kubernetes resource. This is similar to running `kubectl describe`. |
| list_k8s_events | Retrieves events from a Kubernetes cluster. This is similar to running `kubectl events`. |
| get_k8s_resource | Gets one or more Kubernetes resources from a cluster. Resources can be filtered by type, name, namespace, and label selectors. Returns the resources in YAML format. This is similar to running `kubectl get`. |
| get_k8s_cluster_info | Gets cluster endpoint information. This is similar to running `kubectl cluster-info`. |
| get_k8s_version | Retrieves Kubernetes client and server versions for a given cluster. This is similar to running `kubectl version`. |
| get_k8s_rollout_status | Checks the current rollout status of a Kubernetes resource. This is similar to running `kubectl rollout status`. |
| list_clusters | Lists GKE clusters in a given project and location. Location can be a region, zone, or '-' for all locations. |
| create_cluster | Creates a new GKE cluster in a given project and location. It's recommended to read the [GKE documentation](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/configuration-overview) to understand cluster configuration options. Cluster creation will default to Autopilot mode, as recommended by GKE best practices. If the user explicitly wants to create a Standard cluster, you need to set autopilot.enabled=false in the cluster configuration. This is similar to running `gcloud container clusters create-auto` or `gcloud container clusters create`. |
| update_cluster | Updates a specific GKE cluster. |
| get_cluster | Gets the details of a specific GKE cluster. |
| list_operations | Lists GKE operations in a given project and location. Location can be a region, zone, or '-' for all locations. |
| get_operation | Gets the details of a specific GKE operation. |
| cancel_operation | Cancels a specific GKE operation. |
| create_node_pool | Creates a node pool for a specific GKE cluster. |
| list_node_pools | Lists the node pools for a specific GKE cluster. |
| get_node_pool | Gets the details of a specific node pool within a GKE cluster. |
| update_node_pool | Updates a specific node pool within a GKE cluster. |
| get_k8s_logs | Gets logs from a Kubernetes container in a pod. This is similar to running `kubectl logs`. |
| apply_k8s_manifest | Applies a Kubernetes manifest to a cluster using server-side apply. This is similar to running `kubectl apply --server-side`. |
| delete_k8s_resource | Deletes a Kubernetes resource from a cluster. This is similar to running `kubectl delete`. |
| patch_k8s_resource | Patches a Kubernetes resource. This is similar to running `kubectl patch`. |