# How to search documents with AI agents using MCP Search a folder of PDF, Word, Excel and email files with an AI agent over MCP, locally: index once, find the matching documents, and quote the pas...... ## The pattern ```text user agent Search MCP server..."indexName":"contracts"} | stores text | |<- "5 document(s) added,...