Integrating Claude Code with Zuora Data via CData Connect AI

Dibyendu Datta
Dibyendu Datta
Lead Technology Evangelist
Leverage CData Connect AI to enable Claude Code to securely access and act on Zuora data within assisted coding and automated development workflows.

Claude Code is an AI-powered development environment that brings intelligent code generation, automation, and interactive reasoning directly into your workflow. By integrating it with CData Connect AI, you can enable Claude Code to securely access, query, and interact with live enterprise data, such as Zuora, through a standardized MCP tool interface.

CData Connect AI is a managed MCP platform that exposes your enterprise data sources through the Model Context Protocol (MCP). This allows Claude Code to work with catalogs, schemas, tables, metadata, and SQL-enabled data access from more than 350 data sources, without requiring ETL pipelines or custom integration code.

This article explains how to register the CData Connect AI MCP endpoint in Claude Code, configure your Zuora or other data source connection, and begin issuing real-time data queries directly from the coding environment. We explore how Claude Code uses the built-in MCP tools, such as getCatalogs, getSchemas, getTables, and queryData to help you write, debug, and automate development workflows powered by live Zuora data securely and interactively.

Prerequisites

Step 1: Configure Zuora connectivity for Claude Code

For Claude Code to access Zuora, create a connection to Zuora in CData Connect AI. This connection is then exposed to Claude Code using the remote MCP server.

  1. Log in to Connect AI click Sources, and then click + Add Connection
  2. From the available data sources, choose Zuora
  3. Enter the necessary authentication properties to connect to Zuora

    Zuora uses the OAuth standard to authenticate users. See the online Help documentation for a full OAuth authentication guide.

    Configuring Tenant property

    In order to create a valid connection with the provider you need to choose one of the Tenant values (USProduction by default) which matches your account configuration. The following is a list with the available options:

    • USProduction: Requests sent to https://rest.zuora.com.
    • USAPISandbox: Requests sent to https://rest.apisandbox.zuora.com"
    • USPerformanceTest: Requests sent to https://rest.pt1.zuora.com"
    • EUProduction: Requests sent to https://rest.eu.zuora.com"
    • EUSandbox: Requests sent to https://rest.sandbox.eu.zuora.com"

    Selecting a Zuora Service

    Two Zuora services are available: Data Query and AQuA API. By default ZuoraService is set to AQuADataExport.

    DataQuery

    The Data Query feature enables you to export data from your Zuora tenant by performing asynchronous, read-only SQL queries. We recommend to use this service for quick lightweight SQL queries.

    Limitations
    • The maximum number of input records per table after filters have been applied: 1,000,000
    • The maximum number of output records: 100,000
    • The maximum number of simultaneous queries submitted for execution per tenant: 5
    • The maximum number of queued queries submitted for execution after reaching the limitation of simultaneous queries per tenant: 10
    • The maximum processing time for each query in hours: 1
    • The maximum size of memory allocated to each query in GB: 2
    • The maximum number of indices when using Index Join, in other words, the maximum number of records being returned by the left table based on the unique value used in the WHERE clause when using Index Join: 20,000

    AQuADataExport

    AQuA API export is designed to export all the records for all the objects ( tables ). AQuA query jobs have the following limitations:

    Limitations
    • If a query in an AQuA job is executed longer than 8 hours, this job will be killed automatically.
    • The killed AQuA job can be retried three times before returned as failed.
  4. Click Save & Test
  5. Once authenticated, open the Permissions tab in the Zuora connection and configure user-based permissions as required

Generate a Personal Access Token (PAT)

Claude Code authenticates to Connect AI using an account email and a Personal Access Token (PAT). Creating separate PATs for each integration is recommended to maintain access control granularity.

  1. In Connect AI, select the Gear icon in the top-right to open Settings
  2. Under Access Tokens, select Create PAT
  3. Provide a descriptive name for the token and select Create
  4. Copy the token and store it securely. The PAT will only be visible during creation

With the Zuora connection configured and a PAT generated, Claude Code is prepared to connect to Zuora data through the CData MCP server.

Step 2: Install Claude Code

Claude Code is distributed as an npm package. You can install it globally.

