This project defines a ReadMcpResourceTool, a utility that allows an AI assistant to fetch specific resources (like files or data) from connected MCP servers by URI. It orchestrates the process of validating inputs, establishing communication with the server, and handling the response. Notably, it includes a strategy to persist binary data (blobs) to the local disk to keep the context window clean, while displaying text content and operation summaries directly in the user interface.
Generated by Code IQ