Learn to build an MCP server that gives AI agents safe, read-only access to Kubernetes, Prometheus, and runbooks, with least-privilege RBAC.
What an MCP server is and what problem it solves An MCP server is a small program that exposes tools to AI applications over one standard protocol...
Read, write, and escalate: the three kinds of tool A tool surface should separate tools that only look from tools that change things.
Why Kubernetes RBAC only adds permissions Kubernetes RBAC (role-based access control) is a list of things an identity is allowed to do.
Installing the SDK and choosing a version The official MCP Python SDK includes a high-level server class that turns ordinary Python functions into...
Checking tools with the MCP Inspector The MCP Inspector is a browser tool that connects to your server, lists its tools, and lets you call each one...
Turning MCP tools into model tool definitions An MCP tool carries a name, a description, and a JSON schema.
What an MCP server is and what problem it solves An MCP server is a small program that exposes tools to AI applications...
Read, write, and escalate: the three kinds of tool A tool surface should separate tools that only look from tools that...
Why Kubernetes RBAC only adds permissions Kubernetes RBAC (role-based access control) is a list of things an identity...
Installing the SDK and choosing a version The official MCP Python SDK includes a high-level server class that turns...
Checking tools with the MCP Inspector The MCP Inspector is a browser tool that connects to your server, lists its...
Turning MCP tools into model tool definitions An MCP tool carries a name, a description, and a JSON schema.
Why restart_deployment is off by default The server only registers restart_deployment when ENABLE_WRITES=1 is set, and...
This lab runs on the aiops-lab kit. If it is not running, set it up first by following Data Pipelines for AIOps (Apache...
Quick reference Common mistakes when building MCP servers Treating an RBAC rule as a deny rule.
Roles that use the skills in this module.
AIOps Engineer
₹18L - ₹35L a year
AI Platform Engineer
₹20L - ₹40L a year
Platform Engineer
₹15L - ₹28L a year
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding Sheet