To install Claude Code on your system, open PowerShell, Terminal, or CMD as an Administrator and run:

npm install -g @anthropic-ai/claude-code

Verify the installation using the following command:

npm list -g @anthropic-ai/claude-code

Expected output should be:

C:\Users\User\AppData\Roaming
pm
`-- @anthropic-ai/[email protected]

Step 3: Authenticate Claude Code with Claude.ai

Link your local Claude Code environment with your Claude.ai account to enable secure access. In the terminal, run:

claude login

Claude Code outputs a URL, like:

Please visit https://claude.ai/login?code=

Follow these steps:

  1. Click the URL or paste it into your browser.
  2. Log in to Claude.ai.
  3. Claude.ai displays a verification code.
  4. Return to your terminal and enter/paste the provided verification code when prompted.

Once verified, you'll need to authenticate with Claude Code using an authentication code. Once done, your terminal should display:

You're all set up for Claude Code.

Claude Code is now linked to your Claude.ai account.

Step 4: Create a Claude Code project

To set up a workspace where Claude Code can store MCP configuration files, start by creating a new directory:

mkdir ClaudeCode
cd ClaudeCode

Now, open it in Visual Studio Code:

code .

Step 5: Launch Claude Code and register the CData Connect AI MCP server

Before Claude Code can interact with Zuora, you must register your CData Connect AI MCP endpoint. Claude Code uses this remote MCP server to securely access metadata, schemas, tables, and live query results.

Now register the CData Connect AI MCP server by running the following command in your Claude Code project directory:

claude mcp add connectmcp https://mcp.cloud.cdata.com/mcp \
  --transport http \
  --header "Authorization: Basic base64encoded(EMAIL:PAT)" \
  --header "Content-Type: application/json"

Once added, verify that Claude recognizes your MCP server:

claude mcp list

If successful, you should see:

connectmcp: https://mcp.cloud.cdata.com/mcp (HTTP) - ✓ OK

Start the Claude Code assistant and verify that it detects your MCP server. To run, use the given command:

claude

Once Claude Code loads, you should see:

Loaded MCP Server: connectmcp

This confirms that Claude Code is now connected to your CData Connect AI instance.

Step 6: Explore Zuora metadata

You can now use Claude Code's natural-language interface to list catalogs, schemas, and tables in Zuora. Ask Claude:

List all Zuora catalogs using getCatalogs.

Claude automatically calls the appropriate MCP tool when you issue a request.

Try additional queries such as:

  • "Show the available schemas."
  • "List all tables in the Zuora connection."
  • "Retrieve the top 10 records from the Account table."

Claude Code uses the following MCP tools to interact with Zuora in real time:

  • getCatalogs
  • getSchemas
  • getTables
  • queryData

These tools allow Claude Code to retrieve metadata and query live Zuora data.

Step 7: Generate code and automation workflows

Use real Zuora metadata to build working scripts directly inside your IDE.

Example prompt:

Write a Python script that queries Salesforce Contacts where LastName starts with 'A' using the MCP queryData tool.

Claude Code writes accurate code because it has:

  • direct access to Zuora schemas
  • live query testing
  • metadata introspection

All delivered through CData Connect AI.

Step 8: Build data-driven development workflows

Use Claude Code to generate, refine, and automate code that works with your Zuora data using CData Connect AI.

With the CData Connect AI integration in place, Claude Code can help you build development workflows that rely on your Zuora data. Although Claude Code does not include built-in real-time data connectivity, your configured MCP connection through CData Connect AI provides it with access to the metadata and query results for your request.

You can use Claude Code to automate tasks such as:

  • generating scripts for data exploration
  • creating integration test scaffolding
  • validating queries against your Zuora schema
  • producing code for data extraction or transformation workflows

In this setup, Claude Code acts as an intelligent coding assistant that uses live Zuora data from CData Connect AI to help you write and refine data-driven logic.

Optional: Manage MCP integrations

Add, remove, or inspect MCP servers in your project.

List MCP servers using the following command:

claude mcp list

To remove one, use:

claude mcp remove connectmcp

Modify the config by editing:

.claude/mcp.json

Get CData Connect AI

To get live data access to 300+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial