Skip to main content
Glama
jira-xray-cloud-mcp

jira-xray-cloud-mcp

by netcare-io

jira-xray-cloud-mcp

MCP server for Xray Test Management on Jira Cloud. It exposes the Xray Cloud REST API v2 and GraphQL API as MCP tools. Tools are grouped into toolsets, each split into a read and a write half that you can switch on and off. Single tools can be added or removed on top of that, and a read-only switch removes every write tool from the server.

  • 84 Xray tools in 14 toolsets / 25 halves (31 read, 53 write), plus xray_list_toolsets.

  • Credentials from the environment (one Xray API key for the server) or from HTTP request headers (every user brings their own key).

  • Tools take Jira issue keys (CALC-12) as well as numeric issue ids. Xray's GraphQL API itself only accepts ids; the server looks the keys up.

  • Write tools carry MCP annotations (readOnlyHint, destructiveHint, idempotentHint), so clients can ask for confirmation before destructive calls.

  • The raw GraphQL toolset (xray_graphql_query, xray_graphql_mutation, xray_graphql_schema) covers whatever the dedicated tools don't. The Xray schema is bundled, so the model can look it up.

Configuration

All settings are environment variables (see .env.example):

Variable

Default

Meaning

XRAY_AUTH_MODE

env

env: one API key for the server, from XRAY_CLIENT_ID / XRAY_CLIENT_SECRET. headers: every HTTP request brings its own key (see Credentials).

XRAY_CLIENT_ID

–

Client id of an Xray API key (Xray → Global Settings → API Keys). env mode only.

XRAY_CLIENT_SECRET

–

Client secret of that API key. Every call runs as the key's Jira user. env mode only.

XRAY_BASE_URL

https://xray.cloud.getxray.app

Regional hosts: https://us., https://eu., https://au.xray.cloud.getxray.app.

XRAY_READ_ONLY

false

true registers read tools only, whatever the selection says. Write tools do not exist on the server, and the HTTP client also refuses mutations and non-GET REST calls as a second safeguard.

XRAY_TOOLSETS

default

Which toolset halves to enable (see below).

XRAY_TOOLS

–

Single tools to add to or remove from that selection (see below).

XRAY_TIMEOUT

60

HTTP timeout in seconds.

XRAY_MAX_DOWNLOAD_BYTES

10485760

Largest file that attachment/backup/export tools return inline.

Credentials

Xray Cloud authenticates with API keys only (client id + secret, exchanged for a 24h token that the server caches).

  • XRAY_AUTH_MODE=env (default): the server uses XRAY_CLIENT_ID / XRAY_CLIENT_SECRET for every caller. Suited to stdio and to single-user deployments.

  • XRAY_AUTH_MODE=headers: every request must carry X-Xray-Client-Id and X-Xray-Client-Secret. Calls then run as that key's Jira user, and tokens are cached per key. XRAY_CLIENT_ID / XRAY_CLIENT_SECRET are ignored. This needs the HTTP transport; serve it over HTTPS only (e.g. behind a TLS-terminating reverse proxy), since the headers carry the secret.

Selecting toolsets

Each toolset is split into a read half (<name>_read) and a write half (<name>_write). Toolsets without write tools only have a read half. XRAY_TOOLSETS is a comma-separated list, applied left to right:

  • default: both halves of every toolset except the opt-in ones (currently backup)

  • all: every half

  • <name>: both halves of a toolset, e.g. tests

  • <name>_read / <name>_write: one half, e.g. tests_read

  • * wildcards, e.g. *_read (this also matches opt-in toolsets)

  • -<token>: remove, e.g. -graphql or -*_write

Examples: default,backup · all,-graphql · *_read,test_runs_write (read everything, write only test results) · tests_read,test_executions,test_runs.

Selecting single tools

XRAY_TOOLS works on top of XRAY_TOOLSETS, with the same syntax: <tool> adds a tool (also from a toolset that is not selected), -<tool> removes one, * wildcards are allowed, and tokens are applied left to right. Examples: -xray_delete_* (no delete tools) · xray_get_test_run,xray_update_test_run (on top of a read selection). XRAY_READ_ONLY=true still wins over any tool added here.

