connect_cluster
Generates and binds a KUBECONFIG file to a specified ClusterRole, enabling secure access to a target Kubernetes cluster via the Multi-Cluster MCP Server.
Instructions
Generates the 'KUBECONFIG' for the managed cluster and binds it to the specified ClusterRole (default: cluster-admin).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cluster | Yes | The target cluster where the ServiceAccount will be created for the KUBECONFIG. | |
cluster_role | No | The ClusterRole defining permissions to access the cluster. | cluster-admin |
Input Schema (JSON Schema)
{
"properties": {
"cluster": {
"description": "The target cluster where the ServiceAccount will be created for the KUBECONFIG.",
"title": "Cluster",
"type": "string"
},
"cluster_role": {
"default": "cluster-admin",
"description": "The ClusterRole defining permissions to access the cluster.",
"title": "Cluster Role",
"type": "string"
}
},
"required": [
"cluster"
],
"title": "connect_clusterArguments",
"type": "object"
}