Week 14 • Day 7Week 14

Day 7:Week 14 Mini-Project — Multi-Server MCP Incident Workbench

Battle-tested daily lesson note • 100% runnable code, interview Q&A, test suite & interactive quiz

Day 7: Week 14 Mini-Project — Multi-Server MCP Incident Workbench

1. Project Overview

In this end-to-end Week 14 mini-project, we integrate all 6 days of Model Context Protocol engineering into a single production Multi-Server MCP Incident Workbench:

  1. JSON-RPC 2.0 Lifecycle & Handshake (Day 1): Strict protocol initialization.
  2. Tools, Resources & Prompt Templates (Day 2): Reading runbook://sre/high-latency, rendering prompt templates, and invoking diagnostic tools.
  3. Pagination & Framing (Day 3): Cursor-based pagination over server logs.
  4. Least-Privilege Security Sandbox (Day 4): Validating any file reads against path traversal and redacting secrets from outputs.
  5. Semantic Tool Routing (Day 5): Selecting the Top-KK tools from our multi-server catalog.
  6. Multi-Server Host Orchestration (Day 6): Dispatching observability__query_service_metrics and synthesizing an incident root-cause report.

In Simple English: Week 14 Multi-Server MCP Workbench

Open Tab 2 (Codes) and Tab 4 (Test & Troubleshooting) to run an entire multi-server MCP client-server host in pure Python right in your browser:

  • Discovers tools over JSON-RPC across multiple logical servers
  • Namespaces collisions cleanly (git__status, db__query)
  • Enforces path-jail security and runs unit tests end-to-end with zero external dependencies!