![]() |
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 Paylocity 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 Paylocity 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 Paylocity data from within the IDE.
Connectivity to Paylocity from Cline is made possible through CData Connect AI's Remote MCP Server. To interact with Paylocity data from Cline, start by creating and configuring a Paylocity connection in CData Connect AI.
Set the following to establish a connection to Paylocity:
This property is required for executing Insert and Update statements, and it is not required if the feature is disabled.
Paylocity will decrypt the AES key using RSA decryption.
It is an optional property if the IV value not provided, The driver will generate a key internally.
You must use OAuth to authenticate with Paylocity. OAuth requires the authenticating user to interact with Paylocity using the browser. For more information, refer to the OAuth section in the Help documentation.
The Pay Entry API is completely separate from the rest of the Paylocity API. It uses a separate Client ID and Secret, and must be explicitly requested from Paylocity for access to be granted for an account. The Pay Entry API allows you to automatically submit payroll information for individual employees, and little else. Due to the extremely limited nature of what is offered by the Pay Entry API, we have elected not to give it a separate schema, but it may be enabled via the UsePayEntryAPI connection property.
Please be aware that when setting UsePayEntryAPI to true, you may only use the CreatePayEntryImportBatch & MergePayEntryImportBatchgtable stored procedures, the
InputTimeEntry table, and the OAuth stored procedures. Attempts to use other features of the product will result in an error. You must also store your OAuthAccessToken
separately, which often means setting a different OAuthSettingsLocation when using this connection property.
π 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 Paylocity connection configured and a PAT generated, Cline can now connect to Paylocity 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 Paylocity 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 Paylocity 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