npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tzur_avner/xray-mcp

v1.0.0

Published

Cursor MCP plugin for Xray Cloud — read and manage test cases, plans, sets, and executions via the Xray Cloud GraphQL API.

Readme

Xray Cloud MCP for Cursor

A Model Context Protocol server that lets Cursor read and manage Xray Cloud test artifacts — test cases, plans, sets, and executions — directly from the agent.

Authenticates with an Xray Cloud API key only (client ID + secret). No separate Jira API token required.

Xray Cloud only. Does not support Xray Server or Data Center.

Tools

| Tool | Description | |---|---| | get_test_case | Fetch a test case and its steps by Jira issue key | | search_test_cases | Search tests by JQL (keyword, label, status, …) | | get_test_plan | Get a test plan and all tests it contains | | get_test_set | Get a test set and all tests it contains | | get_test_execution_report | Pass/fail summary for a test execution | | get_tests_for_requirement | All tests covering a Jira story or requirement | | create_test_case | Create a new manual test case with steps | | create_test_execution | Create a test execution and add a test case to it | | update_test_run_status | Set PASSED / FAILED / BLOCKED / TODO / EXECUTING on a run |

Prerequisites

  • Node.js ≥ 18 on your PATH
  • An Xray Cloud API key — in Jira: Xray → Settings → API Keys → create a key → copy the Client ID and Client Secret. Docs

Install from Cursor Marketplace

  1. Open Customize in the Cursor sidebar.
  2. Search for Xray Cloud and click Install.
  3. Set your credentials as environment variables (see below) and restart Cursor.

Manual install

Add to your ~/.cursor/mcp.json or .cursor/mcp.json:

{
  "mcpServers": {
    "xray": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@tzur_avner/xray-mcp"],
      "env": {
        "XRAY_BASE_URL": "https://eu.xray.cloud.getxray.app",
        "XRAY_CLIENT_ID": "YOUR_CLIENT_ID",
        "XRAY_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
      }
    }
  }
}

Restart Cursor after saving.

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | XRAY_CLIENT_ID | Yes | — | Xray Cloud API key client ID | | XRAY_CLIENT_SECRET | Yes | — | Xray Cloud API key client secret | | XRAY_BASE_URL | No | https://eu.xray.cloud.getxray.app | Override for US region: https://xray.cloud.getxray.app |

Region note: Xray Cloud is region-partitioned. If your Jira data is in the US region, set XRAY_BASE_URL=https://xray.cloud.getxray.app. The default is EU.

Usage examples

get the test case XSP-684
search for test cases with label "smoke" in project XSP
get all tests in test plan XSP-836
show the execution report for XSP-900
what tests cover story AIR-42?

Verify the connection

After installing, open Tools & MCP (Ctrl+Shift+J) — the xray server should show as connected. If it does not, check Output → MCP Logs.

Attribution

Based on SamtheIII/XRAY-MCP (MIT).

Patches applied:

  • Region-aware endpoints via XRAY_BASE_URL (upstream hard-codes US; EU is the default here)
  • get_test_plan and get_test_set tools with full pagination (added locally)

License

MIT — see LICENSE.