Lesson 10 of 15
Build a small MCP server
Write a working server with the official SDK, test it with the Inspector and connect it to an agent.

In this lesson
- A practice-log server
- Set up the project
- The server code
- Test it with the MCP Inspector
- Connect it to an agent
- Designing tools a model can use well
Ultra Premium
Unlock this lesson
Ultra Premium opens the 6 premium lessons in Building with agents, along with the rest of WhiteBox's premium lessons and problems.
Not ready yet? Read the free lesson: What a coding agent actually is