GNGiseldo Neo and Alana NeoBooks
Building AI Agents10 / 18

MCP: a protocol for tools

Choose an option and select “Check”. Your answers are saved only in this browser.

5 questions in this chapter do not have a published answer key yet.

Question 1

What is the correct order of the MCP handshake?

Answer key not published yet.

Question 2

Why is sys.stdout.flush() mandatory in the server?

Answer key not published yet.

Question 3

What does it mean when readline() returns an empty string in the client?

Answer key not published yet.

Question 4

What is the JSON-RPC error code for a nonexistent method?

Answer key not published yet.

Question 5

What is the structural benefit of MCP that you do not get just by writing Python functions?

Answer key not published yet.