Skip to main content
Glama
CData Arc MCP Server

CData Arc MCP Server

by ctslone

CData Arc MCP Server

A comprehensive Model Context Protocol (MCP) server that enables AI assistants like Claude to manage CData Arc flows, messages, and application behavior through natural language interactions. Built with TypeScript and the MCP SDK, providing secure access to Arc's Admin API.

šŸš€ Overview

This MCP server provides complete administrative access to your CData Arc instance through natural language interactions. Claude can now create connectors, monitor transactions, manage configurations, troubleshoot issues, and perform administrative actions using conversational commands.

Related MCP server: CData Sync MCP Server

šŸ› ļø Available Tools

Connector Management (7 tools)

  • list_connectors - List Arc connectors with filtering and pagination

  • get_connector - Get detailed information about a specific connector

  • create_connector - Create new connectors with custom configuration

  • update_connector - Update existing connector settings

  • delete_connector - Remove connectors permanently

  • receive_file - Trigger file receive operations for connectors

  • send_file - Trigger file send operations for connectors

File & Message Management (7 tools)

  • list_files - List processed files with filtering and pagination

  • get_file - Get detailed information about specific files

  • create_file - Create new files with custom metadata

  • update_file - Update existing file metadata and content

  • delete_file - Remove files permanently

  • get_files_by_connector - List all files for a specific connector

  • get_recent_files - View recently processed files across all connectors

Transaction & Log Management (9 tools)

  • list_logs - List Arc logs with level and category filtering

  • get_log - Get detailed log entry information

  • create_log - Create new log entries

  • delete_log - Remove log entries

  • list_transactions - List processing transactions with status filtering

  • get_transaction - Get detailed transaction information

  • get_recent_transactions - View recent transactions with status summary

  • get_message_count - Get count of unsent messages by connector and workspace

  • get_transaction_logs - Retrieve detailed transaction log files and content

Workspace Management (4 tools)

  • list_workspaces - List all workspaces with comprehensive property display

  • get_workspace - Get detailed workspace configuration and settings

  • create_workspace - Create new workspaces with custom configuration

  • update_workspace - Update workspace settings including email, S3, cleanup, and performance options

Certificate Management (6 tools)

  • list_certificates - List Arc certificates with filtering and pagination

  • get_certificate - Get detailed information about a specific certificate

  • create_certificate - Create new certificates with custom configuration

  • delete_certificate - Remove certificates permanently

  • create_cert - Generate new public/private certificate key pairs

  • exchange_cert - Exchange certificates for AS2/OFTP protocols with partners

Vault Management (4 tools)

  • list_vault_items - List vault items with filtering and pagination

  • get_vault_item - Get detailed information about specific vault items

  • create_vault_item - Create new vault entries for secure storage

  • delete_vault_item - Remove vault items permanently

Report Management (3 tools)

  • list_reports - List available reports with filtering options

  • get_report - Get detailed report information and configuration

  • delete_report - Remove reports permanently

Request Monitoring (2 tools)

  • list_requests - List API requests with filtering and pagination

  • get_request - Get detailed information about specific API requests

Administrative Actions (6 tools)

  • cleanup_files - Clean up log files for specified workspaces and connectors

  • export_settings - Export connector settings and workspace configuration to arcflow format

  • import_settings - Import partner/connector profiles from arcflow data

  • copy_connector - Copy connector configurations between workspaces

  • copy_workspace - Copy entire workspaces with all connectors

  • set_flow - Configure connector flow connections within a workspace

Profile & Configuration Management (2 tools)

  • get_profile - View Arc application profile and settings

  • update_profile - Update logging, email notifications, SMTP, SSO, and syslog configuration

šŸ—ļø Architecture

Core Components

  • ArcApiClient - Handles HTTP communication with Arc Admin API with comprehensive error handling

  • Tool Modules - Organized by functionality (connectors, files, logs, profile, certificates, actions, etc.)

  • Type Definitions - Complete TypeScript interfaces for all Arc entities and API operations

  • Dual Transport - Supports both stdio and HTTP transports

