What is an MCP server?
Understand MCP servers, clients, tools, resources, and prompts through a small read-only meeting-notes example.
Understand how the Model Context Protocol works, build a small server, and check its tools in your Claude client.
The course uses two fictional meeting notes. The weekly-01 note is a confirmed planning meeting, and retro-02 is a draft retrospective. Your first tool, get_note, takes a single ID and returns the matching title and status. You can try it against the sample data on your machine.
The tool accepts IDs that follow the sample format. Decide which response a caller should receive for a well-formed ID with no record, and how the server should handle a malformed ID.
Claude runs in a host application. The host’s MCP client connects to your server, discovers the tools it exposes, and can call one when the task needs it. The server validates the arguments and supplies the result. The host then presents the result to Claude or uses it in the application.
A local server with standard input and output keeps the first test on your machine. Some clients can use an HTTP endpoint for a remote server. Confirm the transport your client accepts before you design the connection.
Try weekly-01 and verify that the result says Weekly planning and confirmed. Try missing-03 and check that the server reports an unknown note. Then send weekly alone to check that the input schema rejects it. Repeat the known-ID check through your chosen client and confirm it picked get_note.
Keep diagnostics on standard error when using stdio so protocol messages own standard output. Add a new capability only after the simple requests work from the client.
Understand MCP servers, clients, tools, resources, and prompts through a small read-only meeting-notes example.
Follow a meeting-note lookup through the MCP host, client, transport, tool schema, and result.
Create a Node.js project for an MCP server, pin the TypeScript SDK v2 packages, and compile to a stable entry point.
Register a typed get_note tool, expose it over stdio, and verify discovery and three result paths without a model.
Extend the meeting-notes server with a filterable list_notes tool and test the behavior of valid, absent, and invalid filters.
Build the sample server, add its stdio launch command to the Desktop configuration, and verify a note lookup.
Reuse the compiled meeting-notes MCP server in Claude Code and VS Code and compare tool results across clients.
Use reproducible checks to distinguish an MCP build failure, launch error, connection problem, and invalid tool response.
Use a release checklist for the meeting-notes MCP server, covering reproducible builds, tool contracts, permissions, and host configuration.