The server refuses to start if a toolset, tool or pattern matches nothing, so a typo cannot silently change the tool list. xray_list_toolsets reports what is enabled at runtime.

Toolsets and tools

Toolset

Scope

_read

_write

tests

Test issues, steps, definitions, versions, datasets, links

xray_get_test, xray_get_tests, xray_get_expanded_test, xray_get_test_versions, xray_get_datasets

xray_create_test, xray_delete_test, xray_update_test_type, xray_update_test_definition, xray_add_test_step, xray_update_test_step, xray_remove_test_step, xray_remove_all_test_steps, xray_add_test_associations, xray_remove_test_associations

preconditions

Precondition issues

xray_get_precondition, xray_get_preconditions

xray_create_precondition, xray_update_precondition, xray_delete_precondition, xray_add_tests_to_precondition, xray_remove_tests_from_precondition

test_sets

Test Set issues

xray_get_test_set, xray_get_test_sets

xray_create_test_set, xray_delete_test_set, xray_add_tests_to_test_set, xray_remove_tests_from_test_set

test_plans

Test Plan issues

xray_get_test_plan, xray_get_test_plans

xray_create_test_plan, xray_delete_test_plan, xray_add_tests_to_test_plan, xray_remove_tests_from_test_plan, xray_add_test_executions_to_test_plan, xray_remove_test_executions_from_test_plan

test_executions

Test Execution issues, environments

xray_get_test_execution, xray_get_test_executions

xray_create_test_execution, xray_delete_test_execution, xray_add_tests_to_test_execution, xray_remove_tests_from_test_execution, xray_add_test_environments, xray_remove_test_environments

test_runs

Results: status, comments, defects, evidence, steps, iterations, progress

xray_get_test_run, xray_get_test_runs, xray_get_test_progress

xray_update_test_run, xray_reset_test_run, xray_set_test_run_timer, xray_update_test_run_defects, xray_add_test_run_evidence, xray_remove_test_run_evidence, xray_update_test_run_step, xray_update_test_run_iteration_status, xray_update_test_run_example_status

test_repository

Folder tree of the Test Repository and of Test Plans

xray_get_folder

xray_create_folder, xray_rename_folder, xray_move_folder, xray_delete_folder, xray_move_to_folder, xray_remove_from_folder

coverage

Requirement coverage

xray_get_coverable_issue, xray_get_coverable_issues

–

history

Change history of Xray issues

xray_get_issue_history

–

settings

Statuses, link types, project settings, step libraries

xray_get_statuses, xray_get_issue_link_types, xray_get_project_settings, xray_get_step_library

–

imports

REST: result imports (Xray JSON, Cucumber, Behave, JUnit, TestNG, NUnit, xUnit, Robot), bulk test import, Cucumber features

xray_get_import_tests_status, xray_export_cucumber_features

xray_import_execution_results_json, xray_import_execution_results_xml, xray_import_tests_bulk, xray_import_cucumber_features

attachments

REST: attachment storage

xray_get_attachment

xray_upload_attachment

backup (opt-in)

REST: Xray backups (admin)

xray_get_backup_status, xray_download_backup

xray_create_backup

graphql

Raw GraphQL + schema lookup

xray_graphql_schema, xray_graphql_query

xray_graphql_mutation

xray_get_test_progress counts the Tests of a Test Plan or Test Execution per status on the server (e.g. "412 Tests: 380 PASSED, 20 FAILED, 12 TODO"), so the model does not need to page through hundreds of runs.

Related MCP server: MCP Zephyr

Running

# stdio (local MCP clients)
XRAY_CLIENT_ID=... XRAY_CLIENT_SECRET=... jira-xray-cloud-mcp

# HTTP, as in docker-compose.yml
FASTMCP_TRANSPORT=http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 jira-xray-cloud-mcp
# or: fastmcp run xray_mcp/server.py:create_server --transport http --host 0.0.0.0 --port 8000

Register it with Claude Code, here locally over stdio, read-only, with a limited set of toolsets:

