Program · 10 courses

MCP Servers: build the tools AI agents use

Ten short, hands-on courses on the Model Context Protocol, the open standard that lets AI applications use tools and data. Learn it by building it: every lesson has a short video, every course has a lab checked by tests, and every course ends with a certificate.

10courses, sold one by one
~16 hof study in total
145browser exercises
10labs checked by tests
39short videos

Your path through the program

Three stages, ten courses. Start at the beginning, or jump to the stage you need.

Foundations
Courses One to Three

Learn the language of MCP: what it is, how a connection starts, and how to write your first tool.

123
Build
Courses Four to Six

Design tools agents can use, offer resources and prompts safely, then build and test a whole server.

456
Agents and defence
Courses Seven to Ten

Run the agent loop, measure it, defend the server, and finish with a capstone order desk.

78910

The ten courses

Each course is sold on its own at its own price, and each has its own lab, quiz, assignment and certificate.

3
Course Three · about 96 minutes

Your First Tool

Write a real tool: describe its arguments with a schema, validate them, run it and report problems in a way a model can fix.

You build: A validated tool server

15 exerciseslab with testsquizassignmentcertificate
7
Course Seven · about 96 minutes

The Agent Loop

Write the loop that lets a model use MCP tools: the record, the safeguards and repeatable tests with a scripted model.

You build: A tested agent loop

15 exerciseslab with testsquizassignmentcertificate
9
Course Nine · about 96 minutes

Securing MCP Servers

Learn the main threats to MCP tools and agents and build layered defences: least privilege, real approval, untrusted-output handling, limited reach and an audit trail.

You build: A hardened refund server

15 exerciseslab with testsquizassignmentcertificate

Take more, pay less

The saving applies to every course in the same order, and your invoice lists each course as its own line. Pay by Interac e-Transfer; we verify the payment and your courses open. Taxes are added at checkout.

2+ courses
5% off each
4+ courses
10% off each
7+ courses
15% off each

Program outline

Everything about the program in one place: what you learn, who it is for, how you are evaluated and how a certificate is earned.

Program description

MCP Servers is a program of 10 short, hands-on courses on the Model Context Protocol (MCP), the open standard that lets AI applications use tools and data. Each course takes about 90 minutes and is complete in itself; together they take you from the first message to a defended, tested server. The program is offered online and self-paced. Each course has readings with short videos, browser exercises, a lab checked by automated tests, a quiz, a written assignment and a certificate of completion.

Who it is for

Developers, data and automation staff, and technical leads who want to understand and build the tool layer that AI agents use. No earlier MCP knowledge is needed.

Admission requirements
  • Basic Python reading skills (a function, a dictionary, an if statement). Course One is a good start, and every course explains the protocol ideas it uses.
  • A computer with a current browser. Labs run in the browser, so nothing is installed and no AI account or API key is needed.
  • Learners are 19 or older, or have a parent or guardian's permission.
  • Courses are taught in English.
Program learning outcomes

By the end of the program a learner can:

  • Explain what the Model Context Protocol is for, who talks to whom, and how its messages look.
  • Run a connection from the first handshake to a list of tools, resources and prompts, and say what each capability allows.
  • Write a tool with a clear schema, validate its arguments and report problems in a way a model can fix.
  • Design tool names, descriptions and errors so an agent chooses the right tool and recovers from mistakes.
  • Offer documents and prompt templates to an AI application without leaking files, secrets or oversized content.
  • Build a server as a table and a router, test it with scripted messages, and log its calls safely.
  • Write the agent loop that lets a model use tools, with limits, repeat checks and repeatable tests.
  • Measure an agent with scenarios, score runs, and compare two versions to catch regressions.
  • Defend a server with least privilege, real approval, untrusted-output handling, limited reach and an audit trail.
  • Finish a working order-desk server, attack it, and defend it.
Course-by-course syllabus

