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 SQL Server, configuring the connection to SQL Server, and interacting with your live SQL Server data from Perplexity Desktop.
Step 1: Download and install CData Code Assist MCP for SQL Server
- To begin, download CData Code Assist MCP for SQL Server
π 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 SQL Server.
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 SQL Server
-
After installation, you can open CData Code Assist MCP for SQL Server 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_sql") and click "OK"
π Naming the configuration
-
Enter the appropriate connection properties in the configuration wizard.
Connecting to Microsoft SQL Server
Connect to Microsoft SQL Server using the following properties:
- Server: The name of the server running SQL Server.
- User: The username provided for authentication with SQL Server.
- Password: The password associated with the authenticating user.
- Database: The name of the SQL Server database.
Connecting to Azure SQL Server and Azure Data Warehouse
You can authenticate to Azure SQL Server or Azure Data Warehouse by setting the following connection properties:
- Server: The server running Azure. You can find this by logging into the Azure portal and navigating to "SQL databases" (or "SQL data warehouses") -> "Select your database" -> "Overview" -> "Server name."
- User: The name of the user authenticating to Azure.
- Password: The password associated with the authenticating user.
- Database: The name of the database, as seen in the Azure portal on the SQL databases (or SQL warehouses) page.
SSH Connectivity for SQL Server
You can use SSH (Secure Shell) to authenticate with SQL Server, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
SSH Connections to SQL Server in Password Auth Mode
To connect to SQL Server via SSH in Password Auth mode, set the following connection properties:
- User: SQL Server User name
- Password: SQL Server Password
- Database: SQL Server database name
- Server: SQL Server Server name
- Port: SQL Server port number like 3306
- UserSSH: "true"
- SSHAuthMode: "Password"
- SSHPort: SSH Port number
- SSHServer: SSH Server name
- SSHUser: SSH User name
- SSHPassword: SSH Password
SSH Connections to SQL Server in Public Key Auth Mode
To connect to SQL Server via SSH in Password Auth mode, set the following connection properties:
- User: SQL Server User name
- Password: SQL Server Password
- Database: SQL Server database name
- Server: SQL Server Server name
- Port: SQL Server port number like 3306
- UserSSH: "true"
- SSHAuthMode: "Public_Key"
- SSHPort: SSH Port number
- SSHServer: SSH Server name
- SSHUser: SSH User name
- SSHClientCret: the path for the public key certificate file
π Configuring the Server connection.
- Click "Connect" to authenticate with SQL Server.
- 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 SQL Server").
In the Command box, enter the absolute path to the Code Assist MCP executable.
For example:
/Applications/CData Code Assist MCP for SQL Server.app/Contents/Payload/jre/Contents/Home/bin/java \
-jar /Applications/CData Code Assist MCP for SQL Server.app/Contents/Payload/lib/cdata.mcp.sql.jar \
cdata_sql
π 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 SQL Server 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 SQL Server data.
For example:
"List all the tables available in my SQL Server 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 SQL Server data during development. When you're ready to move to production, CData SQL Server 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.