Skip to content

resource

External Tools with MCP: Solutions Guide

Study external tools with MCP in Chapter 14. Find the matching worked notebooks and compare their reasoning with the attempt you saved first.

Available draft · two ninety-minute units · construction edition

Retain your own attempt before reading these worked solutions. Explain the reasoning, then solve a changed case without looking.

SessionNotebookMatching textPurpose
A · 90 minutesA: build and connect a bounded MCP clientMarkdownConstruct, connect and explain
B · 90 minutesB: break the connection, repair and transferMarkdownDiagnose, repair and transfer

Each notebook includes its own setup, first-principles introductions and supplied data, and needs only Python's standard library: no model, network or key. Each notebook writes the scripted teaching server to a temporary folder and starts it as a child process, so it needs a POSIX system (Colab, Linux or macOS). Use Google Colab (Python 3.12) or a local Python 3.12+ Jupyter kernel. No repository checkout, previous notebook kernel or live account is needed. Unit B can use an explicitly selected successful Unit A handoff; an invalid selected file refuses rather than substituting an answer.

Ninety minutes is the planned work allowance per unit. Actual completion time and understanding require classroom observation.

Setup · Back to this asset

Keep building with Prof Rod

Found this material through a colleague, classroom or shared download? Get the complete book at profrod.ai/book and join the Prof Rod learner community. Bring one result, one question or one failure you learned from. Share this resource with another learner and keep its source links with it so they can find the full course and future updates.