http(s)://[cloverdx-server-host]:[port]/clover/mcp/all/v1
14. CloverDX Model Context Protocol (MCP) API
MCP (Model Context Protocol) is an emerging standard that enables AI agents to interact with external services and data sources. It provides a standardized way for AI models to access tools, resources, and context from various applications, allowing them to perform tasks beyond their base capabilities.
CloverDX MCP Server exposes a comprehensive set of tools that enable AI agents to fully interact with CloverDX:
-
Sandbox Management: browse, read, write, and organize files within CloverDX sandboxes.
-
Job Execution: run graphs and jobflows, wait for results, monitor status, and abort running jobs.
-
Graph Editing: create and modify CloverDX graphs and jobflows using structured XML operations.
-
Server Diagnostics: access server logs, performance metrics, and internal system database.
-
Component Reference: discover and configure CloverDX component types.
-
Knowledge Base: access the CloverDX knowledge library and manage project-scoped knowledge entries.
-
External Databases: query and inspect databases accessible via JDBC.
-
Support: report issues directly to the CloverDX Support Portal.
MCP API is available at:
Besides this main endpoint, each tool group has an endpoint of its own. They all serve the same tools; what differs is how much of the catalogue a client connected to them sees:
| Endpoint | Serves |
|---|---|
|
Everything the caller is allowed to use, from both groups. |
|
The diagnostic group only. |
|
The authoring group only. |
The older URL /clover/mcp/mcp still works and serves the same as /clover/mcp/all/v1, but it is deprecated. Configure new clients with the versioned one.
|
MCP Tools Reference
The following tables list all MCP tools available in CloverDX Server, grouped by functional area. The Access column indicates whether a tool is available in read-only mode, the Permission column names the permission a caller needs to use the tool. To configure which tools the Server exposes, see MCP tools permissions configuration. Tools that work with sandbox files additionally honour the sandbox file access configuration, which can restrict them to files matching administrator-defined patterns.
Tool groups and permissions
Independently of the functional areas below, every tool belongs to a tool group, and the group decides which permission its caller needs:
-
Use AI Diagnostic MCP tools covers the tools for looking into a running Server – listing jobs, their status, logs and tracking, server and performance logs, the system database, and reporting an issue to CloverDX support. These tools need no seat.
-
Use AI Authoring MCP tools covers the tools that build or change a solution – sandbox files, graph editing, job execution, the component reference and the knowledge base. A user holding this permission occupies one AI Authoring seat – the same seat that licenses the AI Assistant in the Designer.
Granting Use all MCP tools grants both. See MCP permissions and AI Authoring seats for the whole model.
The authoring group is not available through an MCP proxy.
Sandbox Tools
Tools for browsing and managing files inside CloverDX sandboxes.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
List all sandboxes accessible to the current user. |
Read |
Use AI Authoring MCP tools |
|
Get detailed information about a specific sandbox — root path, owner, distribution type, and suspension state. |
Read |
Use AI Authoring MCP tools |
|
List files and folders inside a sandbox directory. |
Read |
Use AI Authoring MCP tools |
|
Recursively search for files in a sandbox using wildcard patterns ( |
Read |
Use AI Authoring MCP tools |
|
Read the text content of a file stored in a sandbox. Supports optional line range and encoding detection. |
Read |
Use AI Diagnostic MCP tools |
|
Extract or profile content from binary and structured files: extract text from PDF documents ( |
Read |
Use AI Authoring MCP tools |
|
List reusable shared assets in a sandbox: metadata definitions ( |
Read |
Use AI Authoring MCP tools |
|
Resolve sandbox workspace parameter values such as |
Read |
Use AI Authoring MCP tools |
|
Search file contents across one or more sandboxes using literal strings or regular expressions. |
Read |
Use AI Authoring MCP tools |
|
Create or update a file in a sandbox. Supports overwrite, append, insert, and line-range replace modes. |
Write |
Use AI Authoring MCP tools |
|
Apply targeted anchor-based patches to a text file in a sandbox without replacing the whole file. Preferred for editing CTL, SQL, and properties files. |
Write |
Use AI Authoring MCP tools |
|
Copy a file within or across sandboxes. Overwrites the destination if it already exists. |
Write |
Use AI Authoring MCP tools |
|
Rename a file within its current directory in a sandbox. |
Write |
Use AI Authoring MCP tools |
|
Delete a file from a sandbox. This operation is irreversible. |
Write |
Use AI Authoring MCP tools |
|
Create a new directory in a sandbox. |
Write |
Use AI Authoring MCP tools |
|
Delete a directory from a sandbox, including all its contents. This operation is irreversible. |
Write |
Use AI Authoring MCP tools |
|
Perform git version-control operations on a sandbox repository: commit, log, diff, status, branch management, stash, and more. |
Write |
Use AI Authoring MCP tools |
Job Tools
Tools for running, monitoring, and debugging graph and jobflow executions.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
List recent graph and jobflow executions from the execution history, with optional filtering by sandbox, job file, and status. |
Read |
Use AI Diagnostic MCP tools |
|
Get the current execution status of a job run without fetching the full log. |
Read |
Use AI Diagnostic MCP tools |
|
Retrieve the full execution log for a job run (up to 1 MiB). |
Read |
Use AI Diagnostic MCP tools |
|
Get per-phase, per-node, and per-port execution tracking data, including record and byte counts for each component. |
Read |
Use AI Diagnostic MCP tools |
|
Fetch sample records that flowed through a specific graph edge during a debug-enabled run. |
Read |
Use AI Authoring MCP tools |
|
Wait for a running job to reach a terminal state (finished, error, or aborted). Safe to re-call on timeout. |
Read |
Use AI Authoring MCP tools |
|
Validate a graph or jobflow file using the server-side configuration checker. Reports errors, warnings, and info messages. |
Read |
Use AI Authoring MCP tools |
|
Record a structured graph design plan and validate its internal consistency before writing any XML. |
Read |
Use AI Authoring MCP tools |
|
Submit a graph or jobflow for asynchronous execution. Returns a run ID immediately. |
Write |
Use AI Authoring MCP tools |
|
Abort a running graph or jobflow execution. Also terminates any child jobs it spawned. |
Write |
Use AI Diagnostic MCP tools |
Graph Editing Tools
Tools for inspecting and modifying CloverDX graphs (.grf), jobflows (.jbf), and subgraphs (.sgrf) via the XML DOM, and for validating the CTL code that goes into them.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
Resolve the record schema (field names, types, nullability) that would flow along each edge of a graph at runtime, including propagated schemas. |
Read |
Use AI Authoring MCP tools |
|
List specific element types defined in a job file: metadata records, lookup tables, dictionaries, or sequences. |
Read |
Use AI Authoring MCP tools |
|
Validate standalone CTL2 code against explicit port metadata, without a job file. Reports compilation and metadata problems with their position in the code, and checks the entry functions the given component type requires. |
Read |
Use AI Authoring MCP tools |
|
Set or update attribute values, CTL transformation code, or metadata record definitions on existing graph elements. Supports bulk edits and dry-run preview. |
Write |
Use AI Authoring MCP tools |
|
Add, delete, or move whole structural elements in a job — nodes, edges, phases, metadata definitions, connections, and more. Supports dry-run preview. |
Write |
Use AI Authoring MCP tools |
|
Re-arrange every component of a job file into a deterministic left-to-right layout. Job files are laid out automatically on every write, keeping the positions a human set; this tool re-arranges the whole file regardless. Supports dry-run preview. |
Write |
Use AI Authoring MCP tools |
Component Tools
Tools for discovering and understanding CloverDX component types.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
Browse and search available CloverDX component types by name, category, or keyword. |
Read |
Use AI Authoring MCP tools |
|
Get detailed configuration information for a component type: input/output ports, properties, required settings, and metadata propagation rules. |
Read |
Use AI Authoring MCP tools |
|
Fetch the in-depth reference guide for a component, including configuration examples, CTL mapping syntax, and known pitfalls. |
Read |
Use AI Authoring MCP tools |
Server Tools
Tools for inspecting CloverDX Server state, logs, and internal system database.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
Get a snapshot of the running CloverDX Server environment — JVM, OS, memory, cluster topology, and configuration. Can also return the official support matrix. |
Read |
Use AI Diagnostic MCP tools |
|
Search server log entries by time range and regular expression pattern. Supports multiple log appenders: main server log, cluster, user actions, job queue, data services, and others. |
Read |
Use AI Diagnostic MCP tools |
|
Execute SQL queries (Apache Calcite dialect) against the server performance log. Returns time-series CPU, memory, GC, and I/O metrics sampled every 3 seconds. |
Read |
Use AI Diagnostic MCP tools |
|
Retrieve the table and column schema of the CloverDX internal system database (execution history, users, sandboxes, schedules, and other server-managed records). |
Read |
Use AI Diagnostic MCP tools |
|
Execute a read-only SQL SELECT query against the CloverDX internal system database. |
Read |
Use AI Diagnostic MCP tools |
External Database Tools
Tools for interacting with external databases accessible via JDBC.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
Query schemas, tables, or columns of any database accessible via JDBC — using either a saved connection configuration file or inline connection properties. Supports all major databases (PostgreSQL, Oracle, MSSQL, MySQL, and others). |
Read |
Use AI Authoring MCP tools |
|
Execute SQL (SELECT, DML, or DDL) against any database accessible via JDBC. Results are returned as JSON or delimited text. |
Write |
Use AI Authoring MCP tools |
Knowledge Tools
Tools for accessing the knowledge space – the built-in CloverDX knowledge library, the customer’s own company entries and the project-scoped entries – and for managing the project-scoped ones.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
List all static reference documents exposed as MCP resources by the installed CloverDX knowledge library, including graph XML reference, CTL language reference, and component guides. |
Read |
Use AI Authoring MCP tools |
|
Fetch the content of a specific knowledge resource by its URI. |
Read |
Use AI Authoring MCP tools |
|
Search the whole knowledge space by keyword: the entries shipped in the CloverDX knowledge library ( |
Read |
Use AI Authoring MCP tools |
|
Read the body of one knowledge entry by its |
Read |
Use AI Authoring MCP tools |
|
Store or update a knowledge entry in the |
Write |
Use AI Authoring MCP tools |
|
Delete one entry from the |
Write |
Use AI Authoring MCP tools |
|
Return what one agent role sees of the knowledge space: the pinned rules addressed to that role and the index of entries visible to it. The assistant host calls it when it composes a system prompt; other clients can call it to preview a role’s view. |
Read |
Use AI Authoring MCP tools |
Agent Utility Tools
Tools used by AI agents to manage session state and workflow guidance.
| Tool | Description | Access | Permission |
|---|---|---|---|
|
Read notes from the session-scoped working memory. |
Read |
Use AI Authoring MCP tools |
|
Log explicit reasoning before taking an action. Helps AI agents plan component selection, graph edits, and error diagnostics. |
Read |
Use AI Authoring MCP tools |
|
Get step-by-step procedural instructions for a CloverDX task type: creating a graph, editing a graph, creating a jobflow, or validating and running a job. |
Read |
Use AI Authoring MCP tools |
|
Append a note to a named section in session-scoped working memory. Notes are lost when the MCP session ends. |
Write |
Use AI Authoring MCP tools |
|
Clear notes from session-scoped working memory — either a specific section or all sections. |
Write |
Use AI Authoring MCP tools |
|
Report a problem to the CloverDX Support Portal. Optionally attaches a diagnostic support package containing logs and configuration details. |
Write |
Use AI Diagnostic MCP tools |