claude mcp add xray \
  -e XRAY_CLIENT_ID=... -e XRAY_CLIENT_SECRET=... \
  -e XRAY_READ_ONLY=true -e XRAY_TOOLSETS=tests,test_executions,test_runs,coverage \
  -- jira-xray-cloud-mcp

Or connect to a shared HTTP deployment running with XRAY_AUTH_MODE=headers, using your own API key:

claude mcp add --transport http xray https://xray-mcp.example.com/mcp \
  --header "X-Xray-Client-Id: ..." --header "X-Xray-Client-Secret: ..."

Docker

Every release is published to ghcr.io/netcare-io/jira-xray-cloud-mcp as <version>, <major>.<minor> and latest:

# HTTP, every user brings their own API key
docker run --rm -p 8000:8000 -e XRAY_AUTH_MODE=headers \
  -e FASTMCP_TRANSPORT=http -e FASTMCP_HOST=0.0.0.0 ghcr.io/netcare-io/jira-xray-cloud-mcp:latest

# stdio, e.g. as the command of a local MCP client
docker run --rm -i -e XRAY_CLIENT_ID=... -e XRAY_CLIENT_SECRET=... ghcr.io/netcare-io/jira-xray-cloud-mcp:latest

docker compose up builds the production image locally and reads the variables from .env.

Development

pip install -e ".[dev]"
pytest

The tests run the server in memory against a fake Xray (httpx2.MockTransport), and over the in-process HTTP stack for header credentials. Every GraphQL document a tool sends is validated, together with its variables, against the bundled Xray schema. A test also fails when a tool is added without a test case.

main only accepts pull requests. CI runs pytest on Python 3.12 and 3.13 and builds the Docker image for every PR. To release, run scripts/release.sh <version>: the first run opens a PR that bumps the version, and a second run on main after the merge pushes the v<version> tag, which publishes the image and creates the GitHub release. Notes for coding agents are in AGENTS.md. Xray API docs: REST API v2, GraphQL API.

Available Tools

82 tools
xray_add_test_associationsXray Add Test AssociationsB
Idempotent

Link one Test to Preconditions, Test Sets, Test Plans and/or Test Executions.

Inputs: test (required), test_sets, test_plans, version_id, +2 more. Returns: object

xray_add_test_environmentsXray Add Test EnvironmentsA
Idempotent

Add Test Environments to a Test Execution; unknown environments are created.

Inputs: test_execution (required), test_environments (required). Returns: object

xray_add_test_executions_to_test_planXray Add Test Executions To Test PlanC
Idempotent

Associate Test Executions with a Test Plan.

Inputs: test_plan (required), test_executions (required). Returns: object

xray_add_test_run_evidenceXray Add Test Run EvidenceB

Attach evidence files (base64 or uploaded attachment ids) to a test run.

Inputs: evidence (required), test_run_id (required). Returns: object

xray_add_test_stepXray Add Test StepC

Append a step to a manual Test.

Inputs: test (required), action (required), data, result, +2 more. Returns: object

xray_add_tests_to_preconditionXray Add Tests To PreconditionC
Idempotent

Link Tests to a Precondition.

Inputs: tests (required), precondition (required). Returns: object

xray_add_tests_to_test_executionXray Add Tests To Test ExecutionA
Idempotent

Add Tests to a Test Execution (creates a test run per Test).

Inputs: tests (required), test_execution (required). Returns: object

xray_add_tests_to_test_planXray Add Tests To Test PlanC
Idempotent

Add Tests to a Test Plan.

Inputs: tests (required), test_plan (required). Returns: object

xray_add_tests_to_test_setXray Add Tests To Test SetC
Idempotent

Add Tests to a Test Set.

Inputs: tests (required), test_set (required). Returns: object

xray_create_folderXray Create FolderA

Create a folder in a project's Test Repository or in a Test Plan, optionally with Tests.

Inputs: path (required), tests, project, test_plan. Returns: object

xray_create_preconditionXray Create PreconditionB

Create a Precondition issue, optionally linked to Tests.

Inputs: project (required), summary (required), tests, definition, +3 more. Returns: object

xray_create_testXray Create TestB

Create an Xray Test issue (manual steps, Gherkin or unstructured definition).

