Xray MCP Server
Click on "Deploy 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., "@Xray MCP Server List the test runs for my login feature in the TEST project"
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.
@triparc/xray-mcp
A production-grade MCP server for Xray Cloud Test Management — 90 tools covering the complete API surface with token-optimized TOON responses.
Features
90 tools across 10 domains — tests, test runs, executions, test plans, test sets, preconditions, folders, evidence, imports, and administration
Token-Optimized Object Notation (TOON) — default response format reduces LLM token consumption; switch to
jsonorsummaryper callTwo transport modes —
stdiofor local IDE use, Streamable HTTP for server deploymentsDocker and Helm ready — multi-stage Alpine image and production Helm chart included
Three credential modes —
strict(personal),shared-reads(team reads),fully-shared(internal server)Four regional endpoints —
global,us,eu,au— select viaXRAY_REGIONPer-request credential isolation in HTTP mode — each
POST /mcpresolves its own credentials from request headersOrg-wide connector mode — built-in OAuth sign-in lets Claude.ai, ChatGPT and Copilot users connect with their own Xray API key; nothing stored server-side
Zero extra dependencies — native Node.js 22
fetchfor all HTTP; nographql-request, noaxios
Related MCP server: Xray MCP Server
Prerequisites
Node.js >= 22
Xray Cloud API credentials — generate at Xray Cloud > API Keys (see Xray authentication docs)
Quickstart
export XRAY_CLIENT_ID=your-client-id
export XRAY_CLIENT_SECRET=your-client-secret
npx -y @triparc/xray-mcpThe server starts in stdio mode, ready for an MCP-capable IDE to connect.
IDE Setup
Claude Desktop
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
stdio (recommended for personal use)
{
"mcpServers": {
"xray": {
"command": "npx",
"args": ["-y", "@triparc/xray-mcp"],
"env": {
"XRAY_CLIENT_ID": "your-client-id",
"XRAY_CLIENT_SECRET": "your-client-secret"
},
"autoApprove": ["xray_get_*", "xray_list_*"]
}
}
}Tip:
autoApproveskips the per-tool confirmation dialog for read-only tools. Remove it if you prefer manual approval for every call.
HTTP (connect to a running server)
{
"mcpServers": {
"xray": {
"transport": "http",
"url": "http://your-server:3000/mcp",
"headers": {
"X-Xray-Client-Id": "your-client-id",
"X-Xray-Client-Secret": "your-client-secret"
}
}
}
}Cursor
Config file: .cursor/mcp.json in your project root, or ~/.cursor/mcp.json for global config.
stdio
{
"mcpServers": {
"xray": {
"command": "npx",
"args": ["-y", "@triparc/xray-mcp"],
"env": {
"XRAY_CLIENT_ID": "your-client-id",
"XRAY_CLIENT_SECRET": "your-client-secret"
}
}
}
}HTTP
{
"mcpServers": {
"xray": {
"transport": "http",
"url": "http://your-server:3000/mcp",
"headers": {
"X-Xray-Client-Id": "your-client-id",
"X-Xray-Client-Secret": "your-client-secret"
}
}
}
}VS Code
Config file: .vscode/mcp.json in your workspace root.
stdio
{
"servers": {
"xray": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@triparc/xray-mcp"],
"env": {
"XRAY_CLIENT_ID": "your-client-id",
"XRAY_CLIENT_SECRET": "your-client-secret"
}
}
}
}HTTP
{
"servers": {
"xray": {
"type": "http",
"url": "http://your-server:3000/mcp",
"headers": {
"X-Xray-Client-Id": "your-client-id",
"X-Xray-Client-Secret": "your-client-secret"
}
}
}
}Note on config key differences: Claude Desktop and Cursor use
"mcpServers"with"transport": "http". VS Code uses"servers"with"type": "http". These differences are enforced by each IDE's MCP client implementation.
Docker Deployment
The Docker image runs in HTTP mode only (TRANSPORT=http is set in the image). Pass credentials via environment variables:
docker run -d \
-e XRAY_CLIENT_ID=your-client-id \
-e XRAY_CLIENT_SECRET=your-client-secret \
-e XRAY_CREDENTIAL_MODE=fully-shared \
-p 3000:3000 \
ghcr.io/traveledge/xray-mcp:latestHealth and readiness endpoints:
Endpoint | Purpose |
| Liveness — always returns |
| Readiness — attempts Xray token exchange to verify connectivity |
Docker Compose
services:
xray-mcp:
image: ghcr.io/traveledge/xray-mcp:latest
ports:
- "3000:3000"
environment:
XRAY_CLIENT_ID: your-client-id
XRAY_CLIENT_SECRET: your-client-secret
XRAY_CREDENTIAL_MODE: fully-shared
restart: unless-stoppedBuilding from source
docker build -t xray-mcp:local .
# Run local build
docker run -d \
-e XRAY_CLIENT_ID=your-client-id \
-e XRAY_CLIENT_SECRET=your-client-secret \
-e XRAY_CREDENTIAL_MODE=fully-shared \
-p 3000:3000 \
xray-mcp:localThe Dockerfile uses a multi-stage build: node:24-alpine builder stage compiles TypeScript; the runtime stage copies only dist/ and production node_modules for a minimal image (~50MB). Runs as non-root node user with tini as PID 1 for proper signal handling.
Kubernetes / Helm Deployment
helm install xray-mcp ./helm \
--set credentials.clientId=your-client-id \
--set credentials.clientSecret=your-client-secret \
--set xray.credentialMode=shared-readsKey Helm values
Value | Default | Description |
|
| Number of pod replicas |
|
| Container image |
|
| Image tag |
|
| Xray API region: |
|
| Credential mode (see below) |
|
| Xray client ID (chart creates a Secret) |
|
| Xray client secret (chart creates a Secret) |
|
| Name of existing Secret (bypasses chart Secret creation) |
|
| Enable OAuth sign-in for connector clients (see Connector mode) |
|
| Public base URL of the server, e.g. |
|
| 32 random bytes, base64 ( |
|
| Create a Gateway API |
|
| Existing Gateway to attach to |
|
| Route hostnames |
|
| Enable Kubernetes Ingress |
|
| Ingress hostname |
|
| Enable HPA |
|
| HPA max replicas |
|
| CPU limit |
|
| Memory limit |
|
| Enable PodDisruptionBudget |
Using an external secret (CSI Secret Store / External Secrets Operator)
Set existingSecret to the name of your pre-existing Secret. The chart will mount it rather than creating its own:
helm install xray-mcp ./helm \
--set existingSecret=my-xray-credentials \
--set xray.credentialMode=shared-readsThe Secret must contain keys XRAY_CLIENT_ID and XRAY_CLIENT_SECRET, plus OAUTH_ENCRYPTION_KEY when oauth.enabled=true.
Production deployment with Ingress and TLS
helm install xray-mcp ./helm \
--set existingSecret=my-xray-credentials \
--set xray.credentialMode=shared-reads \
--set xray.region=us \
--set ingress.enabled=true \
--set ingress.className=nginx \
--set ingress.hosts[0].host=xray-mcp.yourcompany.com \
--set ingress.hosts[0].paths[0].path=/ \
--set ingress.hosts[0].paths[0].pathType=Prefix \
--set ingress.tls[0].secretName=xray-mcp-tls \
--set ingress.tls[0].hosts[0]=xray-mcp.yourcompany.com \
--set autoscaling.enabled=true \
--set autoscaling.maxReplicas=3Connecting MCP clients to Helm deployment
Once deployed, configure your MCP client to use the HTTP transport pointing to the Ingress URL:
{
"mcpServers": {
"xray": {
"transport": "http",
"url": "https://xray-mcp.yourcompany.com/mcp",
"headers": {
"X-Xray-Client-Id": "your-client-id",
"X-Xray-Client-Secret": "your-client-secret"
},
"autoApprove": ["xray_get_*", "xray_list_*"]
}
}
}In fully-shared mode, the headers are optional — the server uses its own credentials for all operations.
Connector mode (Claude.ai, ChatGPT, Copilot)
Hosted assistants add MCP servers as connectors and cannot send custom headers — they only speak OAuth. Connector mode makes the server its own OAuth 2.1 provider: the sign-in page asks each user for their personal Xray API key pair, validates it against Xray, and issues a token. Every Xray action is then attributed to that user.
Nothing is stored server-side: tokens are AES-256-GCM sealed blobs containing the user's credentials, so any replica can serve any token and restarts lose nothing. Dynamic client registration and PKCE are supported, so no per-client setup is needed.
Enable it with two settings:
helm upgrade --install xray-mcp ./helm \
--set existingSecret=my-xray-credentials \
--set oauth.enabled=true \
--set oauth.publicUrl=https://xray-mcp.yourcompany.comThen, in Claude (Owner/Admin → Settings → Connectors → Add custom connector), enter https://xray-mcp.yourcompany.com/mcp and enable it for the organization. Each user clicks Connect, enters their Xray Client ID/Secret once (a Jira admin generates these under Jira Settings → Apps → Xray → API Keys), and is done.
Header-based clients (Claude Code, Cursor, VS Code) keep working unchanged when connector mode is on.
Revocation: delete the user's Xray API key (their token stops working immediately) or rotate OAUTH_ENCRYPTION_KEY (everyone signs in again).
Environment Variables
Server configuration
Variable | Required | Default | Description |
| Yes (stdio) | — | Xray Cloud API client ID |
| Yes (stdio) | — | Xray Cloud API client secret |
| No |
| API region: |
| No |
| Credential mode: |
| No |
| Transport: |
| No |
| HTTP listen port (HTTP mode only) |
| No | — | Comma-separated allowed hosts for DNS rebinding protection (HTTP mode only). Rejects any other |
| No |
| Number of reverse-proxy hops to trust for the client IP (rate limiting). HTTP mode only |
| No | — | Public base URL of this server. With |
| No | — | 32 random bytes, base64-encoded. Seals OAuth tokens; rotate to sign everyone out |
HTTP request headers (HTTP mode only)
In strict and shared-reads modes, HTTP callers provide their Xray credentials per request:
Header | Required | Description |
| Yes* | Per-request Xray client ID |
| Yes* | Per-request Xray client secret |
| Yes* | OAuth token issued in connector mode (used instead of the two headers above) |
* One of: the header pair, a bearer token, or — in fully-shared mode only — nothing (the server's own XRAY_CLIENT_ID / XRAY_CLIENT_SECRET are used). Requests with none of these get 401.
Credential Modes
Mode | Behavior | Use Case |
| Every caller provides own credentials via env vars (stdio) or headers (HTTP) | Personal stdio use; multi-tenant HTTP where each user has their own Xray key |
| Server credentials used for read operations; caller credentials required for writes | Team server where everyone can read test data but only credentialed users can modify it |
| Single server credential set for all operations | Internal team server where all team members share one Xray account |
stdio mode: credentials come from XRAY_CLIENT_ID / XRAY_CLIENT_SECRET environment variables.
HTTP mode: credentials come from X-Xray-Client-Id / X-Xray-Client-Secret request headers (unless fully-shared, where server env vars are used).
Tools
90 tools across 10 domains. All tools accept an optional format parameter:
format: "toon"(default) — Token-Optimized Object Notation, minimal token usageformat: "json"— raw JSON response from Xray APIformat: "summary"— single-line human-readable summary
Domain | Tools | Access |
Tests | 13 | Read / Write |
Test Runs | 14 | Read / Write |
Test Executions | 8 | Read / Write |
Test Plans | 8 | Read / Write |
Test Sets | 6 | Read / Write |
Preconditions | 7 | Read / Write |
Folders | 9 | Read / Write |
Evidence | 8 | Read / Write |
Imports | 8 | Write |
Administration | 9 | Read / Write |
Total | 90 |
See TOOLS.md for the complete tool reference with parameters, examples, and response formats.
TOON Format
Token-Optimized Object Notation (TOON) is the default response format. It strips verbose JSON keys, compresses nested structures, and uses concise status icons — reducing token consumption by 40-70% compared to raw Xray API responses.
Example: a test execution with 50 runs returns ~800 tokens in TOON vs ~3,500 tokens in raw JSON.
Switching formats per call:
Use the listTestRuns tool with format: "json" to get full JSON outputUse the getTestDetails tool with format: "summary" for a one-line summaryTOON is opinionated for LLM consumption. If you need to pass Xray responses to other systems, use format: "json" for spec-compliant output.
Development
Local setup
# Requires Node.js >= 22 and pnpm
npm install -g pnpm
pnpm install
pnpm build
pnpm testRun in stdio mode
XRAY_CLIENT_ID=your-id XRAY_CLIENT_SECRET=your-secret node dist/index.jsRun in HTTP mode
TRANSPORT=http XRAY_CLIENT_ID=your-id XRAY_CLIENT_SECRET=your-secret node dist/index.jsAvailable scripts
Script | Description |
| Compile TypeScript to |
| Watch mode — recompile on change |
| Run Vitest test suite |
| Run tests with V8 coverage report |
| Run Biome linter and formatter check |
| Auto-fix lint and formatting issues |
| Introspect live Xray Cloud GraphQL schema (requires credentials) |
| Audit all 90 tools against the live schema — reports mismatches |
Schema Verification
The project includes an introspection script that validates all GraphQL queries against the live Xray Cloud API schema. This catches field renames, removed arguments, and type mismatches before they reach production.
# Requires XRAY_CLIENT_ID and XRAY_CLIENT_SECRET
export XRAY_CLIENT_ID=your-id
export XRAY_CLIENT_SECRET=your-secret
# Introspect schema and save to schema/ directory
pnpm introspect
# Audit all tools against the live schema
pnpm introspect:auditThe audit checks every query and mutation for:
Root field existence (e.g.,
getTestexists on Query type)Argument names and types match the schema
Deprecated fields
Results are written to schema/audit-report.md. The schema/ directory is gitignored — each developer runs against their own Xray instance.
Contributing
Contributions are welcome. Please read CONTRIBUTING.md for development workflow, commit conventions, and pull request guidelines before opening an issue or PR.
License
Available Tools
90 toolsxray_add_defects_to_runA
Link Jira issues as defects to a test run. Pass an array of Jira issue keys (e.g. PROJ-123). For Jira issue fields, use the Atlassian MCP server instead.
Inputs: id (required), issues (required), format.
xray_add_defects_to_stepB
Link Jira issues as defects to a specific step within a test run. For Jira issue fields, use the Atlassian MCP server instead.
Inputs: issues (required), stepId (required), testRunId (required), format.
xray_add_environments_to_executionC
Add test environments to an existing test execution.
Inputs: issueId (required), testEnvironments (required), format.
xray_add_evidence_to_runA
Attach evidence to a test run. Pass base64-encoded file content with filename and mimeType. Evidence can be screenshots, PDFs, or log files. Use the Read tool or user attachment to obtain base64 content before calling this tool.
Inputs: id (required), content (required), filename (required), mimeType (required), +1 more.
xray_add_evidence_to_stepA
Attach evidence to a specific step within a test run. Pass base64-encoded file content with filename and mimeType. Use the Read tool or user attachment to obtain base64 content before calling this tool.
Inputs: stepId (required), content (required), filename (required), mimeType (required), +2 more.
xray_add_executions_to_planC
Add one or more test executions to an existing Xray test plan.
Inputs: issueId (required), testExecIssueIds (required), format.
xray_add_issues_to_folderC
Add issues (preconditions) to a folder in the Xray repository hierarchy.
Inputs: path (required), issueIds (required), projectId (required), format.
xray_add_test_stepC
Add a new step to a Manual Xray test.
Inputs: step (required), issueId (required), format.
xray_add_tests_to_executionB
Add one or more tests to an existing test execution.
Inputs: issueId (required), testIssueIds (required), format.
xray_add_tests_to_folderC
Add tests to a folder in the Xray repository hierarchy.
Inputs: path (required), projectId (required), testIssueIds (required), format.
xray_add_tests_to_planB
Add one or more tests to an existing Xray test plan.
Inputs: issueId (required), testIssueIds (required), format.
xray_add_tests_to_preconditionC
Link one or more tests to an Xray precondition. The precondition will appear as a setup requirement for the linked tests.
Inputs: issueId (required), testIssueIds (required), format.
xray_add_tests_to_setB
Add tests to an existing test set. Tests are referenced by their Jira issue IDs.
Inputs: issueId (required), testIssueIds (required), format.
xray_create_folderC
Create a new folder in the Xray repository hierarchy.
Inputs: path (required), projectId (required), format.
xray_create_preconditionB
Create a new Xray precondition issue. Preconditions define setup requirements (e.g. user logged in, database seeded) that must be satisfied before tests can execute.
Inputs: jira (required), format, definition, folderPath, +2 more.
xray_create_testC
Create a new Xray test (Manual, Cucumber, or Generic). Returns a confirmation with the new test issue ID.
Inputs: jira (required), steps, format, gherkin, +3 more.
xray_create_test_executionB
Create a new test execution, optionally linking tests and environments. Returns the new execution key.
Inputs: jira (required), tests, format, testIssueIds, +1 more.
xray_create_test_planC
Create a new Xray test plan via Jira JSON payload. Optionally add tests immediately on creation.
Inputs: jira (required), format, savedFilter, testIssueIds.
xray_create_test_setC
Create a new test set in a Jira project. Optionally include initial tests.
Inputs: jira (required), format, testIssueIds.
xray_delete_folderB
WARNING: Deleting a folder may affect tests contained within it. Delete a folder from the Xray repository hierarchy by project and path.
Inputs: path (required), projectId (required), format.
xray_delete_preconditionA
Delete an Xray precondition permanently. This also unlinks it from all associated tests. This action cannot be undone.
Inputs: issueId (required), format.
xray_delete_testC
Delete an Xray test by issue ID. Returns a deletion confirmation.
Inputs: issueId (required), format.
xray_delete_test_executionB
Delete a test execution by issue key. This action cannot be undone.
Inputs: issueId (required), format.
xray_delete_test_planA
Delete an Xray test plan by issue ID. This action is irreversible.
Inputs: issueId (required), format.
xray_delete_test_setC
Delete a test set by its Jira issue ID. This removes the test set issue from Jira.
Inputs: issueId (required), format.
xray_export_cucumber_featuresA
Export Cucumber feature files for the given test issue keys. Returns the feature file content inline. For multiple tests, feature files are separated by '--- FILE: {key}.feature ---' headers.
Inputs: issueKeys (required), format.
xray_get_coverable_issueA
Get test coverage status for a Jira issue (story, bug, etc.). Returns whether the issue is covered by tests and the coverage percentage. For Jira issue details, use the Atlassian MCP server instead.
Inputs: issueId (required), format.
xray_get_datasetB
Get a test dataset by test issue ID, including its parameters (columns) and rows of test data.
Inputs: testIssueId (required), format, callTestIssueId, testExecIssueId, +1 more.
xray_get_expanded_testB
Get an Xray test with call-test steps resolved (nested step expansion). For Jira issue fields, use the Atlassian MCP server instead.
Inputs: issueId (required), format.
xray_get_folderB
Get a folder in the Xray repository hierarchy by project and path. Returns folder name, path, test count, and immediate subfolders.
Inputs: path (required), projectId (required), format.
xray_get_preconditionA
Get an Xray precondition by issue ID, including precondition type, definition, and linked tests. For Jira issue fields (reporter, priority, labels) use the Atlassian MCP server.
Inputs: issueId (required), format.
xray_get_project_settingsB
Get Xray configuration for a Jira project, including test types, test statuses, and step statuses.
Inputs: projectIdOrKey (required), format.
xray_get_test_detailsA
Get full details of an Xray test by issue ID, including steps, type, status, and relations. For Jira issue fields (assignee, components, etc.), use the Atlassian MCP server instead.
Inputs: issueId (required), format.
xray_get_test_executionA
Get test execution details including runs, environments, and linked test plan. For Jira issue fields, use the Atlassian MCP server instead.
Inputs: issueId (required), format.
xray_get_test_planA
Get a single Xray test plan by issue ID, including its tests and test executions. Returns plan details in TOON (compact) or JSON format.
Inputs: issueId (required), format.
xray_get_test_runB
Get a test run by test issue key and test execution issue key. Returns the run status, comment, and timing.
Inputs: testIssueId (required), testExecIssueId (required), format.
xray_get_test_run_by_idA
Get a test run by its internal Xray run ID. Use xray_get_test_run if you have test+execution keys instead.
Inputs: id (required), format.
xray_get_test_setB
Get a test set with its associated tests. Test sets group tests for reuse across executions.
Inputs: issueId (required), format.
xray_import_behaveB
Import Behave JSON test results. Read the Behave JSON output file and pass the full content here. Note: Behave import does not support multipart mode — execution metadata is embedded in the Behave JSON format. Use this tool to push Python Behave BDD test results into Xray Cloud.
Inputs: content (required), format, projectKey.
xray_import_cucumberB
Import Cucumber JSON test results. Read the Cucumber JSON output file and pass the full content here. Note: Cucumber import does not support multipart mode — execution metadata is embedded in the Cucumber JSON format. Use this tool to push Cucumber BDD test results into Xray Cloud.
Inputs: content (required), format, projectKey.
xray_import_feature_filesA
Import Cucumber .feature files into Xray Cloud to create or update test cases. Read the .feature file via your Read tool and pass the full content as a string. The projectKey parameter is required to specify which Jira project to import tests into. Note: If text/plain content type fails, the fallback is multipart/form-data wrapping.
Inputs: content (required), projectKey (required), format.
xray_import_junitA
Import JUnit XML test results. Read the XML file via your Read tool and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push JUnit test results from Java/Maven/Gradle builds into Xray Cloud.
Inputs: content (required), format, projectKey, testExecKey, +2 more.
xray_import_nunitA
Import NUnit XML test results. Read the NUnit XML output file and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push NUnit test results from .NET projects into Xray Cloud.
Inputs: content (required), format, projectKey, testExecKey, +2 more.
xray_import_robotA
Import Robot Framework XML test results. Read the Robot Framework output.xml file and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push Robot Framework test results into Xray Cloud.
Inputs: content (required), format, projectKey, testExecKey, +2 more.
xray_import_testngB
Import TestNG XML test results. Read the TestNG XML output file and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push TestNG test results from Java projects into Xray Cloud.
Inputs: content (required), format, projectKey, testExecKey, +2 more.
xray_import_xray_jsonA
Import test results in Xray JSON format. Pass the full JSON content as a string. Supports optional testExecInfo for execution-level metadata (summary, description, version). Use this tool to push Xray-native JSON test results into Xray Cloud.
Inputs: content (required), format, projectKey, testExecKey, +2 more.
xray_list_coverable_issuesA
List Jira issues that can have test coverage (stories, bugs, etc.) with their current coverage status. For Jira issue fields, use the Atlassian MCP server instead.
Inputs: jql, limit, start, format.
xray_list_datasetsB
List test datasets, optionally filtered by test, execution, or plan issue IDs.
Inputs: format, testIssueIds, testExecIssueIds, testPlanIssueIds.
xray_list_expanded_testsA
List Xray tests with expanded (nested) step data. Defaults to limit 10 (not 50) because nested step resolution is expensive. Supports pagination with limit/start parameters.
Inputs: jql, limit, start, folder, +2 more.
xray_list_issue_link_typesA
List available issue link types in Xray. Note: For Jira's native link types, use the Atlassian MCP server instead. This returns Xray-specific link types used for test-to-requirement coverage.
Inputs: format.
xray_list_preconditionsB
List Xray preconditions with optional JQL filter and pagination. Preconditions define setup conditions that must be met before tests execute.
Inputs: jql, limit, start, format.
xray_list_step_statusesA
List available test step statuses in Xray. Optionally scope to a specific project to get project-specific step statuses.
Inputs: format, projectId.
xray_list_test_executionsA
List test executions with optional JQL filter and pagination. For Jira issue fields, use the Atlassian MCP server instead.
Inputs: jql, limit, start, format.
xray_list_test_plansA
List Xray test plans with optional JQL filter and pagination. Returns paginated plan list with test and execution counts.
Inputs: jql, limit, start, format.
xray_list_test_runsC
List all test runs for a given test issue, with pagination.
Inputs: testIssueId (required), limit, start, format.
xray_list_test_runs_by_idB
Get multiple test runs by their internal Xray run IDs in a single request.
Inputs: ids (required), format.
xray_list_testsC
List Xray tests with optional JQL filter and folder path. Supports pagination with limit/start parameters.
Inputs: jql, limit, start, folder, +2 more.
xray_list_test_setsB
List test sets with optional JQL filter and pagination. Returns sets with associated test counts.
Inputs: jql, limit, start, format.
xray_list_test_statusesB
List available test statuses in Xray. Optionally scope to a specific project to get project-specific statuses.
Inputs: format, projectId.
xray_move_folderB
Move a folder to a new location in the Xray repository hierarchy.
Inputs: path (required), projectId (required), destinationPath (required), format.
xray_remove_all_test_stepsA
WARNING: This permanently removes ALL steps from the test. This action cannot be undone. Use xray_remove_test_step to remove individual steps safely.
Inputs: issueId (required), format.
xray_remove_defects_from_runC
Unlink Jira issues (defects) from a test run.
Inputs: id (required), issues (required), format.
xray_remove_defects_from_stepB
Unlink Jira issues (defects) from a specific step within a test run.
Inputs: issues (required), stepId (required), testRunId (required), format.
xray_remove_environments_from_executionC
Remove test environments from a test execution.
Inputs: issueId (required), testEnvironments (required), format.
xray_remove_evidence_from_runC
Remove evidence attachments from a test run by their evidence IDs.
Inputs: id (required), evidenceIds (required), format.
xray_remove_evidence_from_stepB
Remove evidence attachments from a specific step within a test run.
Inputs: stepId (required), testRunId (required), evidenceIds (required), format.
xray_remove_executions_from_planB
Remove one or more test executions from an existing Xray test plan.
Inputs: issueId (required), testExecIssueIds (required), format.
xray_remove_issues_from_folderC
Remove issues (preconditions) from a folder in the Xray repository hierarchy.
Inputs: issueIds (required), projectId (required), format.
xray_remove_tests_from_executionB
Remove one or more tests from a test execution.
Inputs: issueId (required), testIssueIds (required), format.
xray_remove_tests_from_folderC
Remove tests from a folder in the Xray repository hierarchy.
Inputs: projectId (required), testIssueIds (required), format.
xray_remove_tests_from_planB
Remove one or more tests from an existing Xray test plan.
Inputs: issueId (required), testIssueIds (required), format.
xray_remove_tests_from_preconditionA
Unlink one or more tests from an Xray precondition. The precondition will no longer appear as a setup requirement for the unlinked tests.
Inputs: issueId (required), testIssueIds (required), format.
xray_remove_tests_from_setB
Remove tests from a test set. Tests are referenced by their Jira issue IDs.
Inputs: issueId (required), testIssueIds (required), format.
xray_remove_test_stepC
Remove a specific step from a Manual Xray test by step ID.
Inputs: stepId (required), format.
xray_rename_folderC
Rename a folder in the Xray repository hierarchy.
Inputs: path (required), newName (required), projectId (required), format.
xray_reset_test_runA
WARNING: Resets test run to initial state, clearing all status, comments, and step results. This action cannot be undone.
Inputs: id (required), format.
xray_set_test_run_timerA
Control the execution timer for a test run. Set running=true to start, running=false to stop, reset=true to reset.
Inputs: testRunId (required), reset, format, running.
xray_update_example_statusC
Update the status of a specific example (BDD/data-driven test row) within a test run.
Inputs: status (required), exampleId (required), format.
xray_update_gherkin_definitionC
Update the Gherkin (BDD) definition of a Cucumber-type Xray test.
Inputs: gherkin (required), issueId (required), format.
xray_update_iteration_statusB
Update the status of a specific iteration (data-set test row) within a test run.
Inputs: status (required), testRunId (required), iterationRank (required), format.
xray_update_preconditionB
Update an existing Xray precondition's type and/or definition. At least one of preconditionType or definition must be provided.
Inputs: data (required), issueId (required), format.
xray_update_step_commentC
Update the comment on a specific step within a test run.
Inputs: stepId (required), comment (required), testRunId (required), format, +1 more.
xray_update_step_statusC
Update the status of a specific step within a test run.
Inputs: status (required), stepId (required), testRunId (required), format, +1 more.
xray_update_test_runB
Perform a full update of a test run: comment, assignee, dates, executedBy, and custom fields in one call.
Inputs: id (required), format, comment, startedOn, +4 more.
xray_update_test_run_commentC
Update the comment on a test run.
Inputs: id (required), comment (required), format.
xray_update_test_run_statusC
Update the status of a test run.
Inputs: id (required), status (required), format.
xray_update_test_run_stepC
Perform a full update of a test run step via UpdateTestRunStepInput: status, comment, evidence, and defects in one call.
Inputs: stepId (required), testRunId (required), format, updateData, +1 more.
xray_update_test_stepC
Update an existing step in a Manual Xray test.
Inputs: step (required), stepId (required), format.
xray_update_test_typeB
Change the test type of an Xray test (Manual, Cucumber, Generic).
Inputs: issueId (required), testType (required), format.
xray_update_unstructured_definitionB
Update the definition text of a Generic (unstructured) Xray test.
Inputs: issueId (required), unstructured (required), format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 90 tools
Most tools target a clear resource+action, but there are genuine clusters of overlapping operations: partial updaters (xray_update_test_run_status, xray_update_test_run_comment, xray_set_test_run_timer) coexist with the full xray_update_test_run and xray_update_test_run_step, and get/list variants (xray_get_test_run vs xray_get_test_run_by_id, xray_list_tests vs xray_list_expanded_tests, xray_get_test_details vs xray_get_expanded_test) require reading descriptions to pick correctly. The eight format-specific import tools are distinguishable but easy to misselect at a glance. Descriptions do disambiguate in nearly every case, keeping this above a 2.
Every tool uses the xray_ prefix followed by a snake_case verb_noun pattern (get_/list_/create_/update_/delete_/add_/remove_/import_/export_), with resource names reused consistently across CRUD families (test, test_run, test_execution, test_plan, test_set, precondition, folder). Minor verb deviations like set_test_run_timer and reset_test_run are semantically motivated and still predictable.
At 90 tools this is far past the point where an agent can hold the surface in view, well into the 50+ range the rubric flags as excessive. The domain is genuinely broad (six resource types plus runs, steps, evidence, defects, imports, settings), so it is not arbitrary bloat, but consolidation is clearly possible — partial vs full update pairs, by-id vs by-key getters, and eight separate import tools that could be one parameterized tool.
Coverage is strong: full CRUD plus link/unlink for tests, executions, plans, sets, preconditions, folders, and runs, with imports for eight formats, exports, evidence, defects, and settings discovery. Gaps are minor but real — datasets are read-only (xray_get_dataset/xray_list_datasets with no create/update/delete for data rows), and there is no tool to create/remove test-to-requirement coverage links despite xray_list_issue_link_types being exposed.
Maintenance
Related MCP Connectors
The agent-native cloud: database, functions, AI, storage, computers. 53 tools. OAuth or API key.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables 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.2364 npm3ISC
- AlicenseBqualityDmaintenanceEnables 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.83MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to manage Jira Cloud projects, issues, sprints, and more through a curated set of 62 tools covering the full lifecycle of stories, epics, bugs, and sprints.62GPL 3.0
- AlicenseNot gradedqualityDmaintenanceManages Xray test cases, executions, and reports through natural language commands.MIT