![]() |
VOOZH | about |
Antigravity is an AI-native development environment designed around autonomous and semi-autonomous agents. It allows developers to run agent-driven workflows directly inside the editor, combining planning, execution, and tool usage in a single interface.
By integrating Antigravity with CData Connect AI through the built-in MCP (Model Context Protocol) Server, agents gain governed, real-time access to live Elasticsearch data. This enables Antigravity agents to explore schemas, query data, and perform actions without manual data movement or custom API wiring.
This article explains how to configure Elasticsearch connectivity in Connect AI, generate the required access token, register CData Connect AI in Antigravity, and validate the integration by querying live Elasticsearch data from an agent-driven workflow.
Accessing and integrating live data from Elasticsearch has never been easier with CData. Customers rely on CData connectivity to:
Users frequently integrate Elasticsearch data with analytics tools such as Crystal Reports, Power BI, and Excel, and leverage our tools to enable a single, federated access layer to all of their data sources, including Elasticsearch.
For more information on CData's Elasticsearch solutions, check out our Knowledge Base article: CData Elasticsearch Driver Features & Differentiators.
Connectivity to Elasticsearch from Antigravity is made possible through CData Connect AI's Remote MCP Server. To interact with Elasticsearch data from Antigravity, start by creating and configuring a Elasticsearch connection in CData Connect AI.
Set the Server and Port connection properties to connect. To authenticate, set the User and Password properties, PKI (public key infrastructure) properties, or both. To use PKI, set the SSLClientCert, SSLClientCertType, SSLClientCertSubject, and SSLClientCertPassword properties.
The data provider uses X-Pack Security for TLS/SSL and authentication. To connect over TLS/SSL, prefix the Server value with 'https://'. Note: TLS/SSL and client authentication must be enabled on X-Pack to use PKI.
Once the data provider is connected, X-Pack will then perform user authentication and grant role permissions based on the realms you have configured.
π Configuring a connection (Salesforce is shown)A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Antigravity. It is best practice to create a separate PAT for each integration to maintain granular access control.
With the Elasticsearch connection configured and a PAT generated, Antigravity can now connect to Elasticsearch data through CData Connect AI.
Next, register Connect AI in Antigravity. Antigravity reads MCP server definitions from a raw configuration file, allowing agents to dynamically discover and invoke the sources exposed by Connect AI.
{
"mcpServers": {
"cdata-mcp": {
"serverUrl": "https://mcp.cloud.cdata.com/mcp",
"headers": {
"Authorization": "Basic your_base64_encoded_email_PAT",
"Content-Type": "application/json"
}
}
}
}
Note: Antigravity will use Basic authentication with Connect AI. Combine your Connect AI user email and the PAT you created earlier and base64 encode the value. For example, given username and PAT like [email protected]:ABC123...XYZ789, the value for the Authorization header is something like: Basic dXNlckBteWRvbWFpbjphSzkvbVB4Mi9Rcjd2TjQvTHc4Qi96WTZqQzMvRnQ1SGcxL0RzMFVlL01iWHdKdg==
π Editing the Config fileWith the MCP server registered, Antigravity agents can now interact with your live data sources exposed by Connect AI to explore schemas and run queries.
At this point, your Antigravity agent communicates with the CData Connect AI MCP Server and retrieves live Elasticsearch data through remote MCP tools.
To access hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!
Learn more about CData Connect AI or sign up for free trial access:
Free Trial