Skip to content

09 — Quiz: build an MCP server

Pick an answer. The quiz checks it and shows the explanation.

#

1. You add console.log("debug") to a tool handler of a stdio server. What breaks?

#

2. Claude calls add_note. Which process writes notes.json?

#

3. You move the server from stdio to Streamable HTTP on localhost. What stays the same?

#

4. Claude asks to delete a note that doesn't exist. The server replies with isError: true. Why is that better than crashing?

#

5. The HTTP server binds to 127.0.0.1 and checks the Host and Origin headers. What does that protect against?

Quiz Progress

0 / 0 questions answered (0%)

0 correct