What is the primary goal of the document mention feature in the MCP server?	To allow users to mention documents (using an @ symbol) and automatically fetch and insert their contents into the prompt sent to Claude.
What are the two distinct aspects of the document mention feature?	1. Displaying a list of all available documents in an autocomplete window when the @ symbol is typed. 2. Fetching the content of a single document when it is mentioned in a submitted message.
How does the MCP server expose data and read operations to the client?	By using "resources," where one resource is typically defined for each distinct read operation.
What is the difference between a Direct Resource and a Templated Resource?	A Direct Resource has a static URI (e.g., `docs://documents`), while a Templated Resource has one or more parameters or wildcards in its URI.
How does the MCP Python SDK handle parameters within a templated resource URI?	The SDK automatically parses the ID/parameter and provides it as a keyword argument to the associated function, using the string name from the URI.
What is the function of the MIME type when defining an MCP resource?	It provides a hint to the client about the type of data the resource will return (e.g., `application/json` or `text/plain`).
Describe the general flow when a client requests a resource from the MCP server.	The client sends a read resource request containing a URI; the MCP server uses that URI to run the associated function and returns the result in a read resource result message.
What URI was used in the example to define the resource that returns a list of all document IDs?	`docs://documents`
When defining a resource to fetch a single document's content, why is a templated resource necessary?	Because the URI must include a wildcard or parameter (like `doc_id`) to allow the client to specify which document to retrieve.
What is the purpose of the `mcp.resource` decorator in the server implementation?	It defines a specific endpoint or route handler on the MCP server that is responsible for handling a particular data read operation.
