Use Claude to Talk to Your AlloyDB Data via CData Connect Cloud



Leverage CData Connect Cloud Remote MCP to enable Claude to securely answer questions and take actions on your AlloyDB data for you.

Claude is a family of advanced large language models (LLMs) built by Anthropic, an AI research company founded in 2021. These models power the Claude conversational assistant and developer tools.

CData Connect Cloud offers a dedicated cloud-to-cloud interface for connecting to AlloyDB data. The CData Connect Cloud Remote MCP Server enables secure communication between Claude and AlloyDB. This allows you to ask questions and take actions on your AlloyDB data using Claude, all without the need for data replication to a natively supported database. With its inherent optimized data processing capabilities, CData Connect Cloud efficiently channels all supported SQL operations, including filters and JOINs, directly to AlloyDB. This leverages server-side processing to swiftly deliver the requested AlloyDB data.

Step 1: Configure AlloyDB Connectivity for Claude

Connectivity to AlloyDB from Claude is made possible through CData Connect Cloud Remote MCP. To interact with AlloyDB data from Claude, we start by creating and configuring a AlloyDB connection in CData Connect Cloud.

  1. Log into Connect Cloud, click Sources, and then click Add Connection
  2. Select "AlloyDB" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to AlloyDB.

    The following connection properties are usually required in order to connect to AlloyDB.

    • Server: The host name or IP of the server hosting the AlloyDB database.
    • User: The user which will be used to authenticate with the AlloyDB server.
    • Password: The password which will be used to authenticate with the AlloyDB server.

    You can also optionally set the following:

    • Database: The database to connect to when connecting to the AlloyDB Server. If this is not set, the user's default database will be used.
    • Port: The port of the server hosting the AlloyDB database. This property is set to 5432 by default.

    Authenticating with Standard Authentication

    Standard authentication (using the user/password combination supplied earlier) is the default form of authentication.

    No further action is required to leverage Standard Authentication to connect.

    Authenticating with pg_hba.conf Auth Schemes

    There are additional methods of authentication available which must be enabled in the pg_hba.conf file on the AlloyDB server.

    Find instructions about authentication setup on the AlloyDB Server here.

    Authenticating with MD5 Authentication

    This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to md5.

    Authenticating with SASL Authentication

    This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to scram-sha-256.

    Authenticating with Kerberos

    The authentication with Kerberos is initiated by AlloyDB Server when the ∏ is trying to connect to it. You should set up Kerberos on the AlloyDB Server to activate this authentication method. Once you have Kerberos authentication set up on the AlloyDB Server, see the Kerberos section of the help documentation for details on how to authenticate with Kerberos.

  4. Click Save & Test

Step 2: Connect Claude to CData Connect Cloud

Follow these steps to add a CData Connect Cloud connector in Claude:

  1. Sign in to Claude.ai or create a new account.
  2. Expand the left navigation menu.
  3. In the bottom-left corner, click your user name and select Settings from the menu. The Settings screen appears.
  4. In the Settings screen, click Connectors.
  5. In the top-right corner, set your button toggle to Organization connectors.
  6. Click Add custom connector at the bottom of the page.
  7. Enter a name for the connector (such as Connect Cloud MCP).
  8. In the Remote MCP server URL field, enter https://mcp.cloud.cdata.com/mcp.
  9. Click Add to save the connector. The Connect Cloud MCP connector appears under Connectors.
  10. Click Connect to the right of the connector and enter your CData Connect Cloud user name and password. You have now connected Claude to CData Connect Cloud.
  11. Click the three dots after Connected and select Tools and settings.
  12. Review the provided tools and enable or disable specific tools made available by the server. In addition, determine whether you want unsupervised access to the tools, or whether you want Claude to ask your permission.
  13. Click Done when finished with your settings.

Step 3: Explore Live AlloyDB AlloyDB data with Claude

  1. In the left navigation menu of Claude, click New chat.
  2. You can now start exploring your data with natural language prompts. Claude outlines the steps it uses to retrieve data from the source in CData Connect Cloud. Refer to CData's prompt library for prompt ideas.

NOTE: Claude's setup process is subject to change. Refer to Claude's documentation for the latest setup information.

Get CData Connect Cloud

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

Ready to get started?

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

Free Trial