I don't think this will work if the query plan is not displayed in its tab. Sometimes, query plans are stored in tables and people can run select on those tables returning just the xml in results grid ...
CData's Model Context Protocol (MCP) Server for Acumatica This project builds a local, read-only MCP server. For fully remote MCP access, check out the first managed MCP platform: CData Connect AI.