CData Sync MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CData Sync MCP Server Show me the status of my recent data synchronization jobs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CData Sync MCP Server
A comprehensive Model Context Protocol (MCP) server for CData Sync with dual transport support. This server exposes CData Sync's REST API as MCP tools, enabling AI assistants like Claude to manage data synchronization jobs, connections, and ETL operations.
Transport Options:
stdio - For desktop usage with Claude Desktop app
HTTP - For remote server deployments and API access
โจ Features
๐ง 20 Consolidated MCP Tools - Streamlined read/write operations for all entity types
๐ Dual Transport Support - Both stdio (Claude Desktop) and Streamable HTTP (web clients)
๐ก Real-time Notifications - Live monitoring of job executions and API calls via Server-Sent Events
๐๏ธ Production-Ready Architecture - TypeScript, error handling, logging, and comprehensive type safety
๐ Multiple Auth Methods - Support for API tokens and basic authentication
๐ Web Client Support - RESTful HTTP API with streaming capabilities
๐ Job Management - Execute, monitor, and control data sync jobs
๐ Connection Management - Test, create, and manage data connections
๐ฅ User Management - Handle user accounts and permissions
๐ History & Logging - Access execution history and detailed logs
Related MCP server: Whalesync MCP server
๐ Quick Start
Prerequisites
Node.js 18+
CData Sync instance running
Claude Desktop (for stdio transport) or web browser (for HTTP transport)
Installation
Clone the repository
git clone https://github.com/CDataSoftware/cdata-sync-mcp-server.git cd cdata-sync-mcp-serverInstall dependencies
npm installBuild the project
npm run buildConfigure environment variables
# Copy the example environment file cp .env.example .env # Edit with your CData Sync details CDATA_BASE_URL="http://localhost:8181/api.rsc" CDATA_AUTH_TOKEN="your-auth-token" CDATA_WORKSPACE="your-workspace-uuid" # Optional: scope operations to specific workspace MCP_TRANSPORT_MODE="both" # stdio, http, or both
๐ Transport Options
Desktop Usage: Stdio Transport (Claude Desktop)
The stdio transport is designed for local desktop usage with the Claude Desktop app. This is the recommended approach for individual developers.
Configuration for Claude Desktop:
{
"mcpServers": {
"cdata-sync-server": {
"command": "node",
"args": ["/absolute/path/to/cdata-sync-mcp-server/dist/index.js"],
"env": {
"MCP_TRANSPORT_MODE": "stdio",
"CDATA_AUTH_TOKEN": "your-token-here",
"CDATA_BASE_URL": "http://localhost:8181/api.rsc",
"CDATA_WORKSPACE": "your-workspace-uuid-here",
"DISABLE_SSE": "true"
}
}
}
}Start stdio-only server:
npm run start:stdioServer Usage: HTTP Transport (Remote Deployments)
The HTTP transport is designed for server deployments where the MCP server runs on a remote machine and accepts API requests. This is ideal for:
Team deployments
Docker/Kubernetes environments
Integration with web applications
Remote access scenarios
Start HTTP-only server:
npm run start:httpAvailable endpoints:
GET /mcp/v1/info- Server and protocol informationGET /mcp/v1/health- Health checkPOST /mcp/v1/message- Send MCP requestsGET /mcp/v1/stream- Server-Sent Events for real-time updates
Example HTTP client usage:
// Connect to the server
const client = new MCPStreamableHttpClient('http://your-server:3000/mcp/v1');
await client.connect();
// List available tools
const tools = await client.listTools();
// Call a tool
const connections = await client.callTool('read_connections', {
action: 'list',
top: 5
});
// Set up real-time monitoring
client.onNotification = (method, params) => {
console.log('Notification:', method, params);
};Development: Dual Transport
For development and testing, you can run both transports simultaneously:
npm run start:bothThis is useful for testing both desktop and server scenarios during development.
๐ ๏ธ Available Tools
Connection Management
read_connections- List, count, get details, or test connectionswrite_connections- Create, update, or delete connectionsget_connection_tables- List tables in connectionget_table_columns- Get table schema information
Job Management
read_jobs- List, count, get details, status, history, or logswrite_jobs- Create, update, or delete jobsexecute_job- Run a sync job immediatelycancel_job- Stop running jobexecute_query- Run custom SQL queries
Task Management
read_tasks- List, count, or get task detailswrite_tasks- Create, update, or delete tasks
Transformation Management
read_transformations- List, count, or get transformation detailswrite_transformations- Create, update, or delete transformations
User Management
read_users- List, count, or get user detailswrite_users- Create or update users
Request/Log Management
read_requests- List, count, or get request log detailswrite_requests- Delete request logs
History Management
read_history- List or count execution history records
Certificate Management
read_certificates- List certificateswrite_certificates- Create certificates
Configuration Management
configure_sync_server- Get or update server configuration
๐ Tool Usage Patterns
Action-Based Operations
All read/write tools use an action parameter to specify the operation:
Example: Reading connections
{
"tool": "read_connections",
"arguments": {
"action": "list",
"filter": "contains(Name,'prod')",
"top": 10
}
}Example: Creating a connection
{
"tool": "write_connections",
"arguments": {
"action": "create",
"name": "MyDatabase",
"providerName": "System.Data.SqlClient",
"connectionString": "Server=localhost;Database=test;"
}
}Real-time Monitoring
The HTTP transport provides real-time notifications for:
Tool execution start/completion
Job execution progress
Configuration changes
Error notifications
// Monitor all server events
const eventSource = new EventSource('http://localhost:3000/mcp/v1/stream');
eventSource.onmessage = (event) => {
const message = JSON.parse(event.data);
if (message.method === 'notifications/job_executed') {
console.log('Job completed:', message.params);
}
};๐ง Development
Development Scripts
# Start in development mode with both transports
npm run dev:both
# Start with stdio only
npm run dev:stdio
# Start with HTTP only
npm run dev:http
# Type checking
npm run typecheck
# Linting
npm run lint
npm run lint:fix
# Testing
npm test
npm run test:watch
npm run test:coverageEnvironment Variables
Variable | Description | Default |
| CData Sync API base URL |
|
| API authentication token | - |
| Basic auth username (alternative to token) | - |
| Basic auth password (alternative to token) | - |
| Workspace UUID to scope all operations (optional) | - |
| Transport mode: |
|
| HTTP transport port |
|
| HTTP transport base path |
|
| Node environment |
|
| Logging level |
|
๐ณ Deployment
Docker
# Build image
docker build -t cdata-sync-mcp-server .
# Run with stdio transport
docker run -e CDATA_AUTH_TOKEN=your-token cdata-sync-mcp-server
# Run with HTTP transport
docker run -p 3000:3000 -e MCP_TRANSPORT_MODE=http -e CDATA_AUTH_TOKEN=your-token cdata-sync-mcp-serverDocker Compose
# Start with Docker Compose
docker-compose up -d cdata-sync-mcp-bothKubernetes
# Deploy to Kubernetes
kubectl apply -f k8s/Systemd Service
# Install as systemd service
sudo cp cdata-sync-mcp.service /etc/systemd/system/
sudo systemctl enable cdata-sync-mcp
sudo systemctl start cdata-sync-mcp๐ก HTTP API Reference
Protocol Information
GET /mcp/v1/info
{
"protocol": "Model Context Protocol",
"version": "2025-03-26",
"transport": "streamable-http",
"endpoints": {
"message": "http://localhost:3000/mcp/v1/message",
"stream": "http://localhost:3000/mcp/v1/stream"
}
}Health Check
GET /mcp/v1/health
{
"status": "healthy",
"transport": "streamable-http",
"timestamp": "2024-01-15T10:30:00Z",
"pendingRequests": 0,
"bufferedMessages": 0
}Send MCP Request
POST /mcp/v1/message
{
"jsonrpc": "2.0",
"id": "1",
"method": "tools/call",
"params": {
"name": "read_connections",
"arguments": {
"action": "list",
"top": 5
}
}
}Real-time Events
GET /mcp/v1/stream
Server-Sent Events stream providing real-time notifications:
data: {"jsonrpc":"2.0","method":"notifications/tool_execution","params":{"tool":"read_connections","timestamp":"2024-01-15T10:30:00Z"}}
data: {"jsonrpc":"2.0","method":"notifications/job_executed","params":{"jobName":"TestJob","result":"success","timestamp":"2024-01-15T10:31:00Z"}}๐งช Testing
Running Tests
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Watch mode for development
npm run test:watchTest Structure
src/
โโโ __tests__/
โ โโโ services/ # Service unit tests
โ โโโ transport/ # Transport tests
โ โโโ integration/ # Integration tests
โ โโโ utils/ # Utility tests๐ค Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Support
Documentation: Full API documentation available in the docs directory
Issues: Report bugs and request features via GitHub Issues
Discussions: Community support via CData Community
๐ Additional Resources
Built with โค๏ธ for the MCP ecosystem
Available Tools
24 toolscancel_jobA
Stop a currently running job.
RETURNS:
Success: Confirmation of cancellation request
Error: { code: -32603, message: "error details" }
COMMON ERRORS:
"Job not running" - Job may have already completed
"Job not found" - Verify job name/ID
"Cancellation failed" - Job may be in uncancellable state
Inputs: jobName, jobId, workspaceId.
configure_sync_serverA
Configure the MCP server's connection to CData Sync. If not authenticated, you will be prompted for credentials. Use 'get' to view current configuration including auth type, connection status, and workspace context, or 'update' to modify connection settings including the default workspace. CRITICAL: Configuration changes take effect immediately and will reconnect all services. Test new credentials before applying. Cannot be used to view passwords or auth tokens for security reasons. The workspace setting determines which workspace context is used for all operations unless overridden in individual tool calls.
Inputs: action (required), baseUrl, username, password, +3 more.
execute_jobA
Run a job immediately, bypassing its schedule. If not authenticated with CData Sync, you will be prompted for credentials. Executes all tasks in sequence (or parallel if configured). Use waitForResults=true to wait for completion and see results, or false to start asynchronously. Running jobs cannot be modified or deleted until complete.
Inputs: jobName, jobId, waitForResults, timeout, +1 more.
execute_queryA
Execute pre-defined queries within a job context for testing or ad-hoc operations.
IMPORTANT: Can only execute queries already defined as tasks - cannot run arbitrary SQL.
RETURNS:
Success: Query execution results with row counts and timing
Async: Confirmation that queries started
Error: { code: -32603, message: "error details" }
COMMON ERRORS:
"Query not found" - Query must exist as task in job
"Job not found" - Verify job name/ID
"Execution failed" - Check query syntax and connections
Inputs: queries (required), jobName, jobId, waitForResults, +2 more.
get_connection_tablesA
Discover available tables/views in a data source. Essential before creating jobs.
RETURNS: Array of table names in exact format needed for tasks.
COMMON ERRORS:
"Connection not found" - Verify connection name
"Access denied" - Check connection permissions
"No tables found" - Verify schema/catalog settings
Inputs: connectionName (required), schema, tableOrView, includeSchema, +4 more.
get_job_tablesA
List tables available to add to a specific job, considering job configuration and connection capabilities. If not authenticated with CData Sync, you will be prompted for credentials. Similar to get_connection_tables but filtered for job compatibility. Use when expanding job scope or adding new tables to existing job. Returns exact table names to use in tasks.
Inputs: connectionName (required), jobId (required), schema, tableOrView, +5 more.
get_table_columnsA
Get column details for a specific table including names, data types, and keys.
RETURNS: Array of column objects with name, type, nullable, and key information.
COMMON ERRORS:
"Table not found" - Use exact name from get_connection_tables
"Connection not found" - Verify connection name
"Access denied" - Check table permissions
Inputs: connectionName (required), table (required), workspaceId.
read_certificatesA
List SSL/TLS certificates used for secure connections.
RETURNS: Array of certificate objects with name, subject, expiration, and thumbprint.
COMMON ERRORS:
"No certificates found" - None uploaded yet
"Access denied" - Certificate access may be restricted
Inputs: action, filter, select, top, +2 more.
read_connectionsA
Access data source/destination connections that define how CData Sync connects to databases, APIs, and files. If not authenticated with CData Sync, you will be prompted for credentials. Use 'list' to see all available connections, 'get' to retrieve details about a specific connection, 'test' to verify credentials and connectivity. Connections must be created and tested before being used in jobs. Multiple jobs can use the same connection simultaneously. Note: For counting connections, use 'list' and count the results client-side.
Inputs: action, name, providerName, filter, +5 more.
read_historyA
Access job execution history to analyze performance, troubleshoot failures, and audit data movements. If not authenticated with CData Sync, you will be prompted for credentials. Each history record shows when a job ran, its status, duration, and records affected. Use 'list' to browse history with filters/sorting. Note: Count action not supported by API - use 'list' and count results client-side. Essential for monitoring job health and SLA compliance.
Inputs: action, filter, orderby, select, +3 more.
read_jobsA
Access and monitor data replication jobs that move data from source to destination.
RETURNS:
list: Array of job objects with name, status, and configuration
get: Full job configuration details
status: Current execution state and progress
history: Past execution records
logs: Detailed execution logs for debugging
COMMON ERRORS:
"Job not found" - Verify job name/ID
"No logs available" - Check log retention settings
"Access denied" - Verify user permissions
Inputs: action, jobName, jobId, filter, +7 more.
read_requestsA
Access API request logs for auditing, debugging, and compliance.
RETURNS:
list: Array of request log entries
count: Total number of requests
get: Detailed request information
COMMON ERRORS:
"Request not found" - Check request ID
"Logs purged" - Older logs may be deleted per retention policy
Inputs: action, id, filter, select, +3 more.
read_tasksA
Access tasks within a specific job. Each task defines specific data to replicate.
REQUIRED: jobName parameter for all actions.
RETURNS:
get: Array of task objects with TaskId, Query, Table, and Index
COMMON ERRORS:
"Job not found" - Verify job name with read_jobs
"No tasks defined" - Job may be empty, add tasks with write_tasks
Inputs: jobName (required), action, filter, select, +3 more.
read_transformationsB
Access data transformations that run SQL in the destination (ELT pattern).
RETURNS:
list: Array of transformation objects
get: Detailed transformation configuration
count: Total number of transformations
COMMON ERRORS:
"Transformation not found" - Check name spelling
"Access denied" - Verify permissions
Inputs: action, transformationName, filter, select, +3 more.
read_usersB
Access CData Sync user accounts and their permissions.
ROLES:
cdata_admin: Full administrative access
cdata_standard: Run existing jobs
cdata_job_creator: Create and modify jobs
cdata_support: Operate jobs (start/stop)
RETURNS:
list: Array of user objects
get: Detailed user information
count: Total number of users
COMMON ERRORS:
"User not found" - Check username spelling
"Access denied" - Admin role required
Inputs: action, user, filter, select, +3 more.
read_workspacesA
Access CData Sync workspaces for multi-tenant organization.
WORKSPACES:
Organize jobs, connections, and transformations
Isolate resources between teams/projects
Support multi-tenant deployments
RETURNS:
list: Array of workspace objects with Id and Name
get: Detailed workspace information
count: Total number of workspaces
COMMON ERRORS:
"Workspace not found" - Check workspace name spelling
"Access denied" - Requires appropriate permissions
Inputs: action, name, id, filter, +3 more.
write_certificatesA
Upload SSL/TLS certificates for secure connections.
RETURNS: Certificate details with confirmation of upload.
COMMON ERRORS:
"Invalid certificate format" - Must be base64-encoded
"Certificate expired" - Check expiration date
"Duplicate certificate" - Certificate already exists
"Invalid store type" - Check provider documentation
Inputs: action (required), name (required), data, storeType, +1 more.
write_connectionsA
Create, update, or delete data connections. If not authenticated with CData Sync, you will be prompted for credentials. Connections define how to access your data sources (databases, APIs, files) and destinations. Connection strings are provider-specific - consult CData documentation for your provider. Cannot modify or delete connections currently in use by running jobs. To change providers, delete and recreate the connection.
Inputs: action (required), name (required), providerName, connectionString, +2 more.
write_jobsA
Create, modify, or delete data replication jobs. If not authenticated with CData Sync, you will be prompted for credentials. Jobs orchestrate moving data from source to destination with options for scheduling, transformations, error handling, and notifications. IMPORTANT: Use table names exactly as reported by the source connection - do not modify names or extensions. Job types: Standard=Basic replication, ReplicateAll=Sync all tables, LoadFolder=File-based, ChangeDataCapture=CDC, ReverseETL=Reverse sync, EnhancedChangeDataCapture=Enhanced CDC. Cannot modify/delete running jobs. Add tasks after creating the job.
Inputs: action (required), jobName (required), source, destination, +28 more.
write_requestsA
Delete API request log entries for privacy compliance or cleanup.
RETURNS: Confirmation of log entry deletion.
COMMON ERRORS:
"Request not found" - Verify request ID
"Access denied" - Admin permissions required
"Cannot delete" - Some logs may be protected
Inputs: action (required), id (required), workspaceId.
write_tasksA
Manage tasks within jobs. Tasks define what data to replicate.
IMPORTANT: Use exact table names from get_connection_tables, including file extensions.
RETURNS:
create: New task with assigned TaskId
update: Creates new task (cannot modify existing)
delete: Confirmation of task removal
COMMON ERRORS:
"Invalid table name" - Use exact name from get_connection_tables
"Task not found" - Verify TaskId with read_tasks
"Invalid query syntax" - Check SQL syntax for provider
Inputs: action (required), jobName (required), taskId, tableName, +3 more.
write_transformationsA
Create, update, or delete SQL transformations for ELT processing.
RETURNS:
create: New transformation details
update: Updated configuration
delete: Confirmation of removal
COMMON ERRORS:
"Invalid SQL syntax" - Check destination SQL dialect
"Connection not found" - Verify destination connection
"Trigger job not found" - Check job name for AfterJob mode
Inputs: action (required), transformationName (required), connection, queries, +10 more.
write_usersA
Create or update CData Sync users.
PASSWORD REQUIREMENTS: Must contain uppercase, lowercase, numbers, AND special characters.
RETURNS:
create: New user details with confirmation
update: Updated user information
COMMON ERRORS:
"Invalid password" - Must meet complexity requirements
"User already exists" - Use unique usernames
"Invalid role" - Use exact role values (cdata_admin, etc.)
"Bulk creation failed" - Check individual user errors
Inputs: action (required), user, password, roles, +5 more.
write_workspacesA
Create, update, or delete CData Sync workspaces.
WORKSPACE NAMES:
Must be unique across the system
Cannot contain special characters except _ - .
Case-sensitive
RETURNS:
create: New workspace details
update: Updated workspace information
delete: Success confirmation
COMMON ERRORS:
"Workspace already exists" - Use unique names
"Workspace in use" - Cannot delete workspace with active resources
"Invalid name" - Check naming requirements
Inputs: action (required), name (required), id, newName.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 24 tools
Most tools have distinct purposes targeting specific resources like jobs, connections, or tables, but some overlap exists. For example, get_connection_tables and get_job_tables both list tables, though the latter is filtered for job compatibility, which could cause minor confusion. Similarly, read_jobs and read_history both provide job-related information, but their scopes are differentiated by current status versus historical records.
Tool names follow a highly consistent verb_noun pattern throughout, such as cancel_job, configure_sync_server, and read_connections. All tools use snake_case with clear action prefixes like 'read', 'write', 'get', 'execute', and 'cancel', making the naming predictable and easy to understand across the set.
With 24 tools, the count feels heavy for a data synchronization server, bordering on excessive. While the domain is complex, covering jobs, connections, tasks, and users, the number of tools could overwhelm agents and lead to decision paralysis, suggesting some consolidation might improve usability without losing functionality.
The tool set provides comprehensive CRUD and lifecycle coverage for the CData Sync domain, including jobs, connections, tasks, transformations, users, and workspaces. It supports full management from configuration and execution to monitoring and cleanup, with no obvious gaps that would hinder agent workflows, ensuring complete operational coverage.
Related MCP Connectors
Drive a GetSales workspace: tables, people, companies, enrichment, workflows, inbox, tasks, signals.
List reverse-ETL sources, destinations, models, syncs and runs; trigger syncs into SaaS tools.
Work with your database from AI tools: ask, export, approved changes, and scheduled jobs.
Build and manage data pipelines, add custom connectors, and chat with your data.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to manage CData Arc connectors, files, transactions, workspaces, and administrative actions through natural language interactions via the Arc Admin API.74MIT

Whalesync MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, manage, and monitor two-way data syncs between platforms like Airtable, Webflow, HubSpot, Salesforce, Notion, and Postgres, including mapping fields, running syncs, and troubleshooting record-level issues.MIT- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Argo CD applications through natural language, providing tools for cluster, project, application, and resource management via stdio and HTTP transports.Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to securely interact with Jenkins through its API, exposing tools for inspecting items, nodes, views, queues, and builds, reading console output, test reports, and artifacts, managing plugins, and triggering, stopping, or approving pipeline builds, including executing Groovy scripts. Supports stdio, SSE, and streamable-HTTP transports with configurable authentication, SSL verification, and a read-only mode.-