Click on "Install 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 ServerShow 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
๐ 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:
Start stdio-only server:
Server 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:
Available 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:
Development: Dual Transport
For development and testing, you can run both transports simultaneously:
This 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
Example: Creating a connection
Real-time Monitoring
The HTTP transport provides real-time notifications for:
Tool execution start/completion
Job execution progress
Configuration changes
Error notifications
๐ง Development
Development Scripts
Environment 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
Docker Compose
Kubernetes
Systemd Service
๐ก HTTP API Reference
Protocol Information
GET /mcp/v1/info
Health Check
GET /mcp/v1/health
Send MCP Request
POST /mcp/v1/message
Real-time Events
GET /mcp/v1/stream
Server-Sent Events stream providing real-time notifications:
๐งช Testing
Running Tests
Test Structure
๐ค 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