What is the primary purpose of adding an MCP server to the CLI chatbot?	To add specific functionality (tools) beyond the existing chat capabilities.
Where is the implementation of the MCP server placed in the project structure?	In the `mcpserver.py` file inside the root project directory.
What technology is used to simplify the creation of the MCP server and its tools?	The official MCP Python SDK.
How does the MCP Python SDK simplify tool definition?	By allowing developers to define tools in Python, which the SDK then automatically generates the required JSON schema for.
What is the function of the `read document` tool?	To take a document ID and return the contents of that document from the in-memory `docs` dictionary.
What error handling must the `read document` tool implement?	It must check if the provided document ID exists in the `docs` dictionary and raise a `ValueError` if it is not found.
What is the function of the `edit document` tool?	To perform a find-and-replace operation on a document's content.
What are the three required arguments for the `edit document` tool?	`doc ID`, `old string` (the text to find), and `new string` (the replacement text).