Inputs: project (required), summary (required), steps, gherkin, +5 more. Returns: object

xray_create_test_executionXray Create Test ExecutionA

Create a Test Execution issue with Tests (one test run per Test). Link it to a plan via the test_plans tools.

Inputs: project (required), summary (required), tests, extra_fields, +1 more. Returns: object

xray_create_test_planXray Create Test PlanC

Create a Test Plan issue, optionally with Tests (e.g. fixVersions via extra_fields).

Inputs: project (required), summary (required), tests, extra_fields, +1 more. Returns: object

xray_create_test_setXray Create Test SetB

Create a Test Set issue, optionally with Tests.

Inputs: project (required), summary (required), tests, extra_fields. Returns: object

xray_delete_folderXray Delete FolderA
DestructiveIdempotent

Delete a folder and its subfolders. The Test / Precondition issues in it are not deleted.

Inputs: path (required), project, test_plan. Returns: object

xray_delete_preconditionXray Delete PreconditionB
DestructiveIdempotent

Delete a Precondition issue permanently.

Inputs: precondition (required). Returns: object

xray_delete_testXray Delete TestA
DestructiveIdempotent

Delete a Test issue permanently (Jira issue included).

Inputs: test (required). Returns: object

xray_delete_test_executionXray Delete Test ExecutionA
DestructiveIdempotent

Delete a Test Execution issue permanently, including its test runs.

Inputs: test_execution (required). Returns: object

xray_delete_test_planXray Delete Test PlanB
DestructiveIdempotent

Delete a Test Plan issue permanently.

Inputs: test_plan (required). Returns: object

xray_delete_test_setXray Delete Test SetA
DestructiveIdempotent

Delete a Test Set issue permanently (the Tests are kept).

Inputs: test_set (required). Returns: object

xray_export_cucumber_featuresXray Export Cucumber FeaturesB
Read-onlyIdempotent

Export Cucumber Tests as .feature files; returns each file's name and content.

Inputs: keys, filter_id. Returns: object

xray_get_attachmentXray Get AttachmentA
Read-onlyIdempotent

Download an attachment or evidence file; text files come back as text, others as base64.

Inputs: attachment_id (required). Returns: object

xray_get_coverable_issueXray Get Coverable IssueB
Read-onlyIdempotent

Get the coverage status of a requirement / story and the Tests covering it.

Inputs: issue (required), fields, version, is_final, +2 more. Returns: object

xray_get_coverable_issuesXray Get Coverable IssuesB
Read-onlyIdempotent

Search coverable issues (requirements, stories...) with their coverage status (paginated).

Inputs: jql, limit, start, fields, +5 more. Returns: object

xray_get_datasetsXray Get DatasetsA
Read-onlyIdempotent

Get the datasets (parameters and rows) of data-driven Tests, optionally as overridden on Test Plans / Executions.

Inputs: tests (required), test_plans, test_executions. Returns: object

xray_get_expanded_testXray Get Expanded TestA
Read-onlyIdempotent

Get a Test with 'Call Test' steps expanded inline into the steps of the called tests.

Inputs: test (required), fields, version_id. Returns: object

xray_get_folderXray Get FolderA
Read-onlyIdempotent

Get a folder with its counts and complete subfolder tree. Use xray_get_tests(folder_path=...) for its Tests.

Inputs: path, project, test_plan. Returns: object

xray_get_import_tests_statusXray Get Import Tests StatusA
Read-onlyIdempotent

Get status, progress and per-test results/errors of a bulk test import job.

Inputs: job_id (required). Returns: object

xray_get_issue_historyXray Get Issue HistoryA
Read-onlyIdempotent

Get the Xray change history of an issue: who changed what (steps, definition, links...) and when (paginated).

Inputs: issue (required), issue_type (required), limit, start. Returns: object

xray_get_preconditionXray Get PreconditionB
Read-onlyIdempotent

Get a Precondition with its type, definition, folder and the Tests it is linked to.

Inputs: precondition (required), fields. Returns: object

xray_get_preconditionsXray Get PreconditionsA
Read-onlyIdempotent

Search Preconditions by JQL, keys, project or type (paginated).