Open a course to see its lessons, its lab and what you can do at the end.

Course One: What MCP Is and Your First Message about 96 min

Lessons and lab

  1. Lesson 1: Why MCP exists and who talks to whom
  2. Lesson 2: JSON-RPC, the shape of every message
  3. Lesson 3: Your first conversation, initialize and tools/list
  4. Lab: Write a tiny MCP server

By the end you can

  • Explain what MCP is for and name the host, client and server roles and the three capabilities a server can offer.
  • Write and read the four JSON-RPC message kinds MCP uses.
  • Write replies to the opening handshake and describe a tool with a name, description and input schema.
  • Write a small MCP server in Python that passes eight tests, using the right kind of error for each failure.
Course Two: The Handshake and the Three Capabilities about 96 min

Lessons and lab

  1. Lesson 1: Versions and capabilities
  2. Lesson 2: Tools, resources and prompts on the wire
  3. Lesson 3: Long lists and change notices
  4. Lab: A server with three capabilities

By the end you can

  • Explain how a protocol version and the capabilities are agreed in initialize.
  • Write and read the list and fetch messages for resources and prompts.
  • Use cursors to page through long lists and say when a change notification is due.
  • Write a server that negotiates a version and offers a tool, resources and a prompt, passing nine tests.
Course Three: Your First Tool about 96 min

Lessons and lab

  1. Lesson 1: Describing arguments with a schema
  2. Lesson 2: Running a tool, tools/call and its result
  3. Lesson 3: Checking arguments and failing helpfully
  4. Lab: A temperature tool that checks its arguments

By the end you can

  • Write an input schema with types, required arguments and an enum.
  • Build correct tools/call results and choose between protocol errors and tool errors.
  • Write a validator and error messages that name every problem.
  • Write a tool server that passes nine tests.
Course Four: Designing Tools Agents Can Use about 96 min

Lessons and lab

  1. Lesson 1: Names and descriptions a model can choose from
  2. Lesson 2: Errors, near misses and output size
  3. Lesson 3: Actions, approval and retries
  4. Lab: A linter for tool descriptions

By the end you can

  • Write tool names and descriptions that a model can choose from.
  • Write errors that name the problem and suggest the fix, and keep output short and honest.
  • Design action tools with separate read and write, approval and an idempotency key.
  • Write a linter that checks tool descriptions automatically and passes nine tests.
Course Five: Resources and Prompts: Giving Context Safely about 96 min

Lessons and lab

  1. Lesson 1: Resources in depth, URIs, templates and content types
  2. Lesson 2: Giving context safely
  3. Lesson 3: Prompts in depth, arguments and embedded resources
  4. Lab: A resource and prompt server that does not leak

By the end you can

  • Describe resources with URIs and describe families of them with templates.
  • Apply checks that block path traversal, redact secrets and cap output size.
  • Apply safe prompt templates and embed a resource in a prompt.
  • Write a context server that passes nine tests.
Course Six: Build and Test an MCP Server about 96 min

Lessons and lab

  1. Lesson 1: The shape of a server, one table and one router
  2. Lesson 2: Testing a server with data
  3. Lesson 3: Logging calls without leaking
  4. Lab: An order desk server

By the end you can

  • Design a server as a method table and a router that turns crashes into error replies.
  • Write tests as data with partial matching.
  • Write logs that do not leak secrets or corrupt the protocol channel.
  • Build a two-tool order desk server that passes nine tests.
Course Seven: The Agent Loop about 96 min

Lessons and lab

  1. Lesson 1: What an agent loop is
  2. Lesson 2: Safeguards, limits and repeat failures
  3. Lesson 3: Scripted models and reading a run
  4. Lab: Write the agent loop

By the end you can

  • Describe the agent loop and keep the conversation record correctly.
  • Apply step limits and repeat limits and feed errors back.
  • Use a scripted model to test a loop and read a run.
  • Write an agent loop that passes nine tests.
