
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Overview. Your first MCP server, working: the finished result. The finished project running first, then the plan for the course, what you need, and the course code (attached here as a download).
Hands-on. How MCP really works: hosts, clients, servers, the wire. Practical for this section: Explain a wire log: which reply answers which request.
Hands-on. Your first MCP server in 10 minutes (uv + Inspector). Practical for this section: Sales tax calculator tool (Literal rates, inclusive flag).
Hands-on. Give your AI a notes app: tool design that works. Practical for this section: update_note with limits and clear errors.
Hands-on. Beyond tools: resources and prompts. Practical for this section: notes://stats resource + meeting_minutes prompt.
Hands-on. Connect your server to a real API: timeouts, errors, secrets. Practical for this section: release_history on PyPI (timeout, cache, 404 message).
Quick note: if this course has been useful so far, an honest review helps other learners decide whether it is right for them. It takes about 10 seconds, and you can update it any time as you go further. Questions or anything unclear? Ask in the Q&A, I reply to every one.
Hands-on. Invoices server: overdue reports, sales tax, safe payments. Practical for this section: Expenses server: 2 tools, 1 resource, 1 prompt, confirm step.
Hands-on. Test, debug, deploy (HTTP) and connect to Claude Desktop + Claude Code. Practical for this section: pytest tests for the expenses server + host config.
Add an audit trail to your MCP server: one JSON line per tool call with the time, tool name, arguments, outcome and duration. Secrets are hidden, and the log goes to a file, never to stdout. You wrap the invoices tools from Part 6, run six calls, read the report and run the tests.
This course contains the use of artificial intelligence.
MCP (Model Context Protocol) is the open standard that lets AI apps like Claude Desktop and Claude Code use your own tools and data. In this course you build MCP servers in Python with the official SDK (version 2.3.0) on the current 2026-07-28 protocol, which removed the old initialize handshake that many tutorials still teach.
Every section ends with something you build and run: a server you test with the official MCP Inspector, a notes app with tool design that makes the AI behave (we show the same request with lazy and with good tools, side by side), resources and prompts, a server for a live API with timeouts and secrets handled, and an invoices server for an accounts team: overdue reports, sales tax summaries and a payment tool that refuses to change the books without a yes.
Then you test it with pytest, debug the classic mistakes, run it over HTTP, package it, and connect it to Claude Desktop and Claude Code. Every output shown is from a real run on 31 October 2026; the logs and code are included. Narration is AI-voiced; the code, runs and results are real.
The course is 1 h 57 min of video in 8 sections. Section 1 is the overview and setup; the other sections are hands-on, and every program is run for real on screen. Each hands-on section comes with a one-page cheat sheet (PDF), a short quiz, a practical with starter and solution files and an assignment with a model answer; 5 coding exercises let you write the code yourself.