MCP Fundamentals
Explain and use the Model Context Protocol: hosts, clients and servers, its primitives and transports, and how agents discover and call MCP tools.
3 objectives 6 steps about 100 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Describe MCP's host-client-server architecture and its server primitives (tools, resources, prompts), and choose the right primitive for a capability.
- Connect an agent host and a minimal client you write with an official SDK to a local (stdio) and a remote (Streamable HTTP) MCP server, and inspect their tools with the MCP Inspector.
- Trace an MCP tool call through its JSON-RPC messages, including server discovery, protocol version handling and error results.
Lesson plan
6 steps, about 100 min · 5 of 5 lessons available so far
- Why a Protocol for Tools and Context Concept · 15 min
- Primitives: Tools, Resources and Prompts Concept · 15 min
- Lab: A Host and Your Own Client on Local and Remote Servers Lab · 30 min
- Reading the Wire: A Tool Call in JSON-RPC Worked example · 20 min
- Spec Revisions and Compatibility Concept · 10 min
- Check: MCP Architecture Scenarios Knowledge check · 6 questions
Practise it
Connect two open-source MCP servers (for example a filesystem server limited to one folder and a fetch server) to an agent host and to a minimal client you write with an official SDK, list their tools in the Inspector, and capture and annotate the JSON-RPC messages of one successful and one failing tool call.
References
Hard prerequisites
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.