VOOZH about

URL: https://www.cdata.com/kb/tech/okta-mcp-perplexity-mac-desktop.rst

⇱ How to Query Live Okta Data in Perplexity MacOS Desktop


How to Query Live Okta Data in Perplexity MacOS Desktop

πŸ‘ Yazhini G
Yazhini G
Technical Marketing Engineer
Connect to and query live Okta Data in Perplexity Desktop using CData Code Assist MCP.

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 Okta, configuring the connection to Okta, and interacting with your live Okta data from Perplexity Desktop.

Step 1: Download and install CData Code Assist MCP for Okta

  1. To begin, download CData Code Assist MCP for Okta πŸ‘ Downloading the CData Code Assist MCP installer
  2. Find and double-click the installer to begin the installation
  3. 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 Okta.

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.

  1. In the warning message that pops up, click "Done"
  2. Open "System Settings" on your machine and navigate to the "Privacy & Security" page
  3. πŸ‘ Dismissing the notification
  4. Scroll down to the "Security" section and click "Open Anyway" πŸ‘ Installing a trusted, unverified App
  5. Authorize the installation (passkey or password) πŸ‘ Authorizing the installation

Step 2: Configure the Connection to Okta

  1. After installation, you can open CData Code Assist MCP for Okta from the Applications folder on your mac πŸ‘ The Code Assist MCP configuration wizard
  2. Click the dropdown menu in MCP Configuration > Configuration Name and select "new configuration" πŸ‘ Creating a new configuration
  3. Name the configuration (e.g. "cdata_okta") and click "OK" πŸ‘ Naming the configuration
  4. Enter the appropriate connection properties in the configuration wizard.

    To connect to Okta, set the Domain connection string property to your Okta domain.

    You will use OAuth to authenticate with Okta, so you need to create a custom OAuth application.

    Creating a Custom OAuth Application

    From your Okta account:

    1. Sign in to your Okta developer edition organization with your administrator account.
    2. In the Admin Console, go to Applications > Applications.
    3. Click Create App Integration.
    4. For the Sign-in method, select OIDC - OpenID Connect.
    5. For Application type, choose Web Application.
    6. Enter a name for your custom application.
    7. Set the Grant Type to Authorization Code. If you want the token to be automatically refreshed, also check Refresh Token.
    8. Set the callback URL:
      • For desktop applications and headless machines, use http://localhost:33333 or another port number of your choice. The URI you set here becomes the property.
      • For web applications, set the callback URL to a trusted redirect URL. This URL is the web location the user returns to with the token that verifies that your application has been granted access.
    9. In the Assignments section, either select Limit access to selected groups and add a group, or skip group assignment for now.
    10. Save the OAuth application.
    11. The application's Client Id and Client Secret are displayed on the application's General tab. Record these for future use. You will use the Client Id to set the OAuthClientId and the Client Secret to set the OAuthClientSecret.
    12. Check the Assignments tab to confirm that all users who must access the application are assigned to the application.
    13. On the Okta API Scopes tab, select the scopes you wish to grant to the OAuth application. These scopes determine the data that the app has permission to read, so a scope for a particular view must be granted for the driver to have permission to query that view. To confirm the scopes required for each view, see the view-specific pages in Data Model < Views in the Help documentation.
    πŸ‘ Configuring the Server connection.
  5. Click "Connect" to authenticate with Okta through OAuth.
  6. 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

  1. Download the Perplexity Desktop application for macOS and sign in with your Pro or Premium account
  2. 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
  3. After restarting, return to Settings > Connectors and click Add Connector
  4. Select the Simple tab and assign a name for the connector (e.g., "CData Okta"). In the Command box, enter the absolute path to the Code Assist MCP executable.

    For example:

    	/Applications/CData Code Assist MCP for Okta.app/Contents/Payload/jre/Contents/Home/bin/java \
    	-jar /Applications/CData Code Assist MCP for Okta.app/Contents/Payload/lib/cdata.mcp.okta.jar \
    	cdata_okta
    
    πŸ‘ Providing the MCP server command
  5. Click Save. Code Assist MCP should now appear in the connector list with a "Running" status πŸ‘ Connector successfully running

Step 4: Query Your Live Okta data in Perplexity Desktop

  1. Open a new chat in Perplexity Desktop. Click the Sources toggle and enable Code Assist MCP πŸ‘ Selecting Code Assist MCP as a source
  2. Start asking questions about your Okta data. For example:

    "List all the tables available in my Okta 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 Okta data during development. When you're ready to move to production, CData Okta 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.

Ready to get started?

Download a free Okta Code Assist MCP to get started:

 Download Now

Learn more:

πŸ‘ Okta Icon
Okta Code Assist MCP

The CData Code Assist MCP for Okta provides schema-aware context for AI-assisted code generation with live Okta data.