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.
CData Code Assist MCP provides schema-aware context to AI tools β whether you're using it for AI-assisted code generation in IDEs like Cursor, or for querying live data through chat interfaces like Perplexity Desktop.
In this article, we guide you through installing CData Code Assist MCP for HubDB, configuring the connection to HubDB, and interacting with your live HubDB data from Perplexity Desktop.
Step 1: Download and install CData Code Assist MCP for HubDB
- To begin, download CData Code Assist MCP for HubDB
π Downloading the CData Code Assist MCP installer
- Find and double-click the installer to begin the installation
- Drag the Code Assist MCP app into the Applications folder
π Completing the Code Assist MCP installation
When the installation is complete, you are ready to configure Code Assist MCP by connecting to HubDB.
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
π Dismissing the notification
- Scroll down to the "Security" section and click "Open Anyway"
π Installing a trusted, unverified App
- Authorize the installation (passkey or password)
π Authorizing the installation
Step 2: Configure the Connection to HubDB
-
After installation, you can open CData Code Assist MCP for HubDB from the Applications folder on your mac
π The Code Assist MCP configuration wizard
- Click the dropdown menu in MCP Configuration > Configuration Name and select "new configuration"
π Creating a new configuration
- Name the configuration (e.g. "cdata_hubdb") and click "OK"
π Naming the configuration
-
Enter the appropriate connection properties in the configuration wizard.
There are two authentication methods available for connecting to HubDB data source: OAuth Authentication with a public HubSpot application and authentication with a Private application token.
Using a Custom OAuth App
AuthScheme must be set to "OAuth" in all OAuth flows. Be sure to review the Help documentation for the required connection properties for you specific authentication needs (desktop applications, web applications, and headless machines).
Follow the steps below to register an application and obtain the OAuth client credentials:
- Log into your HubSpot app developer account.
- Note that it must be an app developer account. Standard HubSpot accounts cannot create public apps.
- On the developer account home page, click the Apps tab.
- Click Create app.
- On the App info tab, enter and optionally modify values that are displayed to users when they connect. These values include the public application name, application logo, and a description of the application.
- On the Auth tab, supply a callback URL in the "Redirect URLs" box.
- If you're creating a desktop application, set this to a locally accessible URL like http://localhost:33333.
- If you are creating a Web application, set this to a trusted URL where you want users to be redirected to when they authorize your application.
- Click Create App. HubSpot then generates the application, along with its associated credentials.
- On the Auth tab, note the Client ID and Client secret. You will use these later to configure the driver.
Under Scopes, select any scopes you need for your application's intended functionality.
A minimum of the following scopes is required to access tables:
- hubdb
- oauth
- crm.objects.owners.read
- Click Save changes.
- Install the application into a production portal with access to the features that are required by the integration.
- Under "Install URL (OAuth)", click Copy full URL to copy the installation URL for your application.
- Navigate to the copied link in your browser. Select a standard account in which to install the application.
- Click Connect app. You can close the resulting tab.
Using a Private App
To connect using a HubSpot private application token, set the AuthScheme property to "PrivateApp."
You can generate a private application token by following the steps below:
- In your HubDB account, click the settings icon (the gear) in the main navigation bar.
- In the left sidebar menu, navigate to Integrations > Private Apps.
- Click Create private app.
- On the Basic Info tab, configure the details of your application (name, logo, and description).
- On the Scopes tab, select Read or Write for each scope you want your private application to be able to access.
- A minimum of hubdb and crm.objects.owners.read is required to access tables.
- After you are done configuring your application, click Create app in the top right.
- Review the info about your application's access token, click Continue creating, and then Show token.
- Click Copy to copy the private application token.
To connect, set PrivateAppToken to the private application token you retrieved.
π Configuring the Server connection.
- Click "Connect" to authenticate with HubDB through OAuth.
- Click "Save Configuration" to save the configuration
π Saving the Code Assist MCP configuration
With Code Assist MCP configured, you are ready to connect it to Perplexity Desktop.
Step 3: Connect Code Assist MCP 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
π Downloading Perplexity Helper App
- After restarting, return to Settings > Connectors and click Add Connector
- Select the Simple tab and assign a name for the connector (e.g., "CData HubDB").
In the Command box, enter the absolute path to the Code Assist MCP executable.
For example:
/Applications/CData Code Assist MCP for HubDB.app/Contents/Payload/jre/Contents/Home/bin/java \
-jar /Applications/CData Code Assist MCP for HubDB.app/Contents/Payload/lib/cdata.mcp.hubdb.jar \
cdata_hubdb
π Providing the MCP server command
- Click Save.
Code Assist MCP should now appear in the connector list with a "Running" status
π Connector successfully running
Step 4: Query Your Live HubDB data in Perplexity Desktop
- Open a new chat in Perplexity Desktop.
Click the Sources toggle and enable Code Assist MCP
π Selecting Code Assist MCP as a source
- Start asking questions about your HubDB data.
For example:
"List all the tables available in my HubDB data connection."
π Querying live data through MCP
Build with Code Assist MCP. Deploy with CData Drivers.
Download Code Assist MCP for free and give your AI tools schema-aware access to live HubDB data during development. When you're ready to move to production, CData HubDB Drivers deliver the same SQL-based access with enterprise-grade performance, security, and reliability.
Visit the CData Community to share insights, ask questions, and explore what's possible with MCP-powered AI workflows.