Key Features

  • šŸ” Secure Authentication - Bearer token and Basic Auth support

  • šŸ” Rich Filtering - OData-style query parameters with advanced filtering

  • šŸ“Š Smart Formatting - User-friendly output with comprehensive details and status information

  • ⚔ Error Handling - Comprehensive error handling with detailed API error parsing

  • šŸ”„ Real-time Data - Live access to Arc instance data with proper OData response handling

  • šŸŽÆ OData Compatibility - Proper handling of OData responses and empty result sets

  • šŸš€ Action Support - Administrative actions like cleanup, export/import, and flow configuration

šŸ“¦ Installation

  1. Clone the repository:

    git clone https://github.com/your-username/cdata-arc-mcp-server.git
    cd cdata-arc-mcp-server
  2. Install dependencies:

    npm install
  3. Build the TypeScript code:

    npm run build

This creates the compiled JavaScript files in the dist/ directory that Claude Desktop needs to run the MCP server.

āš™ļø Configuration

Claude Desktop Configuration

Add to your Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "cdata-arc-server": {
      "command": "node",
      "args": ["C:/path/to/cdata-arc-mcp-server/dist/index.js"],
      "env": {
        "CDATA_BASE_URL": "http://localhost:8001/api.rsc",
        "CDATA_AUTH_TOKEN": "your-api-token-here"
      }
    }
  }
}

Important Configuration Notes:

  • Use forward slashes / or escaped backslashes \\ in Windows paths

  • Replace localhost:8001 with your actual CData Arc instance URL

  • Ensure the dist/index.js file exists by running npm run build first

  • Restart Claude Desktop after making configuration changes

Environment Variables

