MCP Hub
Back to servers

qa-mcp

An MCP server that enables Claude to create and manage TestRail test cases directly from Jira or Azure DevOps user stories. It provides tools for section management and automated test case creation with built-in format enforcement and traceability links.

glama
Updated
Apr 2, 2026

qa-mcp

An MCP server that lets Claude create TestRail test cases directly from Jira or Azure DevOps user stories — with built-in format enforcement, section management, and automatic traceability links.

Requirements

  • Node.js 18+
  • A TestRail account with API access
  • A Jira account and/or Azure DevOps project

Quick start

npx qa-mcp init

This runs an interactive wizard that sets up your .env credentials file and a qa-mcp.config.json config file.

Then add the server to your MCP client (e.g. Claude Desktop's claude_desktop_config.json):

{
  "mcpServers": {
    "qa-mcp": {
      "command": "npx",
      "args": ["qa-mcp", "start"]
    }
  }
}

Commands

CommandDescription
npx qa-mcp initInteractive setup wizard — credentials + config
npx qa-mcp startStart the MCP server
npx qa-mcp doctorCheck env vars and connection health

Configuration

Non-sensitive settings live in qa-mcp.config.json (committed to your repo). Credentials live in .env (never committed).

{
  "source": {
    "platform": "jira"
  },
  "testCase": {
    "title": {
      "separator": " - ",
      "maxLength": 200,
      "forbiddenPrefixes": ["Verify", "Check", "Test", "Ensure", "Validate"]
    }
  },
  "testrail": {
    "projectId": 123
  }
}

Set source.platform to "jira", "ado", or "both".

MCP tools

ToolDescription
get_user_storyFetch a story from Jira or ADO and normalize its content
list_sectionsList all TestRail sections in your project
create_sectionCreate a new TestRail section (requires user confirmation)
list_test_casesList existing test cases in a section (duplicate check)
create_test_caseCreate a test case with format validation and traceability link

Environment variables

VariableRequired for
JIRA_BASE_URLJira
JIRA_EMAILJira
JIRA_API_TOKENJira
ADO_ORG_URLAzure DevOps
ADO_PROJECTAzure DevOps
ADO_PATAzure DevOps
TESTRAIL_BASE_URLAlways
TESTRAIL_EMAILAlways
TESTRAIL_API_KEYAlways

License

MIT

Reviews

No reviews yet

Sign in to write a review