List defects

defect.listReadsOnly looks things up; never changes your workspace.

What it does

Lists the defects of the connected workspace, newest first (up to 500), optionally by status or release. Statuses: open, in_progress, fixed, verified, closed, wont_fix; open, in_progress and fixed still count against a release. Returns {items: [{id, title, severity, status, releaseId, testRunId, testCaseId, regressionCaseId, externalUrl}]}. Read-only.

Ask your agent

You don’t call defect.list yourself. Say something like this to Claude Code, Cursor or another MCP-connected agent:

  • “What defects are open for the June release?”
  • “Show the open blockers”

Inputs

NameTypeDescription
status
optional
enumOnly defects with this status.
Allowed: openin_progressfixedverifiedclosedwont_fix
releaseId
optional
stringOnly defects of this release.

The MCP call

What the agent’s MCP client sends (placeholders in angle brackets):

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "defect.list",
    "arguments": {
      "status": "open"
    }
  }
}

Connect your agent

npx -y @testmaze/mcp init tmt_xxx
claude mcp add tm --scope project -- npx -y @testmaze/mcp

Create the token in your Test Maze workspace under Settings → MCP. Setup for Cursor, Cline, Gemini CLI and Codex CLI is shown there too.