![]() |
VOOZH | about |
Cline is an autonomous AI coding agent that runs inside modern IDEs such as VS Code and Cursor. It enables developers to build agent-driven workflows that can reason through tasks, execute actions, and interact with external systems directly from the editor using a structured execution model.
By integrating Cline with CData Connect AI through the built-in MCP (Model Context Protocol) Server, the agent gains the ability to query, analyze, and act on live FHIR data in real time. This integration bridges Cline's in-IDE agent framework with the governed enterprise connectivity of CData Connect AI, ensuring all data access runs securely against authorized sources without manual data movement.
This article outlines the steps to configure FHIR connectivity in Connect AI, generate the required personal access token, register the Connect AI MCP Server in Cline, and verify that the agent can successfully interact with live FHIR data from within the IDE.
Connectivity to FHIR from Cline is made possible through CData Connect AI's Remote MCP Server. To interact with FHIR data from Cline, start by creating and configuring a FHIR connection in CData Connect AI.
Set URL to the Service Base URL of the FHIR server. This is the address where the resources are defined in the FHIR server you would like to connect to. Set ConnectionType to a supported connection type. Set ContentType to the format of your documents. Set AuthScheme based on the authentication requirements for your FHIR server.
Generic, Azure-based, AWS-based, and Google-based FHIR server implementations are supported.
The product supports connections to custom instances of FHIR. Authentication to custom FHIR servers is handled via OAuth (read more about OAuth in the Help documentation. Before you can connect to custom FHIR instances, you must set ConnectionType to Generic.
π Configuring a connection (Salesforce is shown)A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Cline. It is best practice to create a separate PAT for each integration to maintain granular access control.
With the FHIR connection configured and a PAT generated, Cline can now connect to FHIR data through the CData Connect Ai.
Cline is distributed as an IDE extension and can be installed in environments such as VS Code or Cursor. In this example, Cursor is used, but the steps are identical for supported IDEs.
Once Cline is running, add the CData Connect AI Remote MCP Server so the agent can access live FHIR data through Connect AI.
{
"mcpServers": {
"mcp": {
"url": "https://mcp.cloud.cdata.com/mcp",
"type": "streamableHttp",
"headers": {
"Authorization": "Basic your_email:your_PAT"
},
"disabled": false,
"autoApprove": []
}
}
}
Note: Cline will use Basic authentication with Connect AI. Combine your Connect AI user email and the PAT you created earlier. For example, [email protected]:ABC123...XYZ789 and add the value for the Authorization header like, Basic [email protected]:ABC123...XYZ789.
π Configuring MCP serverWith the MCP server registered, Cline can now interact with live data sources exposed by Connect AI.
Cline is now fully configured to access and query live FHIR data through the CData Connect AI Remote MCP Server, enabling real-time, data-driven workflows directly from your IDE.
To access hundreds of SaaS, Big Data, and NoSQL sources through secure, AI-ready interfaces, try CData Connect AI today.
Learn more about CData Connect AI or sign up for free trial access:
Free Trial