![]() |
VOOZH | about |
Sourcegraph Amp is a modern AI agent environment designed for building intelligent, production-ready assistants capable of stateful reasoning, automatic context management, and native MCP (Model Context Protocol) integration. When combined with CData Connect AI, you can leverage Amp to create agents that interact with your AlloyDB data in real time using natural language or SQL-based queries.
CData Connect AI provides a secure, cloud-to-cloud interface for accessing AlloyDB data. Through the Connect AI Remote MCP Server, Amp connects directly to AlloyDB, enabling live data queries and operations without replication. With optimized pushdown capabilities, CData Connect AI executes SQL operations including filters, aggregations, and joins directly in AlloyDB for fast, real-time performance.
In this article, we demonstrate how to configure the Amp agent to conversationally explore your AlloyDB data using natural language or SQL. With Connect AI, you can easily build agents that have secure, live access to AlloyDB along with hundreds of other enterprise data sources.
Connectivity to AlloyDB from Amp is made possible through CData Connect AI Remote MCP. To interact with AlloyDB data from Amp, we start by creating and configuring a AlloyDB connection in CData Connect AI.
The following connection properties are usually required in order to connect to AlloyDB.
You can also optionally set the following:
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.
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.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to md5.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to scram-sha-256.
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.
π Configuring a connection (Salesforce is shown)
Amp communicates with Connect AI through the hosted MCP endpoint:
https://mcp.cloud.cdata.com/mcp
This endpoint provides secure, cloud-to-cloud communication between Amp and your Connect AI workspace.
To authenticate Amp with Connect AI, generate your Base64-encoded credentials. For example, in PowerShell:
{Convert}::ToBase64String{(Text.Encoding)}::ASCII.GetBytes("[email protected]:yourPAT")
Replace [email protected] with your Connect AI email and yourPAT with your Personal Access Token.
Once you have your Base64 string, register the CData Connect AI MCP server with Amp using the following command:
amp mcp add cdata-connect-ai -- npx -y mcp-remote@latest https://mcp.cloud.cdata.com/mcp --header "Authorization: Basic "
This adds your Connect AI configuration to Amp's settings file, enabling communication with CData Connect AI.
Start a new Amp session to begin interacting with your data:
amp thread newπ Starting a new Amp thread
Connect to the new thread using:
amp. π Opening interactive chat in Amp
Inside the Amp shell, check your registered MCP servers:
list mcp. π Listing MCP servers
Confirm that your connected AlloyDB data appears as a catalog by running
getCatalogs. π Verifying connected data sources
With your Amp application configured and connected to CData Connect AI, you can now build sophisticated agents that interact with your AlloyDB data using natural language. The MCP integration provides your agents with powerful data access capabilities.
Your Amp application has access to the following CData Connect AI MCP tools:
Amp provides several production-ready capabilities that make it ideal for building intelligent, data-aware AI agents:
Here are some examples of what your Amp agents can do with live data access through CData Connect AI:
Once your agent is running, you can interact with it through natural language queries. For example:
To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your Amp agent environment, try CData Connect AI today!
Learn more about CData Connect AI or sign up for free trial access:
Free Trial