# jira-qmetry-mcp-server [Health: Active]

**Category:** 📋 Product Management  
**Repository:** https://github.com/albertor03/jira-qmetry-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/jira-qmetry-mcp-server

## Description
MCP Server for QMetry Test Management in Jira

## Tools
Capabilities this server exposes over MCP:

- **get-qmetry-projects** — Get all Qmetry projects
- **get-qmetry-test-case-folders** — Get all Qmetry test case folders for a given project key
- **create-qmetry-test-case-folder** — Create a Qmetry test case folder for a given project key
- **edit-qmetry-test-case-folder** — Edit a Qmetry test case folder for a given project key
- **copy-qmetry-test-case-folder** — Copy a Qmetry test case folder and optionally its contents to another location
- **move-qmetry-test-case-folder** — Move a Qmetry test case folder to a new parent folder
- **search-qmetry-test-case-folders** — Search a Qmetry test case folder for a given project
- **get-qmetry-test-cycle-folders** — Get Qmetry test cycle folders for a given project
- **create-qmetry-test-cycle-folder** — Create a Qmetry test cycle folder for a given project
- **edit-qmetry-test-cycle-folder** — Edit a Qmetry test cycle folder for a given project
- **move-qmetry-test-cycle-folder** — Move a Qmetry test cycle folder to a new parent folder
- **search-qmetry-test-cycle-folder** — Search a Qmetry test cycle folder for a given project
- **get-qmetry-test-plan-folders** — Get Qmetry test plan folders for a given project
- **create-qmetry-test-plan-folder** — Create a Qmetry test plan folder for a given project
- **edit-qmetry-test-plan-folder** — Edit a Qmetry test plan folder for a given project
- **move-qmetry-test-plan-folder** — Move a Qmetry test plan folder to a new parent folder
- **search-qmetry-test-plan-folder** — Search a Qmetry test plan folder for a given project
- **search-qmetry-test-cases** — Search and list test cases according to filters
- **create-qmetry-test-case** — Create a Qmetry test case
- **move-qmetry-test-case** — Move a Qmetry test case from one folder to another folder
- **copy-qmetry-test-case** — Copy a Qmetry test case from one folder to another folder
- **update-qmetry-test-case** — Update a Qmetry test case
- **get-test-case-version-details** — Get details of a specific test case version
- **add-test-case-version** — Create a new version of an existing test case
- **delete-test-case-version** — Delete a specific test case version
- **archive-qmetry-test-case** — Archive a test case
- **unarchive-qmetry-test-case** — Unarchive a test case
- **clone-qmetry-test-case** — Clone a test case with optional configurations
- **get-test-case-test-cycles** — Get test cycles linked to a test case
- **get-test-case-versions-list** — Get list of all versions of a test case
- **search-qmetry-test-cycles** — Search and list test cycles according to filters
- **create-qmetry-test-cycle** — Create a new test cycle
- **update-qmetry-test-cycle** — Update an existing test cycle
- **move-qmetry-test-cycle** — Move test cycles from one folder to another folder
- **link-test-case-to-test-cycle** — Link test cases to a test cycle
- **unlink-test-case-from-test-cycle** — Unlink test cases from a test cycle
- **get-test-cycle-test-plans** — Get all test plans linked to a test cycle
- **get-test-cycle-requirements** — Get all requirements (stories) linked to a test cycle
- **link-requirements-to-test-cycle** — Link requirements (stories) to a test cycle. If any requirement cannot be linked then it will come under warningMessages obj of response.
- **unlink-requirements-from-test-cycle** — Unlink requirements (stories) from a test cycle. If any requirement cannot be unlinked then it will come under warningMessages obj of response.
- **archive-qmetry-test-cycle** — Archive a test cycle
- **unarchive-qmetry-test-cycle** — Unarchive a test cycle
- **get-qmetry-test-cycle** — Get details of a specific test cycle
- **search-qmetry-test-plans** — Search and list test plans according to filters
- **get-qmetry-test-plan** — Get details of a specific test plan by ID or Key
- **create-qmetry-test-plan** — Create a new test plan
- **update-qmetry-test-plan** — Update an existing test plan
- **move-qmetry-test-plans** — Move test plans to another folder
- **get-test-plan-test-cycles** — Get test cycles linked to a test plan
- **link-test-cycles-to-test-plan** — Link test cycles to a test plan
- **unlink-test-cycles-from-test-plan** — Unlink test cycles from a test plan
- **archive-qmetry-test-plan** — Archive a test plan
- **unarchive-qmetry-test-plan** — Unarchive a test plan
- **get-qmetry-test-steps** — Get Qmetry test steps for a given test case
- **create-qmetry-test-step** — Create a Qmetry test step for a given test case
- **update-qmetry-test-step** — Update a Qmetry test step for a given test case
- **delete-qmetry-test-step** — Delete a Qmetry test step for a given test case
- **get-qmetry-priorities** — Get Qmetry priorities for a given project
- **get-qmetry-priority-reference-count** — Get Qmetry priority reference count for a given project
- **get-qmetry-labels** — Get Qmetry labels for a given project with optional filtering and pagination
- **create-qmetry-label** — Create a new label in a Qmetry project
- **update-qmetry-label** — Update an existing label in a Qmetry project
- **delete-qmetry-label** — Delete a label from a Qmetry project
- **get-qmetry-label-reference-count** — Get Qmetry label reference count for a given project
- **get-qmetry-test-case-statuses** — Get Qmetry test case statuses for a given project with optional filtering and pagination
- **create-qmetry-test-case-status** — Create a new test case status in QMetry
- **update-qmetry-test-case-status** — Update an existing test case status in QMetry
- **delete-qmetry-test-case-status** — Delete a test case status from QMetry
- **get-test-case-status-ref-count** — Get the reference count of a test case status in QMetry
- **get-qmetry-test-cycle-statuses** — Get Qmetry test cycle statuses for a given project with optional filtering
- **create-qmetry-test-cycle-status** — Create a new test cycle status in QMetry
- **update-qmetry-test-cycle-status** — Update an existing test cycle status in QMetry
- **delete-qmetry-test-cycle-status** — Delete a test cycle status from QMetry
- **get-test-cycle-status-ref-count** — Get the reference count of a test cycle status in QMetry
- **get-qmetry-test-plan-statuses** — Get Qmetry test plan statuses for a given project with optional filtering
- **create-qmetry-test-plan-status** — Create a new test plan status in QMetry
- **update-qmetry-test-plan-status** — Update an existing test plan status in QMetry
- **delete-qmetry-test-plan-status** — Delete a test plan status from QMetry
- **get-test-plan-status-ref-count** — Get the reference count of a test plan status in QMetry
- **get-qmetry-linked-test-cases** — Get all test cases linked to a specific requirement (Jira issue) in Qmetry
- **link-qmetry-requirements** — Link one or more requirements (Jira issues) to a specific test case in Qmetry
- **unlink-qmetry-requirements** — Unlink one or more requirements (Jira issues) from a specific test case in Qmetry
- **get-qmetry-custom-field-types** — Get all custom field types supported in QMetry
- **get-qmetry-test-case-custom-fields** — Get all test case custom field details
- **get-tc-custom-field-ref-count** — Get reference count for a particular test case custom field
- **get-qmetry-test-cycle-custom-fields** — Get all existing test cycle custom field details
- **get-tcy-custom-field-ref-count** — Get test cycle references for a particular custom field
- **get-qmetry-test-plan-custom-fields** — Get custom field details for Test Plan Module
- **get-tp-custom-field-ref-count** — Get test plan reference count for a particular custom field
- **get-qmetry-te-custom-fields** — Get all test execution custom field details
- **get-te-custom-field-ref-count** — Get test execution reference count for a particular custom field
- **get-qmetry-test-cycle-linked-test-cases** — Get test cases that are linked to a specific test cycle with pagination and filtering support
- **get-qmetry-test-cycle-linked-defects** — Get all defects linked to test cycle executions with pagination and filtering support

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "jira-qmetry-mcp-server": {
    "command": "npx",
    "args": ["-y","jira-qmetry-mcp-server"],
    "env": {
      "QMETRY_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `QMETRY_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What jira-qmetry-mcp-server does

jira-qmetry-mcp-server connects MCP clients to the QMetry for Jira API. Its tools cover test-management records and the configuration associated with them, including QMetry-enabled projects, test cases, test cycles, test plans, folders, statuses, priorities, labels, linked Jira requirements, custom fields, and cycle executions.

Test case operations include searching, creating, editing, moving, copying, cloning, archiving, restoring, and managing versions. The server can also create, update, remove, and retrieve test steps. Test cycles can be searched, created, updated, moved, archived, restored, and connected to test cases, test plans, requirements, and execution data.

## How it works

The implementation is written in TypeScript and uses the official MCP SDK. API functions are separated from MCP tool definitions, while TypeScript interfaces describe the QMetry data structures. Zod schemas validate tool inputs, and the project includes logging and error-handling utilities.

The entry point in `src/main.ts` runs the stdio transport. `src/http-server.ts` provides a Streamable HTTP transport for deployments that expose the service over HTTP. The server authenticates QMetry API requests with the `QMETRY_API_KEY` environment variable.

Execution-related tools can retrieve test cases linked to a test cycle and defects associated with cycle executions. Linked test-case queries support filters such as status, priority, environment, execution result, build, dates, and execution level, along with pagination, sorting, field selection, and duplicate removal.

## Setup and configuration

Install dependencies with pnpm:

```bash
pnpm install
```

Set the API key before starting the server:

```bash
export QMETRY_API_KEY="your-api-key-here"
pnpm start
```

The key is generated in Jira through `QMetry > Configuration > Open API > Generate`. For local inspection, the project provides a `pnpm run:inspector` command.

Docker deployment is also supported. Build the image, publish the configured port, and pass `QMETRY_API_KEY` into the container. The HTTP port can be set with `PORT`; Docker Compose uses a `.env` file, and hosting platforms such as Railway, Dokploy, and Render can build from the included Dockerfile. `NODE_ENV` may be set to `production` for deployment.

## Tools and capabilities

Available tool groups include:

- Listing QMetry-enabled projects with filtering and pagination.
- Searching, creating, updating, copying, moving, archiving, restoring, and cloning test cases.
- Adding, deleting, listing, and inspecting test case versions.
- Creating, editing, copying, moving, and searching test case folders.
- Managing test case statuses and checking status reference counts.
- Creating and updating test cycles, managing their folder placement, and archiving or restoring them.
- Linking and unlinking test cases and Jira requirements from test cycles.
- Managing folders and statuses for test cycles and test plans.
- Managing priorities, labels, components, linked requirements, and custom fields.
- Reading test-cycle-linked test cases and defects with execution filters.

The tool names are grouped by function, such as `get-qmetry-test-cases`, `create-qmetry-test-cycle`, and `get-qmetry-test-cycle-linked-defects`.

_Full upstream README: https://allmcps.com/mcp/jira-qmetry-mcp-server/readme_

