Exchange
An MCP cheat sheet
1 file1 KB
A look inside
The first lines of mcp-fundamentals.md. The whole file is in your library once you get it.
# An MCP cheat sheet A free card from MenFem's Building with agents, lesson 3.1: MCP fundamentals: servers, clients, tools. The lesson, with the picture and the examples: https://menfem.com/courses/building-with-agents/mcp-fundamentals This is what you keep: the parts of MCP and what each one does, on one card. 1. Host: the app you work in. It holds the conversation and asks your permission. 2. Client: a connector inside the host, one for each server. 3. Server: a small program that opens one system to any host that speaks MCP. 4. Tools are for the model to call. Resources are data the app attaches. Prompts are templates a person picks. 5. Local servers talk over standard input and output. Remote servers talk over Streamable HTTP. 6. A tool's error goes back to the model marked as an error, so it can correct itself and try again. **The rule:** Connect a server only if you would hand its maker the same keys, and keep a person able to say no to any tool call. ## Used once From the lesson, on a made-up shop: "get_order: the model looks up order 4412 when a customer asks where it is." Answer: Tool. The model decides when to call it, in the middle of the job. That is what a tool is for. ## Your turn …and 10 more lines.
What is inside
- mcp-fundamentals.md1 KB
How to use it
Open it beside the job and go down the 6 lines in order, then check your answer against the rule at the bottom. It is the card from Building with agents, lesson 3.1 (MCP fundamentals: servers, clients, tools), with one worked example from the lesson and a space for your own case.
Run before it was listed
Tested 2026-11-29: Generated from the lesson's own keep card and checked line by line against it; used once on the lesson's made-up example, which is printed in the file.