Required:

  • CDATA_BASE_URL: Base URL for your CData Arc instance (e.g., http://localhost:8001/api.rsc)

  • CDATA_AUTH_TOKEN: Your authtoken for your CData Arc instance (e.g., username:1234567890) Optional:

  • MCP_TRANSPORT_MODE: Transport mode - stdio (default) or http

  • MCP_HTTP_PORT: Port for HTTP transport (default: 3000)

Transport Modes

This MCP server supports two communication modes:

STDIO Mode (Default)

  • How it works: Claude Desktop launches the server as a child process and communicates via standard input/output

  • When to use: Normal operation with Claude Desktop (recommended)

  • Configuration: Claude Desktop handles starting/stopping the server automatically

  • Testing: Use npm run start to test the server manually in stdio mode (it will wait for JSON-RPC messages on stdin)

HTTP Mode

  • How it works: MCP server runs as a standalone HTTP service with a health check endpoint

  • When to use: Designed for server deployments and monitoring

  • Current limitations:

    • Only supports plaintext HTTP (SSL/TLS support planned for future release)

    • Only /health endpoint currently available (MCP protocol endpoints coming soon)

    • Not compatible with Claude Desktop remote connections (requires HTTPS and SSE endpoints)

  • Configuration: Set MCP_TRANSPORT_MODE=http and optionally MCP_HTTP_PORT=3000

  • Testing: Use npm run start:http with environment variables, then test the health endpoint at http://localhost:3000/health

🚦 Getting Started

  1. Install dependencies and build the server:

    npm install
    npm run build
  2. Configure your Arc instance URL and authentication token in environment variables or Claude Desktop config

  3. Add the MCP server to your Claude Desktop configuration file

  4. Restart Claude Desktop to load the new MCP server

  5. Start chatting with Claude about your Arc instance! Try commands like:

    • "Show me all connectors in the default workspace"

    • "Get the recent transactions for the past hour"

    • "Clean up log files older than 30 days"

    • "Export the connector settings for workspace 'production'"

Quick Start Commands

# Install and build
npm install
npm run build

# Run in development mode with file watching
npm run dev

# Start the server directly (for testing)
npm run start

šŸ”§ Development

Available Scripts

npm run dev        # Development mode with file watching and auto-restart
npm run build      # Build TypeScript to JavaScript
npm run start      # Start server in stdio mode (for manual testing - Claude Desktop normally handles this)
npm run start:http # Start server in HTTP mode on the port defined by `MCP_HTTP_PORT`
npm run typecheck  # Type checking only

Project Structure

src/
ā”œā”€ā”€ index.ts                   # Main server entry point
ā”œā”€ā”€ services/
│   └── arc-client.ts         # Arc API client with comprehensive error handling
ā”œā”€ā”€ tools/
│   ā”œā”€ā”€ connector-tools.ts    # Connector management and file operations
│   ā”œā”€ā”€ monitoring-tools.ts   # Logs, transactions, and message monitoring
│   ā”œā”€ā”€ workspace-tools.ts    # Workspace management operations
│   ā”œā”€ā”€ certificate-tools.ts  # Certificate creation and exchange
│   ā”œā”€ā”€ vault-tools.ts        # Vault/secrets management
│   ā”œā”€ā”€ report-tools.ts       # Report management
│   ā”œā”€ā”€ request-tools.ts      # API request monitoring
│   ā”œā”€ā”€ action-tools.ts       # Administrative actions (cleanup, export/import)
│   └── config-tools.ts       # Profile and configuration management
ā”œā”€ā”€ types/
│   └── arc-api.ts           # Complete TypeScript type definitions
└── admin_api_swagger.json   # OpenAPI specification

šŸ› Troubleshooting

Common Issues

  1. Connection errors

    • Verify CDATA_BASE_URL is correct and CData Arc instance is running

    • Check CDATA_AUTH_TOKEN is valid and has proper permissions

    • Ensure the API endpoint /api.rsc is accessible

  2. Tool not found errors

    • Run npm run build to ensure TypeScript is compiled

    • Restart Claude Desktop after configuration changes

    • Check that all file paths in configuration use forward slashes or escaped backslashes

  3. Authentication errors

    • Test API access directly: curl -H "x-cdata-authtoken: YOUR_TOKEN" http://localhost:8001/api.rsc/connectors

    • Verify token has admin-level permissions for all operations

  4. Empty or error responses

    • Check Arc instance logs for detailed error information

    • Verify workspace and connector IDs exist and are spelled correctly

    • Some endpoints return empty results when no data matches the criteria

Debug Mode

Set NODE_ENV=development for additional debug logging:

{
  "mcpServers": {
    "cdata-arc-server": {
      "command": "node",
      "args": ["C:/path/to/dist/index.js"],
      "env": {
        "CDATA_BASE_URL": "http://localhost:8001/api.rsc",
        "CDATA_AUTH_TOKEN": "your-token",
        "NODE_ENV": "development"
      }
    }
  }
}

šŸ“„ OpenAPI Integration

The server includes a complete OpenAPI specification (admin_api_swagger.json) with:

  • All API endpoints used by the MCP tools

  • Proper schema definitions with comprehensive type information

  • OData-compliant request/response formats

  • Authentication and error handling specifications

  • Action endpoints for administrative operations

šŸ¤ Contributing

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/amazing-feature)

  3. Make your changes and add tests if applicable

  4. Ensure code passes linting: npm run lint

  5. Build and test: npm run build && npm run test

  6. Commit your changes (git commit -m 'Add amazing feature')

  7. Push to the branch (git push origin feature/amazing-feature)

  8. Open a Pull Request

šŸ“ License

MIT License - see LICENSE file for details.

Available Tools

74 tools
cleanup_filesB

Clean up log files for specified workspaces and connectors

Inputs: age, type, connectorId, workspaceId.

copy_connectorA

Copy an Arc connector settings to a new connector with a specified ID. Optionally copy to a different workspace.

Inputs: connectorId (required), workspaceId (required), newConnectorId (required), newWorkspaceId.

copy_workspaceA