Inputs: jql, limit, start, fields, +4 more. Returns: object

xray_get_project_settingsXray Get Project SettingsA
Read-onlyIdempotent

Get Xray project settings: test types, test environments, coverage, step fields, test run custom fields.

Inputs: projects (required). Returns: object

xray_get_statusesXray Get StatusesA
Read-onlyIdempotent

List the test run statuses and step statuses available (globally or for a project).

Inputs: project. Returns: object

xray_get_step_libraryXray Get Step LibraryC
Read-onlyIdempotent

Search the reusable manual or BDD (Gherkin) step library.

Inputs: kind, test, limit, start, +2 more. Returns: object

xray_get_testXray Get TestB
Read-onlyIdempotent

Get one Xray Test with its type, steps / Gherkin / unstructured definition, folder and Jira fields.

Inputs: test (required), fields, include_relations, include_requirements. Returns: object

xray_get_test_executionXray Get Test ExecutionB
Read-onlyIdempotent

Get a Test Execution with environments, Test Plans and its test runs (test + status).

Inputs: test_execution (required), fields, runs_limit, runs_start. Returns: object

xray_get_test_executionsXray Get Test ExecutionsA
Read-onlyIdempotent

Search Test Executions by JQL, keys or project (paginated).

Inputs: jql, limit, start, fields, +3 more. Returns: object

xray_get_test_planXray Get Test PlanB
Read-onlyIdempotent

Get a Test Plan with its Tests, Test Executions and folder structure.

Inputs: test_plan (required), fields, include_test_status. Returns: object

xray_get_test_plansXray Get Test PlansB
Read-onlyIdempotent

Search Test Plans by JQL, keys or project (paginated).

Inputs: jql, limit, start, fields, +3 more. Returns: object

xray_get_test_progressXray Get Test ProgressA
Read-onlyIdempotent

Count the Tests of a Test Plan or Test Execution per status, e.g. to answer 'how far along is it?'.

Inputs: max_tests, test_plan, environment, list_statuses, +1 more. Returns: object

xray_get_test_runXray Get Test RunA
Read-onlyIdempotent

Get one test run in full detail (steps, evidence, defects, examples, iterations), by id or by Test + Test Execution.

Inputs: test, test_run_id, test_execution. Returns: object

xray_get_test_runsXray Get Test RunsB
Read-onlyIdempotent

Search test runs by Tests, Test Executions, Test Plans, assignees or statuses (paginated).

Inputs: limit, start, tests, statuses, +6 more. Returns: object

xray_get_testsXray Get TestsA
Read-onlyIdempotent

Search Xray Tests by JQL, keys, project, test type or Test Repository folder (paginated).

Inputs: jql, limit, start, tests, +10 more. Returns: object

xray_get_test_setXray Get Test SetB
Read-onlyIdempotent

Get a Test Set with the Tests it contains.

Inputs: test_set (required), fields. Returns: object

xray_get_test_setsXray Get Test SetsB
Read-onlyIdempotent

Search Test Sets by JQL, keys or project (paginated).

Inputs: jql, limit, start, fields, +3 more. Returns: object

xray_get_test_versionsXray Get Test VersionsA
Read-onlyIdempotent

List the versions of a Test (ids for the version_id parameters of the other tools; paginated).

Inputs: test (required), limit, start, include_archived, +1 more. Returns: object

xray_graphql_mutationXray Graphql MutationB

Run an Xray GraphQL mutation not covered by a dedicated tool.

Inputs: mutation (required), variables. Returns: object

xray_graphql_queryXray Graphql QueryA
Read-onlyIdempotent

Run a read-only Xray GraphQL query. Entities are addressed by issue id; every list needs limit (max 100).

Inputs: query (required), variables. Returns: object

xray_graphql_schemaXray Graphql SchemaB
Read-onlyIdempotent

Look up the Xray GraphQL schema: signatures and field docs of queries, mutations and types.

Inputs: names. Returns: object

xray_import_cucumber_featuresXray Import Cucumber FeaturesB

Create or update Cucumber Tests and Preconditions from .feature files (single file or zip).

