0% completed
Who This Course Is For
On This Page
Who Should Take It
What You Need
What the Course Is Not
The Subjects, in Order
How a Lesson Is Built
Playgrounds and SDK Programs
The Revision This Course Teaches
This course is for software engineers who must make a product and an AI assistant work together. The Model Context Protocol (MCP) is the open standard for that work. The course teaches it in full: the messages, servers and clients, tool design, authorization, security, testing, and production.
Who Should Take It
- Engineers who build AI features. You write the application that runs a model, and you need it to call tools that other teams and other companies provide.
- Engineers who must expose a product to AI assistants. You own a service with an API, and your customers ask whether their assistant can work with it. You must decide what an assistant may do and how each customer's data stays separate.
- Platform engineers who govern MCP in a company. You decide which servers employees may connect, how each call is authorized, and what is recorded.
What You Need
You should be able to read Python, because every program in the course is written in it. You should know HTTP and JSON, because every MCP message is a JSON object and many servers are reached over HTTP. You should also have used an AI assistant that calls tools, such as one that searches the web or edits a file.
No machine learning background is needed. The course treats a model as a program that reads text and writes text, and it defines every other term where the term first appears.
What the Course Is Not
- It is not a guide to using connectors in a chat application. One early lesson connects an existing server to an assistant. Every other lesson is about building, securing, and running servers and clients.
- It is not a general course on agents. It does not teach planning, memory, or the patterns for combining several agents.
- It is not specific to one vendor or framework. The protocol is an open standard, and the lessons name a product only when a fact depends on that product.
The Subjects, in Order
| Subject | What it teaches |
|---|---|
| <span style="white-space:nowrap">What MCP Is</span> | The problem the protocol solves, its three participants, and the three kinds of things a server offers |
| <span style="white-space:nowrap">The Protocol on the Wire</span> | The JSON messages themselves, and a small server written without any library |
| <span style="white-space:nowrap">Building a Server</span> | Tools, resources, and prompts built with the official Python library |
| <span style="white-space:nowrap">Transports</span> | How messages travel to a server on the same machine and to a server on a network |
| <span style="white-space:nowrap">Clients and Hosts</span> | What the application does around the model, and how it works with many servers |
| <span style="white-space:nowrap">Designing Tools an Agent Can Use</span> | Names, descriptions, and results that a model uses correctly, and what tool definitions cost |
| <span style="white-space:nowrap">Authorization</span> | How a server on a network learns which user sent a request and what that user allowed |
| <span style="white-space:nowrap">Security</span> | The attacks that are specific to MCP, and the defense against each one |
| <span style="white-space:nowrap">Testing and Evaluation</span> | Tests for a server, and a way to measure whether a model chooses the right tool |
| <span style="white-space:nowrap">Running in Production</span> | Deployment, monitoring, changing a server that is in use, and publishing it |
| <span style="white-space:nowrap">Extensions</span> | Optional features outside the core protocol, some of them still in beta |
| <span style="white-space:nowrap">MCP in the Organization</span> | Gateways, rules about which servers employees may use, and audit records |
| <span style="white-space:nowrap">Choosing an Integration</span> | When MCP is the right choice, and when a direct API call, a command-line tool, or a skill is better |
| <span style="white-space:nowrap">Full Designs and Reference</span> | Two complete server designs, a review exercise, and a reference page |
Each subject uses terms that an earlier one defined, so read them in this order.
How a Lesson Is Built
Every lesson uses one running example. Costbook is an expense reporting service that companies buy for their employees, and the course builds an MCP server for it. Because the product stays the same, you learn each new idea on a product that you already know.
A lesson also contains three other things:
- Real messages. Where a lesson teaches a message, it prints the request and the result as JSON, with the field names that the specification uses.
- Diagrams. A diagram shows which program sends what to which other program, and the sentence after it says what to look at.
- Practice questions. Most lessons end with four questions. Each answer is hidden until you open it, so try to answer the question first.
Playgrounds and SDK Programs
A playground is a small Python program that runs in the page. It uses only the standard library, and it usually builds one part of the protocol without the help of an MCP library. In most playgrounds, a client and a server in the same file exchange messages, and the program prints each one. Run it, read the output, and then make the small change that the lesson suggests.
An SDK program uses the official Python software development kit (SDK) for MCP, which is the library that engineers normally use to build servers and clients. The page cannot run these programs, because they need an installed package and sometimes a network. You run them on your own machine, and the lesson prints the real output so that you can compare it with yours.
The Revision This Course Teaches
The protocol is revised on a regular schedule, and a revision can add, change, or remove features. This course teaches the current revision. That revision is stateless, which means that every request carries everything the server needs to answer it. A client does not send a setup message or open a session before its first request.
Earlier revisions worked differently, and material written for them is still online. If a tutorial tells you to send an initialize message before anything else, it describes an earlier revision. One lesson explains how a program written for an earlier revision works with a program written for the current one. Every other lesson uses the current revision.
The course begins with the problem that the protocol was created to solve. Start with The Integration Problem MCP Solves, which counts the separate connections that assistants and products need when no shared protocol exists.
Reading Progress
0%
On This Page
Who Should Take It
What You Need
What the Course Is Not
The Subjects, in Order
How a Lesson Is Built
Playgrounds and SDK Programs
The Revision This Course Teaches