Copy all connectors from a source workspace to a new workspace with a specified suffix added to connector IDs

Inputs: workspaceId (required), newWorkspaceId (required), connectorIdSuffix (required).

create_certA

Create a public/private certificate key pair. IMPORTANT: All 4 required parameters (filename, commonName, serialnumber, password) must be provided. Use a unique serial number like a timestamp or random number.

This generates TWO files from a single filename (e.g., 'MyCert.pfx'):

  • MyCert.pfx — contains the private key. Use this for as2:signingkeypath and as2:privatekeypath in the AS2 profile.

  • MyCert.cer — contains the public certificate only. Use this for as2:publickeypath in the AS2 profile, and share it with trading partners so they can encrypt messages to you.

Inputs: filename (required), password (required), commonName (required), serialnumber (required), +10 more.

create_connectorB

Create a new Arc connector. Requires connectorId, connectorType, and action. The action property defines the connector's role in flows. If workspaceId is not specified, connector is created in the default workspace.

Inputs: action (required), connectorId (required), connectorType (required), logLevel, +12 more.

create_fileC

Create a new Arc file

Inputs: folder (required), filename (required), messageId (required), connectorId (required), +7 more.

create_flow_apiB

Create a new Arc flow API for a workspace

Inputs: workspaceId (required), name, method, bodyType, +8 more.

create_reportA

Create a new Arc report with specified configuration. The Columns parameter is critical - include the metrics you want to see in the report (e.g., TransactionsSent, TransactionsReceived, TotalProcessingTime, TransactionsSuccess, TransactionsError).

Inputs: name (required), type, format, columns, +12 more.

create_vault_entryC

Create a new vault entry

Inputs: id (required), name (required), value (required), tags, +2 more.

create_workspaceB

Create a new workspace

Inputs: workspaceId (required), name, description.

delete_certificateA

Delete an Arc certificate permanently

Inputs: name (required).

delete_connectorA

Delete an Arc connector permanently

Inputs: connectorId (required).

delete_fileB

Delete a specific Arc file permanently

Inputs: folder (required), filename (required), messageId (required), connectorId (required).

delete_flow_apiA

Delete an Arc flow API permanently

Inputs: workspaceId (required).

delete_logC

Delete a specific log entry

Inputs: logId (required).

delete_reportA

Delete an Arc report permanently

Inputs: name (required).

delete_requestB

Delete a specific request log

Inputs: requestId (required).

delete_transactionB

Delete a specific transaction

Inputs: transactionId (required).

delete_vault_entryB

Delete a specific vault entry

Inputs: vaultId (required).

delete_workspaceB

Delete a workspace by ID

Inputs: workspaceId (required).

exchange_certB

Exchange the specified certificate for AS2 or OFTP protocols

Inputs: certificate (required), exchangeType (required), portId, requestId, +5 more.

export_data_encryption_keyA

Export the Arc data encryption key as an encrypted key package, secured with a passphrase for safe transport

Inputs: passphrase (required).

export_settingsB

Export connector settings and workspace configuration to arcflow format

Inputs: flowAPI, connectorId, workspaceId, flowPassword, +3 more.

get_certificateA

Get detailed information about a specific Arc certificate

Inputs: name (required).

get_connectorA

Get detailed information about a specific Arc connector. Shows all available properties and their current values. Use property names from this response directly in the update_connector tool to modify connector settings.

Inputs: connectorId (required).

get_error_logsB

Get recent error logs to help with troubleshooting

Inputs: top, hours, connectorId.

get_error_requestsA

Get recent failed HTTP requests for troubleshooting

Inputs: top, hours, statusRange.

get_fileB

Get detailed information about a specific Arc file

Inputs: folder (required), filename (required), messageId (required), connectorId (required).

get_files_by_connectorB

Get all files processed by a specific connector

Inputs: connectorId (required), top, orderby.

get_flow_apiA

Get detailed information about a specific Arc flow API by workspace ID

