Build, run & deploy MCP servers to Kubernetes
In this free, on-demand technical lab, explore kmcp—part of the kagent project—and learn how to scaffold, build, and deploy Model Context Protocol (MCP) servers in Kubernetes.
- Install kmcp: Set up your environment by installing the kmcp CLI, deploying the CRDs, and preparing your Kubernetes cluster for MCP server deployment.
- Scaffold your project: Generate a new MCP server using the built-in templates for Go, Python, Java, or TypeScript and explore the project structure.
- Build and package: Compile your MCP server into a Docker image and publish it to a local or remote registry.
- Deploy to Kubernetes: Use kmcp to apply the generated manifest and launch your MCP server on the cluster.
- Test and extend: Port-forward the MCP service and use the MCP inspector to list and invoke tools like the sample
echoorfetchtool.
Gain hands-on experience building, packaging, and deploying custom MCP servers with kmcp in a cloud-native environment.
Build, run & deploy MCP servers to Kubernetes
Lab
Take the course
Additional Resources
Cloud connectivity done right
