Testkube MCP Server Tools
The Testkube MCP Server offers the same tools whether you connect to the hosted endpoint or run it with the CLI or Docker. Each tool call acts with the permissions of the user or API token you connected with; see Security & Compliance.
Workflow Management
list_workflows- List workflows with filteringget_workflow- Get workflow detailsget_workflow_definition- Get workflow YAMLget_workflow_metrics- Get workflow performance metricscreate_workflow- Create new workflowupdate_workflow- Update existing workflowrun_workflow- Execute workflow
Workflow Template Management
list_workflowtemplates- List all workflow templates with optional label filteringget_workflowtemplate_definition- Get workflow template YAML definitioncreate_workflowtemplate- Create new workflow templateupdate_workflowtemplate- Update existing workflow template
Runner Management
list_agents- List available runners for workflow execution targeting - Read More
Execution Management
list_executions- List workflow executionsget_execution_info- Get execution detailsget_workflow_execution_metrics- Get detailed resource consumption metrics for a specific executionget_workflow_resource_history- Analyze resource consumption patterns across multiple executions (trends, outliers, statistics)fetch_execution_logs- Get execution logslookup_execution_id- Resolve execution name to IDwait_for_executions- Wait for executions to completeabort_workflow_execution- Cancel running executionupdate_execution_tags- Update tags on an execution (replace semantics)
Artifact Management
list_artifacts- List execution artifactsread_artifact- Read artifact content
Query Tools
query_workflows- Query multiple workflow definitions using JSONPath expressionsquery_executions- Query multiple execution records using JSONPath expressions
Schema Tools
get_workflow_schema- Get the YAML schema for TestWorkflow definitionsget_execution_schema- Get the YAML schema for TestWorkflowExecution data
Insights Metrics
Read the Granular Metrics that Testkube extracts from k6, JMeter, Artillery, JUnit and InfluxDB reports. These tools only cover the MCP session's environment. Granular metrics need PostgreSQL as the Testkube database, and on a Control Plane too old to serve them, the tools are listed but return an error when called.
list_insight_series- Find the metric series that exist, with theseriesIdand metric key of each, filtered by workflow, report source, metric key or identity (such as a test case or a k6 request)list_insight_metric_keys- List the distinct metric keys, such ashttp_req_duration_p95_msortest_duration_msget_insight_metric_series- Get a metric as a time series, for a metric key (measure) or for chosenseriesIdvalues, optionally broken down (segment) by workflow, status or an identity field. It covers the last 7 days unless you passstartDateandendDate. Besides metric keys,measureacceptslatency_p95_ms,throughput_rpsanderrors_rate, which combine performance metrics across toolslist_insight_executions- List the executions behind a metric, most recent first, with the same filters asget_insight_metric_series
Insights Boards
Create, view and update Insights boards. Boards belong to the organization rather than to one environment, and a report narrows itself to environments through its own filters.
list_boards- List the boards visible to you (shared and private)get_board- Get a board with its reports and layoutcreate_board- Create an empty board, shared with the organization by defaultupdate_board- Change a board's name, description, slug, visibility or layoutadd_board_report- Add a Pass/Fail, Executions, Workflows or Time Series reportupdate_board_report- Change a report's name, description, kind or settingsremove_board_report- Remove a report from a boarddelete_board- Delete a board and all of its reportsrender_board- Return the numbers each report shows. Each report keeps the settings saved with it, including the aggregation period of a time series and its is not and does not contain filters. By default every report uses its own environment filter, as in the Dashboard; setscopetoenvironmentto limit every report to the MCP session's environment. Relative ranges (a day, week, month or quarter) end at midnight intimeZone, an IANA name such asEurope/Berlinthat defaults to UTC; the Dashboard ends them at midnight in your browser's time zone, so pass yours to get the same numbers
Board tools require a signed-in user. They work with the hosted MCP endpoint when you connect with your user account, and with the CLI after testkube login. They do not work with an API token, including an API token passed to the Docker container as TK_ACCESS_TOKEN.
Deleting a shared board requires the organization admin role, as it does in the Dashboard.
Changes to a board made through MCP never overwrite a change someone else made in the meantime. Each change is applied only to the version of the board the tool read. If the board changed first, for example because someone edited it in the Dashboard, the tool reads it again and reapplies your change on top, and it reports an error without changing anything if the board keeps changing. This needs a Control Plane that tracks board versions; with an older one, a change overwrites the board as it was read. Deleting a board is different: it removes the board and everything on it, including changes made since the tool read it, as deleting in the Dashboard does.
Utility Tools
build_dashboard_url- Generate dashboard URLslist_labels- List available labelslist_resource_groups- List resource groups
Tool Annotations
Every tool declares the MCP tool annotations readOnlyHint, destructiveHint, idempotentHint and openWorldHint. An MCP client can use them to decide which tool calls it runs without asking you. Testkube sets them as follows:
| Kind | Tools | Hints |
|---|---|---|
| Read-only | Every list_, get_, query_, fetch_, lookup_ and read_ tool, plus wait_for_executions, render_board and build_dashboard_url | read-only, idempotent |
| Additive | create_workflow, create_workflowtemplate, create_board, add_board_report | not read-only, not destructive |
| Destructive | update_workflow, update_workflowtemplate, update_execution_tags, abort_workflow_execution, update_board, update_board_report, remove_board_report, delete_board | destructive, idempotent |
| Run | run_workflow | destructive, not idempotent, open world |
run_workflow is marked open world because a workflow's steps can reach systems outside Testkube. The hints only guide your MCP client: the Testkube MCP Server does not ask for confirmation itself, and each call is still checked against the role of the user or API token.