No exam weights apply. Lessons follow practical prerequisites, from reading one JSON-RPC line to a protected HTTP server, clients and a packaged command.
Explain per-request versions, server/discover and UnsupportedProtocolVersionError.
Explain the legacy initialize handshake, how the first request fixes a stdio connection's era, and how a dual-era server serves both.
Use the SDK client's auto, legacy and pinned modes and read what each reports.
With course access: 24 lessons
Tools (4 lessons)
Define tools from type hints
Write tools whose input schemas come from type hints: required and optional parameters, Field descriptions and constraints, Literal enumerations and nested models.
Predict a tool's listed schema from its signature and explain how invalid arguments are rejected before the function runs.
Build a two-field Pydantic model and read its JSON Schema.
Return structured results
Return Pydantic models, dicts and primitives and read the output schema and structured_content each produces.
Explain the wrapping rules, structured_output on and off, and result validation before sending.
Report tool failures the right way
Choose between ToolError, MCPError and an unexpected exception and show what the client sees for each.
Repair a tool that returns error text as a successful result.
Classify six failure cases into the three kinds and the SDK's own validation path.
Design names, descriptions, annotations and state handles
Write tool names within the allowed characters, descriptions and titles for a model and a user, and behaviour annotations as hints.
Keep listing deterministic and replace connection state with explicit handles.
Explain why descriptions are untrusted input to a host.
Resources and Prompts (2 lessons)
Expose resources and resource templates safely
Declare static resources with the right MIME type and content kind, and templates with typed parameters.
Explain the default path-safety checks, safe_join and the -32602 not-found error, and predict which URIs match.
Write prompts and argument completions
Write prompts with string arguments and descriptions, single and multi-message templates and embedded resources.
Add a completion handler and explain how hosts expose prompts as commands.
Inside the Handler (4 lessons)
Use lifespan state and the handler context
Open the SQLite database once in a lifespan and read it from handlers through a typed context.
Explain request_id, read_resource, headers and why sync tools run on worker threads.
Count rows in the practice database with a parameterised query.
Log without breaking stdio
Log with the logging module to standard error and explain why standard output belongs to the protocol.
Read the evidence of a stray print: the bare line and the client's parse-failure entry.
Recognise the deprecated protocol logging and its warning.
Report progress and handle cancellation
Report progress from an async tool and display it from a client callback.
Clean up in finally when a client timeout cancels an async tool, and check for cancellation in a sync tool.
Ask the user mid-call with elicitation
Use a resolver that returns Elicit with a flat schema and branch on accept, decline and cancel.
Read the input_required result and the retry on the wire and explain requestState integrity.
Explain the capability requirement, the schema limits and when URL mode is required.
Testing and Debugging (2 lessons)
Test a server in memory with pytest
Write pytest tests with the anyio marker and an in-memory Client fixture covering results, tool errors, validation, progress and elicitation.
Explain what raise_exceptions does and why pytest-asyncio is unnecessary.
Debug from logs, raw messages and the Inspector
Diagnose server and client problems from server stderr, client logs, hand-written messages and the troubleshooting catalogue.
Optionally run the MCP Inspector's web and CLI clients against your server (needs Node.js).
Transports and Hosts (4 lessons)
Run over stdio and connect a host
Launch a server with an absolute command and explain the environment allow-list and working directory.
Write host configuration for Claude Desktop, Claude Code and VS Code and verify it with the course mini-host.
Find host logs and diagnose three host failures.
Serve over Streamable HTTP
Run the server over Streamable HTTP in a second terminal and send requests with curl using the required headers.
Read JSON and SSE responses and reproduce the transport's error cases.
Use an x-mcp-header parameter and connect the SDK client by URL.
Configure deployment settings and serve legacy clients
Allow a hostname with TransportSecuritySettings, mount under a prefix with the session-manager lifespan and a health route, and run with uvicorn.
Explain workers, shared request-state keys, json_response, stateless_http and what legacy sessions need.
Protect a remote server with bearer tokens
Add a development-only token verifier with AuthSettings and read the 401 challenge, the metadata document and the 403 insufficient_scope response.
Read the caller inside a handler and validate the token's audience.
Trace the real OAuth flow and discovery and explain why token passthrough is forbidden.
Staying in Sync (1 lessons)
Notify clients of changes
Open subscriptions/listen from the client and publish resource updates and list changes from tools.
Register a tool at run time and explain ttlMs, cacheScope and invalidation.
Clients (3 lessons)
Use the SDK client over every transport
Connect with an in-memory server, StdioServerParameters, a URL and a custom httpx2 client, and read identity and capabilities.
Set timeouts, page through list results, and tell protocol errors from tool errors.
Combine several servers in one session group
Connect two servers through ClientSessionGroup, see a name collision fail, and resolve it with a component_name_hook.
Explain why the hook must apply to every name and what is sent to each server.
Drive tools with a scripted stand-in model
Write a loop in which a scripted stand-in reads the listed tool schemas, picks a tool, receives content and is_error results, retries after a tool error and stops.
Separate what the host, the client and the server do and explain why tool descriptions are untrusted input.
Security and Packaging (3 lessons)
Review a server and its configuration for security
Apply the specification's security principles and best practices to a server and host configuration.
Find seven planted problems and say which controls remove a risk and which only reduce it.
Package a server for hosts
Write a pyproject.toml with pinned dependencies and a console-script entry point, install it editable, and launch the installed command from a host configuration.
Report a version through MCPServer(version=...).
Handle deprecations and protocol change
Read the deprecated-features registry and the SDK's deprecated page and recognise MCPDeprecationWarning.
Decide which calls to avoid in new servers and name their replacements.
Final Challenge (1 lessons)
Final challenge: a meeting-room booking server
Build the booking server from its generated database with tools, structured availability, confirmation through elicitation, resources, a prompt and tests.
Serve it over HTTP with an allow-list and a development token and connect it through a host configuration verified with the mini-host.
Explain three design decisions against the acceptance checks.
Study views
Full Course
Revision
Quick Reference
Unlock all 29 lessons
Course access opens every lesson and adds revision notes, the Quick Reference, saved progress, bookmarks and your own notes.
INR 199 plus 18% GST. 90 days of online access. No auto-renewal.
Know what is included
Independent learning material from Vectametric. Not affiliated with or endorsed by the organisations behind the tools it teaches. Practice exams and projects are separate. Completing a course is not a professional certification.
Questions about courses
Are these video courses or reading courses?
The current courses use written lessons, examples and diagrams. Full Course, Revision and Cheat Sheet or Quick Reference views cover the same learning sequence at different levels of detail.
Which course should I start with?
Choose a Certification Course for a named exam, a Career Path Course for a role-led sequence, or a Skill Course for a focused subject. Read its level, prerequisites and curriculum before enrolling.
Do revision notes replace the full lessons?
No. Start with the full explanations, then use revision notes to refresh your understanding. Cheat sheets are concise study references, not a substitute for learning or permission to use notes during an official exam.
Are practice exams and projects included?
No. Course access, practice-exam bundles and project access are separate. An official certification, exam booking or voucher is not included.
How long do I have access?
The course page and checkout show the current online access period and price, including free enrollment where offered. Access starts when enrollment is confirmed and does not auto-renew.
Can I read lessons before enrolling?
Yes. Each course opens its first lessons to read without an account, and some courses are open in full. The course curriculum marks the lessons you can read now. Course access adds the remaining lessons, the Revision and Cheat Sheet or Quick Reference views, saved progress, bookmarks and personal notes.
Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.