🎉 Join us at the kagent Community Party at KubeCon Atlanta on Nov 12
Documentation

kmcp install#

Install the KMCP controller and its required Custom Resource Definitions (CRDs) on a Kubernetes cluster. The KMCP contoller manages the lifecycle of MCPServer resources.

The command installs the following resources:

  • The MCPServer Custom Resource Definition to define your MCP server.
  • The ClusterRole and ClusterRoleBinding to control RBAC permissions for the KMCP controller.
  • The KMCP controller deployment that automatically manages the lifecycle of MCPServer resources.
kmcp install [flags]

Note: Run this command once for each cluster to set up the necessary infrastructure for deploying MCP servers.

Flags:

  • -h, --help - Help for the command
  • --namespace - Namespace for the KMCP controller (defaults to kmcp-system)
  • --version - Version of the controller to deploy (defaults to kmcp version)

Global Flags:

  • --verbose, -v - Show detailed output
Kagent Lab: Discover kagent and kmcp
Free, on‑demand lab: build custom AI agents with kagent and integrate tools via kmcp on Kubernetes.