How to extract data from a folder of documents at once
Leave feedback
On this page
Extraction is rarely about one file. It is about the folder that arrived this morning.
Note
The commands and config snippets on this page are for the .NET build of the server, which ships as a Docker image only. Installation and client setup: MCP server for .NET. Other platforms will expose the same tools with their own launch command; everything else on this page applies unchanged.
Setup
Mount the folder into the container as /data and point GROUPDOCS_MCP_STORAGE_PATH at it (configuration). Files are resolved by name, so the agent passes invoice-014.pdf, not a host path.
The prompt
For every PDF in my documents folder: extract the tables as JSON, total the amount column, and give me one table of file name → total → page count.