![]() |
VOOZH | about |
Model Context Protocol (MCP) is an emerging, open-source standard for connecting LLMs with external services and data sources. Through MCP Servers, AI clients can perform actions like opening Jira tickets, posting Slack messages, committing GitHub branches and more. With CData Code Assist MCP, these capabilities expand exponentially.
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 Claude Desktop.
In this article, we guide the reader through installing CData Code Assist MCP for Salesforce, configuring the connection to Salesforce, and asking questions of the data in Claude Desktop.
You need to download Claude Desktop (download) and create an account before continuing.
Here's a quick overview of the steps:
When the installation is complete, you are ready to configure Code Assist MCP by connecting to Salesforce.
NOTE: If the wizard does not open automatically, search for "CData Code Assist MCP" in the Windows search bar and double-click the application.
π Opening the Code Assist MCP configuration wizard (Google Sheets is shown).
NOTE: This name is used as the name for the MCP server and as the prefix for all of the MCP Server's tools.
π Naming the configuration.There are several authentication methods available for connecting to Salesforce: OAuth, Login (or basic), and SSO. The Login method requires you to have the username, password, and security token of the user.
The default authentication mechanism (and the one preferred by Salesforce) is OAuth. To use OAuth with CData's embedded OAuth application, leave the connection properties blank. If you have configured your own custom OAuth application with Salesforce (see the Help documentation for more information), set OAuthClientId, OAuthClientSecret, and CallbackURL to the properties for you application. Set InitiateOAuth to the desired OAuth flow ("GETANDREFRESH" will have the connector manage the entire OAuth flow).
If you do not wish do not wish to use OAuth authentication, you can use Login (or basic) authentication. Set AuthScheme to Basic, and set the User, Password, and SecurityToken properties. You can configure your security token in Salesforce.
SSO (single sign-on) can be used by setting the SSOProperties, SSOLoginUrl, and SSOExchangeURL connection properties, which allow you to authenticate to an identity provider. See the "Getting Started" chapter in the Help documentation for more information.
If your Salesforce org has MFA enforcement enabled, set MFACode to the time-based one-time passcode (TOTP) generated by your authenticator app (such as Salesforce Authenticator or Google Authenticator). MFACode applies to both OAuth and Login authentication flows.
Enter the appropriate connection properties in the configuration wizard.
π Configuring the Server to connect with a specific Spreadsheet.NOTE: The configuration wizard should open your browser and ask you to sign into Salesforce. If your browser does not open, close the configuration wizard and re-open the application using "Run as Administrator" (see below).
π Running the configuration wizard with elevated permissions.NOTE: This saves the configuration details to a separate file and updates the Claude Desktop configuration file (claude_desktop_config.json) to start Code Assist MCP when the Claude Desktop client starts.
With Code Assist MCP configured, you are ready to start asking questions of your live data from Claude.
Now that we have installed Code Assist MCP and configured a connection, we are ready to start with Salesforce data in Claude Desktop.
You can individually enable and disable specific tools by clicking on the server name.
π The expanded tool list for Code Assist MCP in Claude Desktop
NOTE: Claude may need to explore the Salesforce data to make sense of it before it can begin answering questions of the data. The tabular model presented by CData alongside the database tools available simplify the data exploration and analysis for an LLM.
π Claude Desktop displaying a quantitative analysis of live dataDownload Code Assist MCP for free and give your AI tools schema-aware access to live Salesforce data during development. When you're ready to move to production, CData Salesforce 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.
Download a free Salesforce Code Assist MCP to get started:
Download NowLearn more:
π Salesforce IconThe CData Code Assist MCP for Salesforce provides schema-aware context for AI-assisted code generation with live Salesforce account data.