MCP acts as a universal adapter for LLMs. An MCP server exposes tools and data sources in a standard way so any LLM application that speaks MCP can discover and use them without bespoke integrations. See the MCP project for protocol details: https://github.com/anthropic/mcp


What is KMCP?
KMCP is a platform and toolset that:- Accelerates local development of MCP servers with templates and boilerplates.
- Provides CLI tooling to scaffold, test, and deploy MCP servers.
- Manages MCP server lifecycle and secret handling in Kubernetes using CRDs and best practices.

- Project scaffolding and framework-specific templates (FastMCP for Python, MCP Go).
- Tool boilerplates to expose internal APIs or services to LLMs.
- Local development experience: build, run, and use the MCP Inspector to exercise tools.
- Kubernetes lifecycle management: deploy, update, delete, health checks, and secret management.
- Support for multiple transports (stdio, HTTP) and authorization integration (e.g., Keycloak).
Typical KMCP development workflow
- Initialize a project
- Add tool boilerplates
- Run locally for development and testing (MCP Inspector)
- Test tools interactively using the inspector
- Deploy to Kubernetes and manage lifecycle

Commands (quick reference)
To scaffold a project:
- Python (FastMCP):
- Go:
- Example tool(s) (e.g., echo tool),
- Dockerfile for containerization,
kmcp.yamlconfiguration,- A test suite and recommended project structure.
Add a tool boilerplate
Run locally (with MCP Inspector)
Deploy to Kubernetes
kmcp.yaml configuration.
Project structure examples
FastMCP (Python) project layout:Framework comparison

KMCP core components and CLI
- CLI commands:
kmcp init— Initialize a new MCP project.kmcp add-tool— Add a new tool boilerplate to the project.kmcp run— Run the MCP server locally for testing.kmcp deploy— Deploy the MCP server to Kubernetes.
- Boilerplate code and example tools follow recommended patterns.
- Containerization:
Dockerfileincluded in scaffold. - Project configuration:
kmcp.yamlincludes environment variables, transport settings, and metadata.
Running KMCP on Kubernetes
KMCP integrates with Kubernetes using Custom Resource Definitions (CRDs) to represent MCP server resources. It supports multiple transport types:- stdio transport (process-based)
- HTTP transport (configure port, target port, path-based routing)

When deploying to Kubernetes, secure your secrets and authorization settings. KMCP manages secret injection, but you should review RBAC, network policies, and authorization providers (for example, Keycloak) to ensure least-privilege access to sensitive tools and data.
Lifecycle management
KMCP automates:- Deployments and updates
- Health checks and status conditions
- Secret management and rotation support
- Scaling and resource metadata injection
Use cases

Benefits
For developers:- Rapid iteration via boilerplates and templates.
- Multiple framework support (Python, Go).
- Local testing with the MCP Inspector and integrated examples.

- Kubernetes-native deployment and lifecycle.
- Automatic health-checks and status reporting.
- Secret management and scalable architecture.

- A standardized protocol reduces maintenance overhead, simplified scaling, and consistent integration patterns without vendor lock-in.

Summary
KMCP enables you to:- Rapidly scaffold MCP servers with best-practice templates.
- Develop and test tools locally using the MCP Inspector.
- Deploy and manage MCP servers in Kubernetes with CRDs, health checks, and secret handling.
- Choose the framework that fits your needs: FastMCP for Python or MCP Go for high-throughput services.
Next steps / Labs
Suggested hands-on labs:- Deploy MCP servers to Kubernetes (including AWS).
- Integrate LLM-driven agents with an AWS Pricing MCP server.
- Build a custom cryptocurrency-check MCP server to fetch live prices.
- MCP (Model Context Protocol) — https://github.com/anthropic/mcp
- Keycloak — https://www.keycloak.org