
QTM4J
io.github.denis-platonovPublished by GitHub account denis-platonovv1.1.0Updated Oct 24, 2026
MCP server for QMetry Test Management for Jira (QTM4J) Open API.
Overview
Local MCP server for QTM4J (QMetry Test Management for Jira) that lets an assistant search, create and update test cases, cycles and execution results.
- What you can do
- Search and read test cases, their details, steps and folders, including paginated project-wide listing and merging of results across pages by key or ID, with optional summary filters and folder paths. Create test cases, folders and test cycles, and place test cases into folders or cycles. Add, update and remove test case steps, and update a test case version's summary or description. Update execution results (Pass/Fail), close test cycles, and list the test cases in a cycle. Request a presigned URL for uploading an attachment.
- When to use it
- Useful when a team keeps its test management in QTM4J and wants an assistant to look up test cases, draft or edit cases and steps, organize folders, or record and update execution results without switching to the Jira/QMetry UI.
- Requirements
- Runs locally over stdio via the npm package, so Node.js 20+ is needed. Requires a QTM4J Open API key in QTM4J_API_KEY, generated from Jira under QMetry > Configuration > Open API. QTM4J_BASE_URL (defaults to the QTMetry cloud API) and QTM4J_PROJECT_ID (default project) are optional. Network access to the QTM4J API is required.
Installation
In SourceWeft
- Open QTM4J in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
qtm4j-mcp-server
[CI] [npm version] [Release] [License: MIT]
MCP server for QTM4J (QMetry Test Management for Jira) Open API at qtmcloud.qmetry.com/rest/api/latest.
Published package: @denis-platonov/qtm4j-mcp-server
MCP Registry name: io.github.denis-platonov/qtm4j
Supported Clients
Tools
The full set of tools (including search_test_cases with startAt, list_all_project_test_cases, folder and step helpers) is defined in src/tools.ts. After npm run build, run npm run list-tools to print every registered tool name — use this to confirm Cursor is using this build (you should see list_all_project_test_cases).
Cursor: use the local build for full functionality
npx @denis-platonov/qtm4j-mcp-server may be an older npm release. To guarantee tools such as list_all_project_test_cases and correct startAt handling:
- In this directory:
npm install && npm run build. - Merge
cursor-mcp.example.jsoninto your user Cursor config~/.cursor/mcp.json(Windows:%USERPROFILE%\.cursor\mcp.json). Adjust theargspath to your absolutedist/index.js. - Run
npm run list-toolsand confirm the tool count matches expectations. - Restart Cursor or toggle the MCP server off/on.
Cursor workspace tool descriptors
If you use Cursor’s workspace mcps/<server>/tools/*.json hints for the agent, keep those JSON schemas in sync with src/tools.ts (same parameter names as the Zod definitions). Rebuild and restart MCP after changing tools.
Setup
Prerequisites
- Node.js 20+
- QTM4J Open API key (generate from Jira: QMetry > Configuration > Open API)
Use with Cursor
Add to ~/.cursor/mcp.json:
Use with JetBrains IDEs
In JetBrains AI Assistant, open Tools > AI Assistant > Model Context Protocol (MCP) and add:
Restart AI Assistant after saving the configuration.
Use with VS Code
Add this to your user or workspace MCP configuration file, typically .vscode/mcp.json or your profile-level mcp.json:
Use with Antigravity
In Antigravity, open Manage MCP Servers and then View raw config, then add this to mcp_config.json:
Build
Testing
Run the hermetic test suite:
Run once without watch mode:
Generate a coverage report:
Run opt-in live integration tests against a real QTM4J environment:
Live tests are skipped unless the required environment is present. The live suite currently supports:
- Read-focused checks using
QTM4J_API_KEY,QTM4J_BASE_URL, andQTM4J_PROJECT_ID - Search coverage with
QTM4J_LIVE_TEST_CASE_KEY - Cycle listing coverage with
QTM4J_LIVE_TEST_CYCLE_ID - Attachment URL coverage with
QTM4J_LIVE_TEST_EXECUTION_ID - Optional mutation checks only when
QTM4J_LIVE_ENABLE_MUTATIONS=1
Example:
Local Development
Copy cursor-mcp.example.json into ~/.cursor/mcp.json (merge with existing mcpServers) and set args to the absolute path of dist/index.js, for example on Windows:
"args": ["C:/Users/you/projects/qa-all-in-one/tools/qtm4j-mcp-server/dist/index.js"]
Optional: NODE_TLS_REJECT_UNAUTHORIZED": "0" in env only if you must use self-signed TLS.
Publish
This repository uses a tag-driven GitHub Actions release workflow.
- Align
package.jsonandserver.jsonto the release version. - Build and verify locally:
- Commit the release-prep changes.
- Create and push the release tag:
- GitHub Actions will verify the tag matches
package.jsonandserver.json, publish the npm package, and then publishserver.jsonto the MCP Registry.
You can then verify discovery with:
GitHub Actions
This repo includes two workflows:
CI: runsnpm run build,npm run test:run, andnpm run test:coverageon pushes tomainand on pull requestsRelease: runs on tags matchingv*, verifies the tag matchespackage.jsonandserver.json, publishes to npm, and then publishesserver.jsonto the MCP Registry
To use the release workflow, add this repository secret:
NPM_TOKEN: npm access token with permission to publish@denis-platonov/qtm4j-mcp-server
Then cut a release like this:
Environment Variables
Source: README.md at commit e865400
Tools
0Version history
1- v1.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts