How to Query Live XML Data in Perplexity MacOS Desktop
Perplexity is an AI-powered research and answer engine that allows users to combine web search, structured data, and connected tools through a unified conversational interface. With Perplexity Desktop for macOS, users can bring local tools and data sources directly into their workflow using MCP, enabling fast, context-aware insights powered by live data.
Model Context Protocol (MCP) is an emerging, open-source standard for connecting LLMs with external services and enterprise data sources. Using MCP Servers, AI clients such as Perplexity Desktop can securely interact with applications and data, performing actions, retrieving live information, and enabling natural language access to data.
In this article, we guide you through installing the CData MCP Server for XML, configuring the connection to XML, and interacting with your live XML data from Perplexity Desktop.
Step 1: Download and install the CData MCP Server for XML
- To begin, download the CData MCP Server for XML
- Find and double-click the installer to begin the installation
- Drag the CData MCP Server app into the Applications folder
When the installation is complete, you are ready to configure your MCP Server by connecting to XML.
NOTE: Since you downloaded the application from the internet and not the Apple App Store, you may see a warning that the application was not opened because Apple could not verify its security. You may continue with the installation.
Installing a trusted, unverified App
CData's solutions are trusted across the globe by some of the largest software vendors in the world. That said, if you have any concerns about continuing, please consult with your IT and/or security team.
- In the warning message that pops up, click "Done"
- Open "System Settings" on your machine and navigate to the "Privacy & Security" page
- Scroll down to the "Security" section and click "Open Anyway"
- Authorize the installation (passkey or password)
Step 2: Configure the Connection to XML
-
After installation, you can open the CData MCP Server for XML from the Applications folder on your mac
- Click the dropdown menu in MCP Configuration > Configuration Name and select "new configuration"
- Name the configuration (e.g. "cdata_xml") and click "OK"
-
Enter the appropriate connection properties in the configuration wizard.
Connecting to Local or Cloud-Stored (Box, Google Drive, Amazon S3, SharePoint) XML Files
CData Drivers let you work with XML files stored locally and stored in cloud storage services like Box, Amazon S3, Google Drive, or SharePoint, right where they are.
Setting connection properties for local files
Set the URI property to local folder path.
Setting connection properties for files stored in Amazon S3
To connect to XML file(s) within Amazon S3, set the URI property to the URI of the Bucket and Folder where the intended XML files exist. In addition, at least set these properties:
- AWSAccessKey: AWS Access Key (username)
- AWSSecretKey: AWS Secret Key
Setting connection properties for files stored in Box
To connect to XML file(s) within Box, set the URI property to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect to Box.
Dropbox
To connect to XML file(s) within Dropbox, set the URI proprerty to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect to Dropbox. Either User Account or Service Account can be used to authenticate.
SharePoint Online (SOAP)
To connect to XML file(s) within SharePoint with SOAP Schema, set the URI proprerty to the URI of the document library that includes the intended XML file. Set User, Password, and StorageBaseURL.
SharePoint Online REST
To connect to XML file(s) within SharePoint with REST Schema, set the URI proprerty to the URI of the document library that includes the intended XML file. StorageBaseURL is optional. If not set, the driver will use the root drive. OAuth is used to authenticate.
Google Drive
To connect to XML file(s) within Google Drive, set the URI property to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect and set InitiateOAuth to GETANDREFRESH.
The DataModel property is the controlling property over how your data is represented into tables and toggles the following basic configurations.
- Document (default): Model a top-level, document view of your XML data. The data provider returns nested elements as aggregates of data.
- FlattenedDocuments: Implicitly join nested documents and their parents into a single table.
- Relational: Return individual, related tables from hierarchical data. The tables contain a primary key and a foreign key that links to the parent document.
See the Modeling XML Data chapter for more information on configuring the relational representation. You will also find the sample data used in the following examples. The data includes entries for people, the cars they own, and various maintenance services performed on those cars.
- Click "Connect" to authenticate with XML.
- Click "Save Configuration" to save the MCP server
With your MCP Server configured, you are ready to connect it to Perplexity Desktop.
Step 3: Connect the MCP Server to Perplexity Desktop
- Download the Perplexity Desktop application for macOS and sign in with your Pro or Premium account
- Open Settings > Connectors.
If the Perplexity Helper App is not installed, you will be prompted to download it.
Install the Helper App, then restart Perplexity Desktop
- After restarting, return to Settings > Connectors and click Add Connector
- Select the Simple tab and assign a name for the connector (e.g., "CData XML MCP").
In the Command box, enter the absolute path to your MCP Server executable.
For example:
/Applications/CData MCP Server for XML.app/Contents/Payload/jre/Contents/Home/bin/java \ -jar /Applications/CData MCP Server for XML.app/Contents/Payload/lib/cdata.mcp.xml.jar \ cdata_xml
- Click Save.
Your MCP Server should now appear in the connector list with a "Running" status
Step 4: Query Your Live XML data in Perplexity Desktop
- Open a new chat in Perplexity Desktop.
Click the Sources toggle and enable your MCP Server
- Start asking questions about your XML data.
For example:
"List all the tables available in my XML data connection."
Connect your AI to your XML data today!
CData MCP Servers make it simple to connect Perplexity and other LLM clients to real-time enterprise data. Download a free, 30-day trial and join the CData Community to share insights, ask questions, and help shape the future of enterprise-ready AI.