Inputs: workspaceId (required).

get_logB

Get detailed information about a specific log entry

Inputs: logId (required).

get_message_countA

Get the unsent messages count for connectors - counts all messages in Send folders

Inputs: connectorId, workspaceId.

get_profileA

Get current Arc application profile and configuration settings

Inputs: no named parameters.

get_recent_filesB

Get recently processed files across all connectors

Inputs: top, hours.

get_recent_requestsC

Get recent HTTP requests with status summary and filtering

Inputs: top, hours, method, status.

get_recent_transactionsB

Get recent transactions with status summary

Inputs: top, hours.

get_reportA

Get detailed information about a specific Arc report

Inputs: name (required).

get_requestB

Get detailed information about a specific request log

Inputs: requestId (required).

get_requests_countB

Get the total count of request logs with optional filtering

Inputs: filter.

get_transactionB

Get detailed information about a specific Arc transaction

Inputs: transactionId (required).

get_transaction_logsC

Retrieve transaction details and log files for a specific message transaction

Inputs: direction (required), messageId (required), type, portId, +3 more.

get_transaction_propertyB

Get a specific property value from a transaction

Inputs: propertyName (required), transactionId (required).

get_transactions_countA

Get the total count of transactions with optional filtering

Inputs: filter.

get_vault_countA

Get the total count of vault entries with optional filtering

Inputs: filter.

get_vault_entryB

Get detailed information about a specific vault entry

Inputs: vaultId (required).

get_vault_propertyB

Get a specific property value from a vault entry

Inputs: vaultId (required), propertyName (required).

get_workspaceA

Get details for a specific workspace by ID

Inputs: workspaceId (required), select.

get_workspace_propertyC

Get a specific property value from a workspace

Inputs: workspaceId (required), propertyName (required).

get_workspaces_countA

Get the total count of workspaces with optional filtering

Inputs: filter.

import_certificateA

Import an existing certificate into Arc. Use this ONLY when you already have a certificate file and need to upload it. The user must provide the base64-encoded certificate data. To generate a NEW certificate from scratch, use 'create_cert' instead.

Inputs: data (required), name (required), issuer, keysize, +11 more.

import_data_encryption_keyA

Import a previously exported Arc data encryption key using the key package and the passphrase it was exported with

Inputs: keyPackage (required), passphrase (required).

import_settingsC

Import partner/connector profiles from arcflow data (base64 encoded)

Inputs: arcflow (required), inputName, overwrite, workspaceId, +5 more.

list_certificatesA

List Arc certificates with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_connectorsA

List Arc connectors with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_filesC

List Arc files with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_flow_apisB

List Arc flow APIs with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_logsB

List Arc logs with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_reportsB

List Arc reports with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_requestsB

List HTTP request logs with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_transactionsB

List Arc transactions with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_vault_entriesC

List vault entries with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

list_workspacesB

List all workspaces with optional filtering and pagination

Inputs: top, skip, filter, select, +1 more.

receive_fileC

Trigger the receive action of a connector to download/receive files

Inputs: connectorId (required), workspaceId.

requeue_messageA

Re-queue a failed or stuck message for reprocessing by its connector

Inputs: messageId (required), connectorId (required), workspaceId (required).

search_vault_by_typeC

Search vault entries by type with additional filtering options

Inputs: type (required), top, tags.

search_workspacesA

Search workspaces by name or description using contains filter

Inputs: searchTerm (required).

send_fileC

Trigger the send action of a connector to upload/send files from the send folder

Inputs: connectorId (required), file, portId, messageId, +4 more.

set_flowC

Configure connector flow connections within a workspace

Inputs: connections (required), workspaceId (required).

update_connectorA

Update an existing Arc connector's configuration. Automatically fetches the connector details to validate property names against available properties for that connector type. Only valid properties will be updated; invalid ones will be reported.

