Maintenancedemo-0033

Build a governed MCP for LLMs

Build a governed Model Context Protocol (MCP) server for LLMs. Take apart the lab's own MCP: how models discover tools, how a request travels from question to data and back, where the security lives, and how to add a new data source in an afternoon without handing out a new secret.

aiaiai-agentskubernetessecurityin-progress

Not available to book

This demo is under maintenance and cannot be booked. It will reopen once its owner marks it ready.

Watch lab overview (25 sec)
Run Count0
SMEsjwise
Session typedemo
Student MaterialsPublic Repo
Admin / CI-CDPrivate Repo

What a customer gets out of it

  • Understand MCP end to end: host, client, server, tools and the six steps of a request
  • See discovery governed per app: two consumers ask the same server and see different tools
  • Trace a real request through the audit log, from the model's question to the data source and back
  • Break the rules on purpose and read which security gate refused each call: contract, user, data class, conditions
  • Swap the model and watch the tools, data and rules stay exactly where they were
  • Extend it: write a consumer contract, add a data source, stage data in a vector store

Why it matters

Every AI project hits the same wall: the model is easy, getting it the right data safely is not. Each app wiring its own connector to each data source multiplies secrets, reviews and risk. A governed MCP server turns that into one protocol, one contract per app and one audit trail, so new AI use cases get data in days without new credentials, and security teams can see and limit exactly what each model can reach.

Lab overview

No walkthrough is recorded for this demo yet, so this is a 25 sec tour of the lab and how to use it.

Trouble playing? Download the file.

Overview

One server, every data source, one contract per app. This class takes apart the Paragon Micro lab's own Model Context Protocol (MCP) server: the one other lab AI demos use to read lab health, logs, code, directory data and a vector store.

What you do

  • See the problem: raw API output versus a shaped MCP answer, and why N apps times M sources becomes N plus M
  • Watch discovery: tool lists filtered by each app's contract
  • Trace a request: the six steps from question to answer, in the audit log
  • Break it on purpose: denied calls at each of four security gates
  • Swap the model: the tools outlive the model
  • Extend it: a new consumer contract, a new data source, pre-staged data with semantic search

How it is built

A Python MCP server (official SDK, Streamable HTTP) running as a Kubernetes tenant, with YAML contracts reviewed as pull requests, a policy engine, output shaping and redaction, and a Postgres + pgvector scratch store snapshotted to Azure on tear-down. It follows MCP Explained Simply (TechWorld with Nana) minute by minute.