Phase 6: MCP
Plug tools into any AI app with one protocol. The Model Context Protocol (MCP) is a standard way for an AI app to discover and call tools and read resources. Write a server once and many apps can use it.
After this phase you can
- Explain servers, clients, tools, resources and prompts
- Read a JSON-RPC exchange line by line
- Build a small custom MCP server
Before you start: Phases 4 and 5. Basic JSON. Node.js 18 or newer only if you build the TypeScript server.
Lessons in this phase
- Model Context Protocol Beginner · 11 min
The Model Context Protocol (MCP) is an open standard that lets any AI app talk to any tool or data source through one shared message format.
- MCP Server Beginner · 11 min
An MCP server is a program that exposes tools, resources and prompts to MCP clients over a transport such as stdio.
- MCP Client Intermediate · 11 min
An MCP client is the part of an AI app that connects to one MCP server, negotiates capabilities and sends its requests.
- MCP Tools Intermediate · 12 min
Tools are actions a server exposes, each with a name, a description and a JSON Schema for its input, and the model decides when to call them.
- MCP Resources Intermediate · 9 min
Resources are read-only data a server exposes, each identified by a URI, which the host application chooses to load into context.
- MCP Prompts Intermediate · 8 min
Prompts are reusable message templates a server offers, which the user picks explicitly, much like slash commands.
- Build a Custom MCP Server Advanced · 14 min
Build a small notes server step by step: design narrow tools, validate input, expose notes as resources, add a prompt, test it and connect it to a host safely.