MCP Lifecycle Operator

v1.0.0Cloud Servicesstable

A Kubernetes operator that provides a declarative API to deploy, manage, and safely roll out MCP Servers, handling their full lifecycle with production-grade automation and ecosystem integrations.

mcp-lifecycle-operatormcpai-integration
Share:
24
Stars
0
Downloads
0
Weekly
0/5

What is MCP Lifecycle Operator?

MCP Lifecycle Operator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to kubernetes operator that provides a declarative api to deploy, manage, and safely roll out mcp servers, handling their full lifecycle with production-grade automation and ecosystem integrations.

A Kubernetes operator that provides a declarative API to deploy, manage, and safely roll out MCP Servers, handling their full lifecycle with production-grade automation and ecosystem integrations.

This server falls under the Cloud Services and Developer Tools categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Kubernetes operator that provides a declarative API to dep

Use Cases

Deploy and manage MCP servers on Kubernetes with declarative configuration.
Automate MCP server rollouts and lifecycle management in production.
kubernetes-sigs

Maintainer

LicenseApache-2.0
Languagego
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-lifecycle-operator

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Lifecycle Operator

MCP Lifecycle Operator is a Kubernetes operator (under kubernetes-sigs) that provides a declarative API for deploying and managing MCP servers on Kubernetes clusters. It introduces an MCPServer custom resource (API version mcp.x-k8s.io/v1alpha1) that automates the full lifecycle of MCP server workloads — from deployment and health checking to service discovery and Prometheus metrics exposure. Platform teams can use it to safely roll out production-grade MCP server infrastructure with GitOps-compatible declarative configuration instead of managing raw Deployments and Services manually.

Prerequisites

  • Kubernetes cluster v1.28 or newer with kubectl configured
  • Cluster admin permissions to install CRDs and deploy the operator
  • Go 1.26+ if building from source or running locally
  • An MCP-compatible client to connect to the managed MCP servers
1

Install the operator from the latest release

Apply the official install manifest to deploy the operator and its CRDs into your cluster in a single command.

kubectl apply -f https://github.com/kubernetes-sigs/mcp-lifecycle-operator/releases/latest/download/install.yaml
2

Verify the operator is running

Check that the operator pod is running before creating any MCPServer resources.

kubectl get pods -n mcp-lifecycle-operator-system
3

Create an MCPServer resource

Define an MCPServer custom resource pointing to your MCP server container image. The operator will create the Deployment and Service automatically.

apiVersion: mcp.x-k8s.io/v1alpha1
kind: MCPServer
metadata:
  name: my-mcp-server
spec:
  source:
    type: ContainerImage
    containerImage:
      ref: quay.io/containers/kubernetes_mcp_server:latest
  config:
    port: 8080
4

Apply the manifest

Apply the MCPServer manifest to your cluster and watch the operator provision the workload.

kubectl apply -f my-mcp-server.yaml
kubectl get mcpserver my-mcp-server -o yaml
5

Test connectivity to the managed MCP server

Port-forward to the auto-generated Service and verify the health and MCP endpoints are reachable.

kubectl port-forward service/my-mcp-server 8080:8080
curl http://localhost:8080/healthz
curl http://localhost:8080/mcp
6

Monitor operator metrics

The operator exposes Prometheus metrics from a dedicated endpoint for observability into MCPServer resource lifecycle events.

kubectl get service -n mcp-lifecycle-operator-system

MCP Lifecycle Operator Examples

Client configuration

Connect an MCP client to a server managed by the operator via port-forwarding or a cluster-internal URL discovered from the MCPServer status.

{
  "mcpServers": {
    "k8s-mcp": {
      "command": "kubectl",
      "args": ["port-forward", "service/my-mcp-server", "8080:8080"]
    }
  }
}

Prompts to try

Use natural language to interact with MCP servers deployed and managed by the operator.

- "Check the health status of the MCP server running in the default namespace."
- "List all MCPServer resources currently deployed in the cluster."
- "Show me the readiness conditions for my-mcp-server."
- "What is the cluster-internal URL for the MCP server service?"

Troubleshooting MCP Lifecycle Operator

MCPServer resource stuck in non-Ready state

Inspect the MCPServer status conditions with 'kubectl describe mcpserver <name>' and check operator logs with 'kubectl logs -n mcp-lifecycle-operator-system deploy/mcp-lifecycle-operator-controller-manager'. The Accepted and Ready conditions will indicate the specific failure reason.

CRDs not found after installing the operator

Verify the install.yaml applied successfully and that you have cluster-admin permissions. Run 'kubectl get crd | grep mcp' to confirm the mcp.x-k8s.io CRDs are registered.

Container image cannot be pulled

Ensure the container image reference in spec.source.containerImage.ref is accessible from your cluster's node pull credentials. Use an ImagePullSecret if the registry requires authentication.

Frequently Asked Questions about MCP Lifecycle Operator

What is MCP Lifecycle Operator?

MCP Lifecycle Operator is a Model Context Protocol (MCP) server that kubernetes operator that provides a declarative api to deploy, manage, and safely roll out mcp servers, handling their full lifecycle with production-grade automation and ecosystem integrations. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Lifecycle Operator?

Follow the installation instructions on the MCP Lifecycle Operator GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Lifecycle Operator?

MCP Lifecycle Operator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Lifecycle Operator free to use?

Yes, MCP Lifecycle Operator is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-lifecycle-operator": { "command": "npx", "args": ["-y", "mcp-lifecycle-operator"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Lifecycle Operator?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides