
What this course gives you: how MCP works message by message, IncidentDesk built for DemoCloud from one tool to a remote, secured service, and preparation for the Model Context Protocol Associate exam. The practice is free: no paid API key and no Claude Desktop. Your first run comes in the next video.
How to get the course repository, how its section tags let you start at any section, and how to choose between your own computer and Udemy Labs in the browser, where your Udemy plan includes labs.
The install steps are in the Course Setup article; here we check that it all works. The doctor script says Ready, then MCP Inspector starts a small test server, lists its tool and calls it. Inspector fails first, because the command has no python in front of the file, and we read the error and fix it.
Who runs the exam, the July 2026 revision it follows, 90 minutes, 60 multiple-choice questions and the pass mark; the five domains and their weights, with interactions and security making half the exam; and one exam-style question about the error you fixed in Setup.
Three assistants and six systems at DemoCloud mean eighteen custom connections, each with its own permissions and errors. One standard in the middle turns that into one server per system, with the rules in one place and freedom to change products. And one wrong belief: MCP does not make the model smarter, it brings the model real context.
Exam topics: MCP Purpose & Scope, Interoperability & Value (MCP Fundamentals).
MCP is an open protocol for the messages between an AI application and outside systems. You follow one question at 3 a.m. through five steps and see which ones MCP defines and which belong to the model, the assistant or the system's own API. Why an MCP server calls an existing API instead of replacing it.
Exam topics: MCP Purpose & Scope (MCP Fundamentals).
The picture that stays with you for the whole course: the host with the model, one client per server, and the server that reaches a real system. You put the whole 3 a.m. outage on it and see that only the client talks to the server, and only for the host.
Exam topics: Core MCP Concepts (MCP Fundamentals).
From the next lesson on, most hands-on lessons come with a lab: a coding exercise that runs in your browser, with nothing to install and no API key. How to open a lab, wait for it to start, open the notebook, run the cells, fill in the blanks, and why a cell with empty blanks first shows an error. Labs work on a computer, not on a phone or tablet, and only on Udemy plans that include them.
Write the first tool of IncidentDesk with the official Python SDK, list it in MCP Inspector and call it: fourteen payments incidents come back, with tonight's outage at the bottom. A plain print gets lost on stdio, so the log line moves to standard error. Your task: describe one tool for a system your own team uses, with its name, a description and typed inputs.
Exam topics: Core MCP Concepts (MCP Fundamentals).
The same server runs in MCP Inspector and in Claude Code, where the model picks the tool on its own. The call is refused until permission is given, then the server fails to start from another folder, and the host's log tells us why. Your task: write the server settings for a host you use, with full paths.
Exam topics: Interoperability & Value (MCP Fundamentals).
Function calling runs between the host and its model, MCP between the host and the server, OpenAPI describes a web API for developers, and A2A connects agent to agent. You see where each one sits on the same picture, why none of them replaces another, and what an MCP server adds in front of a system.
Exam topics: Interoperability & Value (MCP Fundamentals).
The host owns the model, the screen, the consent questions and its clients; a client only carries messages; the server owns its tools, its data and its access. Four words people mix up get one meaning each: model, host, client and agent. And why a server never calls the model.
Exam topics: MCP Hosts, Clients and Servers (Architecture & Components).
How to read any MCP message: JSON objects, fields and values, then a JSON-RPC request with its id, method and parameters, and an answer with either a result or an error. A notification has no id and gets no reply. Skip it if you already know JSON-RPC.
Exam topics: Schemas & Structured Data (Architecture & Components).
Take MCP Inspector's place and type messages into IncidentDesk by hand: a request and its result, an error for a wrong method, and a notification that gets no answer. Leave out the ID, and the server stays silent, because it read a notification. Your task: send a tools/list request of your own and find your ID in the answer.
Exam topics: Schemas & Structured Data (Architecture & Components).
Send server/discover by hand: an older revision date gets an error that names the supported version, and the July 2026 date gets the server's description. You add instructions and a version to IncidentDesk, then ask for its tools with no discover first, and see why every request stands on its own. Your task: write two sentences of instructions for a server.
Exam topics: MCP Hosts, Clients and Servers (Architecture & Components).
Python types become the tool's input and output schemas, and the answer comes back as structured content, with the same data as text. One incident has the word high where a number belongs, the SDK blocks the answer on the server, and we fix the tool. Your task: write down the shape of your own tool's answer, with its types and the fields that may be empty.
Exam topics: Schemas & Structured Data (Architecture & Components).
What a tool result can carry: text, image and audio blocks, a resource link that holds only an address, or an embedded resource with the full content. When to return links and when to embed, and why the host, not the server, decides what the model sees.
Exam topics: Schemas & Structured Data (Architecture & Components).
Build minihost, a small host in Python: it starts IncidentDesk, sends discover and the tools list, and turns each tool into a definition for the model. You play the model yourself; then a second server with the same tool name gets the call meant for IncidentDesk, and a server prefix fixes it. Your task: pick two servers your team could connect and write the tool names the model would see.
Exam topics: Model Interaction Flow (Architecture & Components).
Finish the loop: the host routes the model's call, the client sends tools/call, and the result goes back into the conversation. Without the result, the model reports no problem in the middle of an outage; after a one-line fix, the debugger shows each round of the loop. Your task: draw this sequence for a tool your team uses.
Exam topics: Model Interaction Flow (Architecture & Components).
One HTTP request and its answer in plain words: the method, the address, the headers as the label outside and the body as the content inside. The first digit of a status code tells you who acts next. Skip it if you already know HTTP.
Exam topics: MCP Hosts, Clients and Servers (Architecture & Components).
Three lines let the same server run over stdio for one engineer and over Streamable HTTP at one address for the team, with the same answer in MCP Inspector. A request built by hand with curl gets 400 while a header and the body disagree, and 200 once they match. Your task: decide which transport your own tool needs, and write down why.
Exam topics: MCP Hosts, Clients and Servers (Architecture & Components); Error Handling (Interactions & Execution).
The three server primitives and who decides when each one is used: the model proposes tools, the host adds resources, and the person picks prompts. Each gets one moment from the 3 a.m. outage, and two wrong beliefs fall: the model does not read resources on its own, and a user-controlled prompt is not written by the user.
Exam topics: Core MCP Concepts (MCP Fundamentals); Protocol Primitives (Interactions & Execution).
Add two tools and give each one honest hints: read-only, adds only, or destructive. The restart still runs at once, because a hint describes a tool and never stops a call, and a missing title comes back as a result with isError that the model can fix. Your task: write the hints for each tool of your own server, and why.
Exam topics: Tool Invocation Lifecycle, Protocol Primitives (Interactions & Execution).
Four hundred runbook files become resources, one template covers every incident card, and the search now returns resource links. Following a link gives the card of a past outage; a missing incident first comes back as null, then as the proper error. Your task: pick two kinds of data from your own systems and write their addresses.
Exam topics: Protocol Primitives (Interactions & Execution).
Write two prompts, list them, and get one with its argument: it arrives as a user message, not as a system prompt. A missing argument shows where the SDK differs from the specification, and completion suggests service names while Tomas types. Your task: turn two requests your team types again and again into prompts.
Exam topics: Protocol Primitives (Interactions & Execution).
How a host keeps a long, changing list of 400 runbooks: pages with a cursor it never edits, a time to live that is a freshness hint and not a timer, a cache scope for public or private copies, and a list changed signal that carries no list.
Exam topics: Interaction Patterns & Response Handling (Interactions & Execution).
A client subscribes to the restart runbook while the payments team edits it. IncidentDesk learns to notice the change and send an update, but the first client keeps showing its old steps until it reads the runbook again. Your task: list what changes in your systems during an incident, and the address a client would watch.
Exam topics: Interaction Patterns & Response Handling (Interactions & Execution).
Three features you will still meet in older code, all deprecated in the current revision: roots never limited access, sampling let a server use the host's model, and logging sent log lines to the client. What replaces each one, and why deprecated and removed are different labels.
Exam topics: Protocol Primitives (Interactions & Execution).
Follow one tool call through six steps and see which ones are MCP messages and which stay inside the host. When the person says no, the call never leaves the host, so the server sees nothing and there is no MCP error at all.
Exam topics: Model Interaction Flow (Architecture & Components); Tool Invocation Lifecycle (Interactions & Execution).
Read the result type first: complete, input required, or an unknown value that counts as an error. Content is for the model and the person, structured content is for programs, and the host decides which one the model sees. An incident shown as open in one field and resolved in the other shows why both must come from one source.
Exam topics: Schemas & Structured Data (Architecture & Components); Interaction Patterns & Response Handling (Interactions & Execution).
Before a restart, IncidentDesk needs the environment and the reason from Tomas, not from the model. The server answers with input required and a request state, the client sends the same call again with the answers, and the server checks that state as if an attacker wrote it.
Exam topics: Interaction Patterns & Response Handling (Interactions & Execution).
The restart tool now answers with a form for the environment and the reason, and a small host shows it to Tomas and retries with his answers. The debugger shows the sealed request state on the server; a retry without it is asked again, and a made-up one is refused. Your task: write the form for one action in your system that needs a person first.
Exam topics: Interaction Patterns & Response Handling, Protocol Primitives (Interactions & Execution); Permissions & Consent (Security & Governance).
Why a form must never ask for a password, a key, a token or payment details, and how URL mode sends the person to a page instead, so the host sees only an address. Also what URL mode is not: it is not how a client signs in to an MCP server. The IncidentDesk in the repository does not use URL mode; this lesson shows how it would.
Exam topics: Interaction Patterns & Response Handling (Interactions & Execution); Permissions & Consent (Security & Governance).
A rollback reports each step as a progress notification, and Tomas stops it with Control C. The first time, only the call stops while the rollback goes on at the controller; after the fix, the cancel stops the real work too. Your task: write the progress messages of one long job in your system, and what must happen when someone cancels it.
Exam topics: Interaction Patterns & Response Handling, Error Handling (Interactions & Execution).
When work may last longer than the connection, a task answers at once with an ID, and the client checks its status later. Tasks are an optional extension, not core protocol, and a server returns a task only to a client that lists it. When progress is enough, and when you need a task.
Exam topics: Interaction Patterns & Response Handling (Interactions & Execution).
One restart request broken in five places gives the five standard JSON-RPC codes, plus MCP's own three: a header mismatch, a missing client capability and an unsupported version. Every protocol error is for a developer, and a good request whose work failed is not a protocol error at all.
Exam topics: Error Handling (Interactions & Execution).
A typo in a service name first returns a failed result the model cannot use, because the SDK hides the reason. A tool error with the controller's words and the closest name fixes the server, one change in the host passes that text on, and the model corrects its own call. Your task: sort three errors of your own tool into protocol errors and tool errors.
Exam topics: Error Handling (Interactions & Execution).
Three decisions to make before you hear the answer: which kind of error, what follows input required, and progress or a task. For each one, the answer that sounds right, why it fails, and the rule under the current revision.
Exam topics: Interaction Patterns & Response Handling, Error Handling (Interactions & Execution).
Draw the map a security engineer asks for: five zones from the engineer to third-party servers, with what crosses each line and who checks it. A hidden sentence in a code issue shows why being on the company network makes nothing trusted.
Exam topics: Trust Boundaries (Security & Governance).
Tool descriptions and tool results reach the model, so they are untrusted input; annotations are only what a server says about itself; and names in a request prove nothing. The host follows the company's rules, never a server's opinion of itself.
Exam topics: Trust Boundaries (Security & Governance).
A hidden note in a code issue tells the model to restart all services, and with no question in between, the host sends that restart to IncidentDesk. One check in the host, asking the person before any call that can change something, stops it, and a real model is tested too. Your task: list the tools your host runs without asking, and what each could do if the model were fooled.
Exam topics: Risk & Safety Controls (Security & Governance).
A harmful line can hide in a tool's description and reach the model in every conversation, or arrive in an update after the server was approved. How a host stores a hash of each approved tool and holds back any tool whose text changed until a person reviews it.
Exam topics: Risk & Safety Controls (Security & Governance).
When a tired engineer says yes to an attack, the server still keeps the damage small: an account with only the rights its job needs, a sandbox, checks of shape and meaning on every argument, and a limit on how many restarts may run.
Exam topics: Risk & Safety Controls (Security & Governance).
The host asks the person before each risky call and shows the full arguments, which also keeps user data from leaving without a yes. Consent is what the person wants and permission is what they may do, so the server checks the engineer's rights on every call, from a token, never from the model's words.
Exam topics: Permissions & Consent (Security & Governance).
A local stdio server has one caller and takes its secrets from environment variables, so it needs no MCP sign-in. A remote server checks every caller with MCP authorization, and a local server over HTTP must listen only on the local address and check the Origin header against DNS rebinding.
Exam topics: Trust Boundaries, Risk & Safety Controls (Security & Governance).
An office building with a front desk and visitor passes explains OAuth: sign in once at the company sign-in, get a small pass for one server, and show it in the Authorization header on every request. Skip it if you already know OAuth.
Exam topics: Permissions & Consent (Security & Governance).
The three OAuth roles in MCP: IncidentDesk only checks tokens, DemoCloud SSO issues them, and the client in the host asks for them. A 401 points to the server's protected resource metadata, which names where to sign in, and PKCE with S256 protects the sign-in.
Exam topics: Permissions & Consent (Security & Governance).
Put the remote IncidentDesk behind DemoCloud SSO, the course's own sign-in service: a request without a token gets 401, and MCP Inspector follows it through both metadata documents, with the address of a small document about itself as its client ID. A wrong return address stops the sign-in until it matches. Your task: write the client document for a client your team would connect.
Exam topics: Permissions & Consent (Security & Governance).
A valid token issued for another server must be rejected, a token must never be passed on to another system, and a server that acts with its own account must check the user's rights itself. Each rule is shown on a break-in at the chat server and a restart of another team's service.
Exam topics: Permissions & Consent (Security & Governance).
A token for the chat server first gets past the door and is stopped only by luck, with a 403; an audience and issuer check turns it into a 401. Tickets now reach the tracker under IncidentDesk's own account, with Tomas's name as data, and a restart of another team's service is refused. Your task: list the systems your server calls and whose credentials go to each one.
Exam topics: Permissions & Consent (Security & Governance).
Three more places where sign-in goes wrong: a token or a code from the wrong issuer, a token that carries every right all night instead of a 403 and a step-up when a call needs more, and metadata addresses that trick a client into requests inside the network. The repository's IncidentDesk does not add scope step-up; this lesson shows how it would work.
Exam topics: Permissions & Consent, Risk & Safety Controls (Security & Governance).
What an audit record must answer for every tool call: which client, for whom, with which scopes, who approved and what happened, and why a plain log line is not an audit. How a trace parent in the request's meta field joins the host's steps and the server's steps into one OpenTelemetry trace. This is the design a real deployment needs: the course repository does not build these records.
Exam topics: Auditability & Observability (Security & Governance).
Three security decisions to make before you hear the answer: a valid token issued for another server, a yes against the engineer's rights, and whether a local stdio server needs a sign-in. For each one, the line the request crosses and the check that belongs there.
Exam topics: Trust Boundaries, Permissions & Consent (Security & Governance).
How to run the review with the security engineer who approves every server: open with the map of trust boundaries, show one control per boundary on a real call, raise the common mistakes yourself, name the risk that remains, and ask for one decision.
Exam topics: Trust Boundaries (Security & Governance).
Five roles share MCP in a company. You follow the 3 a.m. restart across them, see who can stop what, from one call to one server for everyone, and write it all down in a RACI table with exactly one accountable role per task.
Exam topics: Roles, Responsibilities & Adoption (Use Cases & Ecosystem).
How to bring MCP to fifty engineers and keep control: a pilot with one team and success written in numbers before the start, an allow-list of approved servers, an MCP gateway as one entry point, and governance rules for how a server joins and leaves. Why the gateway never replaces the server's own checks.
Exam topics: Roles, Responsibilities & Adoption (Use Cases & Ecosystem).
Review a vendor's MCP server the way the security engineer needs: read its server.json field by field, ask the running server who it is and which tools it has, and compare. Its token may write to every repository while its tools only read issues, so the server is rejected with a written reason. Your task: read the server.json of a server your team wants and list the smallest rights each secret needs.
Exam topics: MCP Hosts, Clients and Servers (Architecture & Components); Roles, Responsibilities & Adoption, Ecosystem & Portability (Use Cases & Ecosystem).
Turn the pilot into one proposal the sponsor can approve: grow team by team, show each success criterion next to its real result, misses included, name one owner per role and a second owner, write down how a server leaves, and end with one request.
Exam topics: Roles, Responsibilities & Adoption (Use Cases & Ecosystem).
Five areas where MCP helps a company, each with one server and one action, and the three tests a good use case passes: clear actions, a clear data owner and a result a person can check. Why a read-only server still needs review, and why one server that reaches everything fails.
Exam topics: Operational Use Cases (Use Cases & Ecosystem).
Three requests at DemoCloud, decided with two questions: does a person ask in their own words, and does more than one host need the tool? A monthly report gets a script, one assistant gets function calling, and five hosts get an MCP server, starting with the vendor's own.
Exam topics: MCP Purpose & Scope (MCP Fundamentals); Operational Use Cases (Use Cases & Ecosystem).
The five parts around every MCP server, what an SDK tier promises and what it does not, and how to choose: for an SDK, the revision first, then the language and the tier; for a host, the revision, the features and the control it gives the company.
Exam topics: Ecosystem & Portability (Use Cases & Ecosystem).
Who leads MCP today, how a change gets in through a Specification Enhancement Proposal, how the deprecation policy keeps old features working for at least twelve months, and how both sides agree on extensions through capabilities. It ends with an update plan for IncidentDesk.
Exam topics: Interoperability & Value (MCP Fundamentals); Ecosystem & Portability (Use Cases & Ecosystem).
Read the whole night from a recorded trace of 67 records: for each key message, name the sender, the primitive, the exam domain and the trust boundary it crosses. Then find the one message that crossed a boundary with nothing checking it. Your task: label the last seven messages of the night the same way.
Exam topics: Tool Invocation Lifecycle (Interactions & Execution); Trust Boundaries, Permissions & Consent, Auditability & Observability (Security & Governance).
Sort older answers with one label: removed means wrong today, deprecated means it still works but not for new work. One summary table and three cases: the old handshake and sessions, a server's own request in the middle of a call, and roots.
Pairs of messages that look alike, sorted by one question, who acts next: input required or an error, a protocol error or a failed result, a progress note or the final result, content or structured content, progress or a task.
Exam topics: Interaction Patterns & Response Handling, Error Handling (Interactions & Execution).
Security pairs sorted by what each thing really proves: a valid token or a token issued for this server, 401 or 403 with step-up, consent or permission, annotations or controls, and a log line or an audit record.
Exam topics: Permissions & Consent, Auditability & Observability (Security & Governance).
One routine for any situation: who acts, which message or primitive, where the trust boundary is, and only then what the current revision says. You use it on a failed ticket, a runbook the model wants, and a token issued for another server.
What the exam day looks like, from booking to the result: the price and the retake, the checklist before you book, the locked exam browser and its system check, your ID and your room, check-in, and when the result arrives. From the Linux Foundation's exam pages.
A bonus beyond the exam program, which you can skip before the exam. The same night with three agents: a coordinator in Tomas's editor hands out jobs over A2A, and each agent reaches IncidentDesk through MCP as its own host. Every rule of the course still holds for each agent: only the tools of its job, checked by the gateway; its own token for each server, never passed on; a person confirms each risky step; a job from another agent is untrusted input; one trace parent and the audit record show which agent acted, and for whom.
Where to go next with what you know: how to follow new revisions and proposals of MCP, and how to put it to work in your own team.
A one-page quick reference for each exam domain, plus the section summaries, a glossary, and references for JSON-RPC messages and error codes.
A plain-words start for anyone new to AI tools: what turns a chatbot into an agent, the three parts of a tool definition, and what a tool call is. The key point for the whole course: the model only asks, and the program around it checks and acts. Skip it if you already know function calling.
Exam topics: Model Interaction Flow (Architecture & Components).
The Model Context Protocol (MCP) is the open standard that AI applications use to connect to tools and data. Anthropic created it in November 2024, and today the Agentic AI Foundation (AAIF) at the Linux Foundation leads it. Every company that connects AI assistants to its real systems needs people who understand MCP: developers and QA engineers who build and test MCP servers, operations engineers and SREs who run them, and architects, security and platform specialists who decide which servers the company can trust.
This course gives you structured, current knowledge of MCP: the July 2026 revision of the protocol, and exactly the topics that the community itself set as the base for an MCP specialist in the program of the Model Context Protocol Associate (MCPA) exam by the Linux Foundation and the AAIF. No more and no less: nothing outdated, and the one lecture beyond the program is marked as a bonus. Where the current revision changed the rules, you see what was true before and what is true now. The course covers everything the exam checks, so the exam becomes a check of what you already know. The certificate follows from the knowledge; it is not the goal.
You are a platform engineer at DemoCloud, an IT services company with fifty on-call engineers. At 3 a.m. the payment service goes down. You build IncidentDesk, the MCP server that helps the engineer on duty find and fix an outage, while a person decides every risky step. It grows from one search tool to a remote service behind company sign-in that checks every token and every engineer's rights.
Along the way you learn the three things every team that connects AI agents to real systems must get right. Tool design: names, descriptions, input and output schemas, annotations, and errors the model can fix. Permissions: least privilege, consent versus the server's own rights check on every call, and OAuth tokens made for one server only. Monitoring: audit records that say who acted for whom, one trace across host and server, and a gateway as the single entry point.
What you will do, step by step:
MCP Fundamentals: the N×M integration problem, what MCP is and is not, host, client and server, your first tool in MCP Inspector, the same server in two hosts, and MCP compared with function calling, OpenAPI and A2A.
Architecture & Components: JSON-RPC requests, results and notifications typed by hand, stateless requests with server/discover and _meta, input and output schemas with structured content, content types, a 40-line host in Python that hands tools to a model, and the stdio and Streamable HTTP transports.
Interactions & Execution: tools with annotations, resources and templates, prompts with completion, pagination and caching, change notifications, the tool call lifecycle, input_required forms with requestState, URL mode elicitation, progress and cancellation, the Tasks extension, protocol errors and isError.
Security & Governance: trust boundaries, prompt injection, tool poisoning and rug pulls, least privilege and rate limits, consent versus permission, local versus remote servers, OAuth 2.1 with protected resource metadata and a client ID metadata document, audience checks and no token passthrough, scope step-up, SSRF, audit and tracing, and a security review.
Use Cases & Ecosystem: roles and a RACI table, a pilot, an allow-list and an MCP gateway, vetting a server.json from a registry, a rollout proposal, operational use cases, script versus function calling versus MCP, SDK tiers, AAIF governance, SEPs, versioning and extensions.
Exam readiness: the whole incident read message by message, the key distinctions of the current revision, and a four-step routine for reasoning through any question.
A bonus beyond the exam: multi-agent workflows, where agents pass jobs to each other through A2A and each one reaches its tools through MCP with its own tools, its own token and one shared trace.
You see the real messages that travel between programs, not only a nice screen, and the code grows a few lines at a time. You need no paid API key and no Claude Desktop: when a model must choose a tool, you play the model yourself. Run everything on your own computer with Python, Node.js and MCP Inspector, or practice in your browser with nothing to install in Udemy Labs, where your Udemy plan includes labs.
Real failures happen on screen and are fixed on screen: Inspector cannot start a server, a log line gets lost on stdio, a schema check blocks an answer, a model reports no outage because the host dropped the result, Control C stops the call but not the rollback behind it, and a token made for another server is accepted as valid until an audience check stops it.
The course ends with a capstone: the 3 a.m. night read from a trace of 67 records, with the sender, the primitive, the domain and the trust boundary of every key message. Then two practice exams in the format of the real one show where you stand. You leave with an MCP server you built step by step and can explain message by message.
Who this is for: developers, QA engineers, SREs, DevOps, platform and security engineers who work with MCP, and architects and consultants who decide about it. It starts from the basics and explains every new term when it first appears; four short lessons cover tool calling, JSON-RPC, HTTP and OAuth for people who do not write code.
Your instructor is a Technical Architect with more than 12 years in enterprise solutions, an Adobe Certified Master (Adobe Commerce Architect), and a Claude Certified Architect who holds all four Anthropic certifications.
The course has about 7 hours of video in 68 short lectures over 8 sections: 47 concept lessons and 21 hands-on lessons. It also has six five-question section quizzes, a 20-question readiness check and two 60-question practice exams at the end, 15 Udemy Labs in the browser (where your Udemy plan includes labs), one optional role-play, two articles and a cheat sheet. Updated for the 2026-07-28 MCP specification, and kept current as MCP and the exam change.