MCP.so
ログイン
M

MCP Cluster Api

@linode

基本情報

MCP Cluster Api について

概要はまだありません

#capi#mcp#kubernetes#cluster-management

MCP Cluster Api の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "capi-mcp": {
      "command": "/absolute/path/to/capi-mcp/bin/capi-mcp",
      "env": {
        "KUBECONFIG": "/absolute/path/to/your/kubeconfig.yaml"
      }
    }
  }
}

MCP Cluster Api のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Mcp Cluster Api?

capi-mcp is a tool that integrates Cluster API (CAPI) resources with the Model Context Protocol (MCP), enabling programmatic and prompt-based management of Kubernetes clusters and machines. It is designed for Kubernetes operators and developers who manage clusters declaratively using CAPI.

How to use Mcp Cluster Api?

Build the binary with make build (requires Go, Make, npm, kubectl, and a valid kubeconfig). Run the MCP inspector for testing: npx @modelcontextprotocol/inspector -e KUBECONFIG=kubeconfig.yaml bin/capi-mcp. For use with Claude Desktop or VSCode, add the server configuration to the respective MCP settings file, specifying the absolute path to the binary and the KUBECONFIG environment variable.

Key features of Mcp Cluster Api

  • List all CAPI clusters in your environment
  • Get detailed cluster information and kubeconfigs
  • Check upgrade eligibility for target Kubernetes versions
  • List and inspect machines across clusters
  • Perform control plane rollout (write operation, requires RBAC permissions)
  • Debugging prompts for cluster and machine issues

Use cases of Mcp Cluster Api

  • Querying the status of CAPI-managed clusters from AI assistants
  • Generating kubeconfigs for accessing workload clusters
  • Checking safe upgrade paths before version changes
  • Debugging cluster or machine issues with step-by-step guidance
  • Triggering control plane rolling updates in natural language

よくある質問

1

What are the prerequisites to run this server?

Go 1.20+, Make, npm, kubectl, access to a Kubernetes cluster, and a valid `kubeconfig.yaml` file with appropriate permissions.

2

How do I install and build the server?

Clone the repository and run `make build` to compile the binary.

3

How do I use it with Claude Desktop?

Configure the server in Claude Desktop’s configuration file (`claude_desktop_config.json`) by adding the absolute path to the binary and setting the `KUBECONFIG` environment variable.

4

What tools does the server provide?

Tools include `list_clusters`, `get_cluster`, `get_cluster_kubeconfig`, `check_upgrade

コメント

「開発者ツール」の他のコンテンツ