Integrate Devin with Live Elasticsearch Data Using CData Connect AI

Anusha M B
Anusha M B
Technical Marketing Engineer
Use the CData Connect AI Remote MCP Server to enable Devin, the AI software engineer, to securely access and query live Elasticsearch data.

Devin is an AI software engineer from Cognition that plans, writes, and tests code in autonomous sessions. It supports the model context protocol (MCP) through its built-in MCP marketplace, allowing you to install remote MCP servers and give Devin access to external tools and live data sources.

By integrating Devin with CData Connect AI through the built-in MCP Server, Devin gains governed, real-time access to live Elasticsearch data. You can list catalogs, explore schemas, and query records from Elasticsearch data using natural language prompts, with all data access running securely against authorized sources.

This article explains how to configure Elasticsearch connectivity in Connect AI, install the CData Connect AI MCP Server from the Devin MCP marketplace, and verify the integration by querying live Elasticsearch data from a Devin session.

About Elasticsearch Data Integration

Accessing and integrating live data from Elasticsearch has never been easier with CData. Customers rely on CData connectivity to:

  • Access both the SQL endpoints and REST endpoints, optimizing connectivity and offering more options when it comes to reading and writing Elasticsearch data.
  • Connect to virtually every Elasticsearch instance starting with v2.2 and Open Source Elasticsearch subscriptions.
  • Always receive a relevance score for the query results without explicitly requiring the SCORE() function, simplifying access from 3rd party tools and easily seeing how the query results rank in text relevance.
  • Search through multiple indices, relying on Elasticsearch to manage and process the query and results instead of the client machine.

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.


Getting Started


Step 1: Configure Elasticsearch connectivity for Devin

Connectivity to Elasticsearch from Devin is made possible through Connect AI's Remote MCP Server. To interact with Elasticsearch data from Devin, start by creating and configuring a Elasticsearch connection in Connect AI.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Adding a connection in Connect AI
  3. Select Elasticsearch from the Add Connection panel
  4. Selecting data source
  5. Enter the necessary authentication properties to connect to Elasticsearch.

    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)
  6. Click Save & Test
  7. Navigate to the Permissions tab and update user-based permissions
  8. Updating permissions

With the Elasticsearch connection configured, Devin can now connect to Elasticsearch data through Connect AI.

Step 2: Install the Connect AI MCP Server in Devin

Next, install the CData Connect AI MCP Server from the Devin MCP servers list so your sessions can discover and call live data tools through Connect AI.

Note: Installing MCP servers in Devin requires the Manage MCP Servers permission. If you don't have this permission, use the Suggest option or contact your organization admin.

  1. Log into Devin and navigate to Settings and Connections, then select the MCP servers tab
  2. Search for CData Connect AI in the marketplace and select the verified listing
  3. Viewing MCP servers in Devin and searching for CData Connect AI
  4. Click Install and enable. When prompted, complete the OAuth flow to authenticate with your Connect AI account Installing the Connect AI MCP Server in Devin
  5. Once installed, confirm the Enable in sessions toggle is on and click Test tools. Devin validates the connection and lists the available Connect AI tools, such as getCatalogs, getSchemas, getTables, and queryData Verifying the Connect AI MCP tools in Devin

With the MCP server installed and enabled, the Connect AI tools are available to every Devin session in your workspace.

Step 3: Query live Elasticsearch data from Devin

With the integration complete, start a Devin session and interact with live Elasticsearch data through natural language prompts.

  1. From the Devin home page, start a new session
  2. In the session prompt, ask Devin to work with your Connect AI data, for example:
    • Can you list the connections in CData Connect AI
    • Show the available schemas and tables for Elasticsearch
    • Query the top 5 records from a table in Elasticsearch
  3. Devin calls the Connect AI MCP Server and returns live results from Elasticsearch data directly in the session. You can follow the tool calls, inputs, and outputs in the Progress panel Querying live data from a Devin session

At this point, Devin communicates with the Connect AI MCP Server and retrieves live Elasticsearch data through remote MCP tools directly from your sessions, whether you're exploring data, building features against it, or automating engineering tasks.

Get started with CData Connect AI

To access hundreds of SaaS, big data, and NoSQL sources directly from your cloud applications, try CData Connect AI today. Download a free 14-day trial of CData Connect AI, and our Support Team is available to help with any questions you have.

Ready to get started?

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

Free Trial