by yanmxa
The OCM MCP Server acts as a robust gateway for Generative AI (GenAI) systems to interact with multiple Kubernetes clusters via the Model Context Protocol (MCP).
The OCM MCP Server is a gateway that enables Generative AI systems to interact with multiple Kubernetes clusters through the Model Context Protocol (MCP). It facilitates comprehensive operations on Kubernetes resources, streamlines multi-cluster management, and delivers interactive cluster observability.
To use the OCM MCP Server, configure it with the following JSON snippet:
{
"mcpServers": {
"multicluster-mcp-server": {
"command": "npx",
"args": [
"-y",
"multicluster-mcp-server@latest"
]
}
}
}
Ensure kubectl
is installed. The tool uses the KUBECONFIG
environment variable to access the cluster. In a multi-cluster setup, the configured cluster acts as the hub cluster, accessing others through it.
ClusterRole
Q: What is the Model Context Protocol (MCP)? A: The MCP is a protocol that facilitates interaction between GenAI systems and Kubernetes clusters, enabling comprehensive operations and management.
Q: Does OCM MCP Server support multi-cloud environments? A: While not explicitly stated, its focus on multi-cluster Kubernetes management suggests it can operate across clusters deployed in different cloud environments, provided they are accessible via Open Cluster Management.
Q: Are there any planned features for OCM MCP Server? A: Yes, planned features include Prompt Templates for Open Cluster Management to streamline agent interaction and automation, and MCP Resources for Open Cluster Management to provide official documentation and related resources.
The OCM MCP Server provides a robust gateway for Generative AI (GenAI) systems to interact with multiple Kubernetes clusters through the Model Context Protocol (MCP). It facilitates comprehensive operations on Kubernetes resources, streamlined multi-cluster management, and delivered interactive cluster observability.
✅ Retrieve resources from the hub cluster (current context)
✅ Retrieve resources from the managed clusters
✅ Connect to a managed cluster using a specified ClusterRole
✅ Access resources across multiple Kubernetes clusters(via Open Cluster Management)
🔄 Retrieve and analyze metrics, logs, and alerts from integrated clusters
❌ Interact with multi-cluster APIs, including Managed Clusters, Policies, Add-ons, and more
Configure the server using the following snippet:
{
"mcpServers": {
"multicluster-mcp-server": {
"command": "npx",
"args": [
"-y",
"multicluster-mcp-server@latest"
]
}
}
}
Note: Ensure kubectl
is installed. By default, the tool uses the KUBECONFIG
environment variable to access the cluster. In a multi-cluster setup, it treats the configured cluster as the hub cluster, accessing others through it.
This project is licensed under the MIT License.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by daytonaio
Provides a secure, elastic sandbox environment for executing AI‑generated code with isolated runtimes and sub‑90 ms provisioning.
by awslabs
Specialized servers that expose AWS capabilities through the Model Context Protocol, allowing AI assistants and other applications to retrieve up‑to‑date AWS documentation, manage infrastructure, query services, and perform workflow automation directly from their context.
by awslabs
AWS MCP Servers allow AI agents to interact with and manage a wide range of AWS services using natural language commands. They enable AI-powered cloud management, automated DevOps, and data-driven insights within the AWS ecosystem.
by cloudflare
Remote Model Context Protocol endpoints that let AI clients read, process, and act on data across Cloudflare services such as Workers, Radar, Observability, and more.
by supabase-community
Enables AI assistants to interact directly with Supabase projects, allowing them to query databases, fetch configuration, manage tables, and perform other project‑level operations.
by Azure
azure-mcp is a server that implements the Model Context Protocol (MCP) to connect AI agents with Azure services. It allows developers to interact with Azure resources like Storage, Cosmos DB, and the Azure CLI using natural language commands within their development environment.
by Flux159
MCP Server for Kubernetes management commands, enabling interaction with Kubernetes clusters to manage pods, deployments, and services.
by strowk
Provides a Golang‑based server that enables interaction with Kubernetes clusters via prompts, allowing listing of contexts, namespaces, resources, nodes, pods, events, logs, and executing commands inside pods.
by jamsocket
Run arbitrary Python code securely in persistent, stateful sandboxes that remain available indefinitely.