KMCP is a companion toolchain for building, testing, and deploying MCP servers with a workflow that spans local development through Kubernetes production deployments. It includes a CLI for day-to-day development tasks like scaffolding new MCP projects, managing tools, building container images, and running an MCP server locally for validation. For cluster operations, it includes a Kubernetes controller that manages MCP server lifecycles using a dedicated Custom Resource Definition (CRD), allowing MCP servers to be represented as native Kubernetes objects you can operate with familiar kubectl-driven patterns. A key component is the transport adapter, which fronts MCP servers to provide routing and multi-transport support without requiring code changes in your server implementation. The project is geared toward consistency, aiming to reduce the “glue work” of writing Dockerfiles, hand-rolling manifests, and manually wiring networking and deployment details for each MCP server.
Features
- CLI to scaffold MCP server projects and manage tool development workflows
- Local run support for testing MCP servers during development
- Container image build workflow for packaging MCP servers consistently
- Transport adapter supporting HTTP, WebSocket, and Server-Sent Events without code changes
- Kubernetes controller with CRD-based MCP server lifecycle management
- Secrets management integrated with Kubernetes secrets for safer configuration handling