Inputs: project (required), source, feature, filename, +3 more. Returns: object

xray_import_execution_results_jsonXray Import Execution Results JsonA

Import JSON test results into Xray, creating or updating a Test Execution.

Xray JSON can target an existing execution via "testExecutionKey" or describe a new one in "info". Pass test_execution_info to control all Jira fields of the created Test Execution (multipart import).

Inputs: results (required), format, test_execution_info. Returns: object

xray_import_execution_results_xmlXray Import Execution Results XmlA

Import an XML test report (JUnit, TestNG, NUnit, xUnit, Robot Framework) into Xray.

Either use the simple parameters (project_key, test_execution_key, ...), or pass test_execution_info / test_info for full control over the created issues (multipart import).

Inputs: format (required), results (required), revision, test_info, +6 more. Returns: object

xray_import_tests_bulkXray Import Tests BulkA

Start an asynchronous bulk import of Tests. Poll xray_get_import_tests_status with the returned jobId.

Inputs: tests (required). Returns: object

xray_list_toolsetsXray List ToolsetsA
Read-onlyIdempotent

List all Xray toolsets (read and write halves), which tools are enabled, and whether the server is read-only.

Inputs: no named parameters. Returns: object

xray_move_folderXray Move FolderB
Idempotent

Move a folder (with its content) below another folder.

Inputs: path (required), destination_path (required), index, project, +1 more. Returns: object

xray_move_to_folderXray Move To FolderA
Idempotent

Move Tests (and, in the Test Repository, Preconditions) into a folder.

Inputs: path (required), index, tests, project, +2 more. Returns: object

xray_remove_all_test_stepsXray Remove All Test StepsB
DestructiveIdempotent

Remove all steps from a manual Test.

Inputs: test (required), version_id. Returns: object

xray_remove_from_folderXray Remove From FolderA
Idempotent

Take Tests / Preconditions out of their folder. The issues themselves are not deleted.

Inputs: tests, project, test_plan, preconditions. Returns: object

xray_remove_test_associationsXray Remove Test AssociationsA
DestructiveIdempotent

Unlink one Test from Preconditions, Test Sets, Test Plans and/or Test Executions.

Inputs: test (required), test_sets, test_plans, version_id, +2 more. Returns: object

xray_remove_test_environmentsXray Remove Test EnvironmentsC
DestructiveIdempotent

Remove Test Environments from a Test Execution.

Inputs: test_execution (required), test_environments (required). Returns: object

xray_remove_test_executions_from_test_planXray Remove Test Executions From Test PlanC
DestructiveIdempotent

Remove Test Executions from a Test Plan.

Inputs: test_plan (required), test_executions (required). Returns: object

xray_remove_test_run_evidenceXray Remove Test Run EvidenceB
DestructiveIdempotent

Remove evidence from a test run by id and/or filename.

Inputs: test_run_id (required), evidence_ids, evidence_filenames. Returns: object

xray_remove_tests_from_preconditionXray Remove Tests From PreconditionB
DestructiveIdempotent

Unlink Tests from a Precondition.

Inputs: tests (required), precondition (required). Returns: object

xray_remove_tests_from_test_executionXray Remove Tests From Test ExecutionA
DestructiveIdempotent

Remove Tests from a Test Execution, deleting their test runs.

Inputs: tests (required), test_execution (required). Returns: object

xray_remove_tests_from_test_planXray Remove Tests From Test PlanC
DestructiveIdempotent

Remove Tests from a Test Plan.

Inputs: tests (required), test_plan (required). Returns: object

xray_remove_tests_from_test_setXray Remove Tests From Test SetC
DestructiveIdempotent

Remove Tests from a Test Set.

Inputs: tests (required), test_set (required). Returns: object

xray_remove_test_stepXray Remove Test StepB
DestructiveIdempotent

Remove one step from a manual Test.

Inputs: step_id (required). Returns: object

xray_rename_folderXray Rename FolderC
Idempotent

Rename a folder.

Inputs: path (required), new_name (required), project, test_plan. Returns: object

xray_reset_test_runXray Reset Test RunA
DestructiveIdempotent