Course Eight: Evaluating Agents and Tools about 96 min

Lessons and lab

  1. Lesson 1: Why measure an agent
  2. Lesson 2: Writing scenarios that cover the ground
  3. Lesson 3: Reading results and comparing runs
  4. Lab: Score, evaluate and compare

By the end you can

  • Explain why scenarios beat single trials and what a scenario checks.
  • Write a suite that covers happy, recovery, refusal and no-tool cases with fresh state.
  • Analyse pass rates, flaky scenarios and the fixed and broken lists.
  • Write score, evaluate and compare so that nine tests pass.
Course Nine: Securing MCP Servers about 96 min

Lessons and lab

  1. Lesson 1: The threat picture, what can go wrong
  2. Lesson 2: Least privilege and real approval
  3. Lesson 3: Treat output as data and limit the reach
  4. Lab: A refund desk that resists misuse

By the end you can

  • Identify the main threats to a tool-using agent and explain why no single defence is enough.
  • Apply least privilege and bind approvals to the exact action.
  • Apply untrusted-output wrapping, host allowlists and a safe audit log.
  • Build a refund server whose layered defences pass nine tests.
Course Ten: Capstone: Build, Attack and Defend the Order Desk about 91 min

Lessons and lab

  1. Part 1: The brief and the plan
  2. Part 2: Lab A, build the order desk
  3. Part 3: Lab B, defend the order desk

By the end you can

  • Plan a server project from a brief and an acceptance checklist.
  • Build a three-tool order desk with honest errors and idempotent refunds.
  • Secure it with roles, bound approval tokens, a limit, untrusted-note handling and a safe audit log.
  • Explain which layer stops which attack and what remains risky.
How you are evaluated
  • Exercises: about 15 per course, marked instantly in the browser (code exercises run your code against tests).
  • Lab: a Python lab whose tests must pass.
  • Quizzes and final exam: a module quiz and a final exam in each course, plus a gamified quiz arena.
  • Written assignment: one per course, marked against a published rubric. An automatic first mark appears straight away and is provisional; CapabilityNext faculty can review it and the faculty grade is final.
Completion and certificate

A learner earns the certificate of completion for a course by finishing at least 80% of its exercises and passing its final exam. A certificate is issued for each course and can be printed or verified online by its number. A certificate of completion shows that the course was finished on this platform; it is not an accredited qualification or a professional licence.

Duration and access

About 16 hours of study in total (10 courses of about 80 to 96 minutes). There are no set class times. Each course stays open for 12 months from the day payment is verified. There is no required homework outside the courses.

Delivery and materials

100% online and self-paced (asynchronous). Everything is on the CapabilityNext learning site: readings, short videos, the exercises, the labs and the quizzes. No textbook or software purchase is needed.

Teaching and support

Learning is guided by the course content and an instructor guide for each course. Written assignments are reviewed by CapabilityNext faculty. Questions can be sent through the Contact page.

Fees and taxes

Each course is sold on its own at its own price (see the courses above). Take several in one order and each course gets a saving: 2 or more courses 5% off each, 4 or more courses 10% off each, 7 or more courses 15% off each. Taxes are added at checkout. The refund policy is shown at checkout and on the Policies page of the shop.

Questions

Do I need an AI account or an API key?

No. Labs run in your browser and use a scripted stand-in for the model, so the tests are repeatable and nothing leaves your computer.

Do I have to take the courses in order?

Each course stands on its own, but they build on each other. If you are new to MCP, start with Course One.

How long do I have access?

Each course stays open for 12 months from the day your payment is verified.

How do I pay?

By Interac e-Transfer after you place the order. We check the payment, then your courses open.

Is there one certificate for the whole program?

A certificate is issued for each course you complete. There is no combined program certificate at present.

Ready to build your first MCP server?

Start with Course One, or take the whole program at your own pace.

Buy online Ask us a question