![]() |
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 Sugar CRM 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 Sugar CRM 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 Sugar CRM data from within the IDE.
Connectivity to Sugar CRM from Cline is made possible through CData Connect AI's Remote MCP Server. To interact with Sugar CRM data from Cline, start by creating and configuring a Sugar CRM connection in CData Connect AI.
The User and Password properties, under the Authentication section, must be set to valid SugarCRM user credentials. This will use the default OAuth token created to allow client logins. OAuthClientId and OAuthClientSecret are required if you do not wish to use the default OAuth token.
You can generate a new OAuth consumer key and consumer secret in Admin -> OAuth Keys. Set the OAuthClientId to the OAuth consumer key. Set the OAuthClientSecret to the consumer secret.
Additionally, specify the URL to the SugarCRM account.
Note that retrieving SugarCRM metadata can be expensive. It is advised that you store the metadata locally as described in the "Caching Metadata" chapter of the help documentation.
π 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 Sugar CRM connection configured and a PAT generated, Cline can now connect to Sugar CRM 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 Sugar CRM 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 Sugar CRM 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