Connecting an AI Client
To connect an AI client to Sync, configure your client with the MCP server endpoint and your auth token. The syntax for the MCP server endpoint ishttps://<BaseURL>:<Port>/mcp.rsc. Authentication uses the x-cdata-authtoken header with a valid user auth token. To generate an auth token, see Authentication.
The following sections provide configuration instructions for Claude Desktop, GitHub Copilot CLI, and OpenAI Codex.
Claude Desktop
Claude Desktop communicates with MCP servers over standard input and output (stdio). Because Sync’s MCP server endpoint is HTTP-based, Claude Desktop cannot connect to it directly. The mcp-remote npm package bridges this gap by running as a local stdio process that Claude Desktop talks to and that forwards requests to CData Sync‘s HTTP endpoint.
The
mcp-remote package requires Node.js. If you do not have Node.js installed, download it from nodejs.org before proceeding.<BaseURL> and <Port>with your Sync server details, and replace <Your-Auth-Token> with the auth token that you generated.
If you use macOS or Linux, replace
"command": "cmd" with "command": "npx" and remove "/c" and "npx" from the "args" array.sync-mcp server in the Tools menu of a new chat.
GitHub Copilot CLI
Unlike Claude Desktop, the GitHub Copilot command-line interface (CLI) connects to remote MCP servers directly over HTTP, so it does not need anmcp-remote bridge. The location of Copilot CLI’s MCP configuration file depends on your operating system:
Edit the file and add the following JSON code:
<BaseURL> and <Port> with your Sync server details, and replace <Your-Auth-Token> with the auth token that you generated.
After you save the configuration, start a new Copilot CLI session so it loads the sync-mcp server.
OpenAI Codex
Like the Copilot CLI, OpenAI Codex supports remote HTTP MCP servers directly. The location of Codex’s configuration file depends on your operating system:
This configuration is shared across the Codex CLI, the Codex integrated development environment (IDE) extension, and Codex Desktop. Edit the file and add the following TOML code:
<BaseURL> and <Port> with your Sync server details, and replace <Your-Auth-Token> with the auth token that you generated.
After you save the configuration, restart Codex (or start a new session) so it loads the sync-mcp server.
Available Tools
The MCP server exposes 10 read-only diagnostic tools for the tasks that you might ask an AI agent to perform:Example Prompts
You interact with Sync through your AI client in natural language (read-only). The following list includes some example prompts:- “List all connections in my default workspace.”
- “Show me the run history for the Salesforce replication job.”
- “What jobs failed in the last 24 hours?”
- “Check the health of my Sync instance.”
- “Show me the details of the marketing pipeline’s last run.”
- “What transformations are currently running?”
- “Download the connection log for my SQL Server connection.”
Security Notes
- The MCP server respects Sync‘s existing authentication and authorization. Users only see data that they have permission to access.
- Always connect over HTTPS. The
x-cdata-authtokenis sent in a request header on every call. Over plain HTTP, it is transmitted in plaintext and is visible in transit. - Sensitive values such as passwords, tokens, and connection strings are masked in tool responses. Script content in pipeline events is also redacted.
- The server is read-only in this release. You cannot perform any operational actions such as running jobs, modifying connections, or changing the Sync configuration.