![]() |
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 SQL Analysis Services, configuring the connection to SQL Analysis Services, 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 SQL Analysis Services.
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.To connect, provide authentication and set the Url property to a valid SQL Server Analysis Services endpoint. You can connect to SQL Server Analysis Services instances hosted over HTTP with XMLA access. See the Microsoft documentation to configure HTTP access to SQL Server Analysis Services.
To secure connections and authenticate, set the corresponding connection properties, below. The data provider supports the major authentication schemes, including HTTP and Windows, as well as SSL/TLS.
Set AuthScheme to "Basic" or "Digest" and set User and Password. Specify other authentication values in CustomHeaders.
Set the Windows User and Password and set AuthScheme to "NTLM".
To authenticate with Kerberos, set AuthScheme to NEGOTIATE. To use Kerberos delegation, set AuthScheme to KERBEROSDELEGATION. If needed, provide the User, Password, and KerberosSPN. By default, the data provider attempts to communicate with the SPN at the specified Url.
By default, the data provider attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.
You can then access any cube as a relational table: When you connect the data provider retrieves SSAS metadata and dynamically updates the table schemas. Instead of retrieving metadata every connection, you can set the CacheLocation property to automatically cache to a simple file-based store.
See the Getting Started section of the CData documentation, under Retrieving Analysis Services Data, to execute SQL-92 queries to the cubes.
Enter the appropriate connection properties in the configuration wizard.
π Configuring the Server to connect with a specific Spreadsheet.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 SQL Analysis Services 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 SQL Analysis Services 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 SQL Analysis Services data during development. When you're ready to move to production, CData SQL Analysis Services 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 SQL Analysis Services Code Assist MCP to get started:
Download NowLearn more:
π SQL Server Analysis Services IconThe CData Code Assist MCP for SQL Server Analysis Services provides schema-aware context for AI-assisted code generation with live SQL Server Analysis Services data.