For the 'receiveinterval' property, use a plain number (in minutes) for simple schedules (e.g., '15' for every 15 minutes, '60' for every hour). Use a 5-part cron expression only for complex schedules (e.g., '0 2 * * *' for daily at 2 AM).

Common REST/SFTP examples: 'url', 'host', 'port', 'username', 'password', 'automationsend', 'automationreceive', 'receiveinterval'. Common AS2 examples: 'as2identifier', 'url', 'certificate', 'signingcertificate', 'useencryption', 'usesigning'.

Inputs: properties (required), connectorId (required).

update_fileC

Update an existing Arc file

Inputs: folder (required), filename (required), messageId (required), connectorId (required), +7 more.

update_profileA

Update Arc application profile configuration settings. Accepts any profile property including protocol-specific settings. IMPORTANT: Only use property names that exist in the actual profile response.

Common examples:

  • Global settings: loglevel, ssoenabled, notifyemailfrom, smtpserver, etc.

  • AS2 CERTIFICATE/KEY settings (note: AS2 uses 'keypath', NOT 'signingcertificate'): • as2:signingkeypath, as2:signingkeypassword, as2:signingkeysubject • as2:privatekeypath, as2:privatekeypassword, as2:privatekeysubject • as2:publickeypath • as2:rolloversigningkeypath, as2:rolloversigningkeypassword, as2:rolloversigningkeysubject • as2:rolloverprivatekeypath, as2:rolloverprivatekeypassword, as2:rolloverprivatekeysubject • as2:rolloverpublickeypath

  • AS2 other settings: as2:as2identifier, as2:receivingurl, as2:publicurl, as2:baseurl, etc.

  • AS3/AS4 CERTIFICATE settings (these use 'signingcertificate', different from AS2): • as4:signingcertificate, as4:signingcertificatepassword, as4:signingcertificatesubject • as4:rolloversigningcertificate, as4:rolloversigningcertificatepassword, as4:rolloversigningcertificatesubject

  • AS4 other settings: as4:partyid, as4:partyidtype, etc.

  • Other protocols: sftp:, ftp:, http:*, etc.

Property names must be lowercase and use colons for protocol-specific settings. Always verify property names exist in the profile before using them.

update_reportB

Update an existing Arc report configuration. The Columns parameter is critical - include the metrics you want to see in the report (e.g., TransactionsSent, TransactionsReceived, TotalProcessingTime, TransactionsSuccess, TransactionsError).

Inputs: name (required), type, format, columns, +12 more.

update_vault_entryB

Update an existing vault entry

Inputs: vaultId (required), name, tags, type, +2 more.

update_workspaceB

Update an existing workspace

Inputs: workspaceId (required), name, description.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 74 tools

    Disambiguation4/5

    Tools are grouped by resource type with clear prefixes (connector, file, transaction, report, etc.), and descriptions clarify distinct purposes. A few similar tools like get_log/get_error_logs/get_transaction_logs could cause confusion, but their descriptions differentiate them effectively.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun pattern (list_*, get_*, create_*, update_*, delete_*). Minor deviations like create_cert, exchange_cert, receive_file, send_file, and set_flow are still descriptive and do not create chaos.

    Tool Count2/5

    With 74 tools, this server is very large. Even though CData Arc is a complex platform covering many resource types, the sheer number exceeds the typical well-scoped range and may overwhelm agents.

    Completeness4/5

    The tool set provides CRUD coverage for most core resources (connectors, files, reports, certificates, vault entries, workspaces) plus operational actions like send/receive files, requeue messages, and settings export/import. Minor gaps exist, such as no update for flow APIs, but overall the surface is comprehensive.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to manage CData Sync operations, including data synchronization jobs, connections, and ETL processes through stdio or HTTP transports. It provides tools for executing jobs, monitoring real-time progress via Server-Sent Events, and handling comprehensive workspace configurations.
      24
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to read, analyze, edit, and create Alteryx workflows, including summarizing workflows, finding tools, editing configurations, updating SQL, managing connections, and building new workflows programmatically.
      MIT