Reset a test run to its initial state, discarding status, comments, evidence and step results.

Inputs: test_run_id (required). Returns: object

xray_set_test_run_timerXray Set Test Run TimerB

Start, pause or reset the execution timer of a test run.

Inputs: test_run_id (required), reset, running. Returns: object

xray_update_preconditionXray Update PreconditionC
Idempotent

Update type, definition and/or folder of a Precondition.

Inputs: precondition (required), definition, folder_path, precondition_type. Returns: object

xray_update_test_definitionXray Update Test DefinitionA
Idempotent

Replace the Gherkin or unstructured definition of a Test. Use the step tools for manual tests.

Inputs: test (required), gherkin, version_id, unstructured. Returns: object

xray_update_test_runXray Update Test RunC
Idempotent

Update a test run: status, comment, timestamps, assignee, executor and custom fields.

Inputs: test_run_id (required), status, comment, started_on, +4 more. Returns: object

xray_update_test_run_defectsXray Update Test Run DefectsB
Idempotent

Link and/or unlink defects on a test run.

Inputs: test_run_id (required), add, remove. Returns: object

xray_update_test_run_example_statusXray Update Test Run Example StatusB
Idempotent

Set the status of one Cucumber Scenario Outline example in a test run.

Inputs: status (required), example_id (required). Returns: object

xray_update_test_run_iteration_statusXray Update Test Run Iteration StatusB
Idempotent

Set the status of one iteration of a data-driven test run.

Inputs: status (required), test_run_id (required), iteration_rank (required). Returns: object

xray_update_test_run_stepXray Update Test Run StepB
Idempotent

Record the result of one test run step: status, comment, actual result, defects and evidence.

Inputs: step_id (required), test_run_id (required), status, comment, +7 more. Returns: object

xray_update_test_stepXray Update Test StepB
Idempotent

Update action, data and/or expected result of a manual test step.

Inputs: step_id (required), data, action, result. Returns: object

xray_update_test_typeXray Update Test TypeB
Idempotent

Change the test type of a Test (e.g. Manual -> Cucumber).

Inputs: test (required), test_type (required), version_id. Returns: object

xray_upload_attachmentXray Upload AttachmentB

Upload a file; the returned id can be used as attachment_id in evidence / step attachments.

Inputs: filename (required), text, mime_type, content_base64. Returns: object

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 82 tools

    Disambiguation3/5

    Descriptions are generally precise, but the large surface creates several close pairs and groups: get_test/get_tests/get_expanded_test, get_test_run/get_test_runs, and the multiple test-run update variants. These boundaries are mostly explained, yet an agent can still misselect among similar read/update operations.

    Naming Consistency5/5

    Tool names follow a highly consistent xray_verb_noun pattern across the entire set, including create_, get_, add_, remove_, update_, import_, and export_ actions. The convention is predictable and readable throughout.

    Tool Count1/5

    At 82 tools, the set is far beyond a practical MCP surface and hits the extreme-mismatch threshold. Even for a broad domain like Xray test management, this volume makes discovery, selection, and maintenance unnecessarily difficult.

    Completeness5/5

    The surface covers the full Xray lifecycle: tests, preconditions, test sets, plans, executions, runs, folders, coverage, imports/exports, attachments, history, settings, and GraphQL escape hatches. There are no obvious dead ends for the stated domain.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables integration with Xray Cloud APIs for comprehensive test management including creating and managing test cases, test executions, test plans, and test sets. Supports CI/CD automation and test result tracking through GraphQL APIs.
      23
      64 npm
      3
      ISC
    • A
      license
      B
      quality
      D
      maintenance
      Enables comprehensive test management in Zephyr Scale Cloud, including creating and managing test cases, executing tests with step-by-step results, organizing test cycles and plans, and performing advanced JQL searches.
      18
      142 npm
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact with Xray Test Management for both Cloud and Server deployments. Supports test execution, importing results from multiple formats (JUnit, Cucumber, Robot Framework, TestNG), and managing test plans and executions.
      8
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables interaction with Xray Cloud and Data Center for test management, including authentication, GraphQL queries, test execution/plan management, and result import via MCP.
      9
      MIT