MCP server for the read-it workflow: summarize Cypress tests, then create/assign/link/close Xray Jira issues - built for VS Code agents and the bundled skill.
read-it-mcp
MCP (Model Context Protocol) server that wraps the Cypress test → QA summary → Xray Jira workflow from read-it: create an Xray issue from a title and summary, assign it, link it to a parent ticket, and transition it to Closed. It is intended for use from Visual Studio Code with Copilot / agent features and a matching skill so the model summarizes tests first, then calls the tool once.
Relation to read-it
This repository is the MCP-oriented sibling of read-it. Use read-it for CLI-oriented workflows and environment setup details; use this server when you want the same Jira behavior exposed as a single MCP tool inside the editor.
Prerequisites
- Jira / Xray: Same
read-it.envfile as the read-it CLI—same path on disk and the same variables. If read-it already works on your machine, you do not need a second env file or duplicate secrets for this MCP server. See Configuration. - VS Code: MCP support enabled and a way to edit your MCP server list (for example Settings → MCP or the
mcp.jsonfragment your team uses for stdio servers).
Download & Run
Download the latest version from the Releases page.
1. Install the executable
The release asset sum-ts-mcp.zip contains the bundled entrypoint index.js (and a small package.json next to it). Unzip it, then move those files into a directory you control and keep that layout—for example ${HOME}/bin/sum-ts-mcp/. In the next step, the MCP server’s args must point at index.js in that same directory (use the full path to that file).
2. Register the server in VS Code
Add a stdio server whose args use the path from step 1. Use a Node binary you are happy to run for this server (for example the same version you use with nvm).
Example (adapt command and the path in args to your machine):
{
"servers": {
"sum-cypress-tests": {
"type": "stdio",
"command": "${env:HOME}/.nvm/versions/node/v22.14.0/bin/node",
"args": ["${env:HOME}/bin/sum-ts-mcp/index.js"],
"cwd": "${workspaceFolder}",
"dev": {
"debug": {
"type": "node"
}
}
}
},
"inputs": []
}
Notes:
command: Full path tonode.args: First element is the full path toindex.jsin the directory you chose in step 1.cwd:${workspaceFolder}keeps the server rooted in the repo you have open; change if you need a fixed directory.
Restart or reload the MCP connection in VS Code after saving.
3. Add the skill to your project
Copy skill/SKILL.md from this repository into your target project’s skills tree so the agent knows when and how to summarize Cypress tests before calling the MCP tool.
Example destination (yours may differ):
<your-project>/.github/skills/cypress-xray-from-test/SKILL.md
The frontmatter name: cypress-xray-from-test should stay consistent with how your editor discovers skills.
4. Usage
With the server running and the skill present, you can prompt in natural language. For example:
Grab this test BP-13046 and summarize it. The original ticket is BP-13655.
- Test reference (here
BP-13046): however your skill describes locating the Cypress test (ticket key in the test title, path, etc.). - Original / parent ticket (
BP-13655): maps to thefromTicketargument for linking in Jira.
The skill instructs the agent to finish the QA summary first, then invoke the MCP tool complete_xray_workflow_from_summary once with title, summary, and fromTicket.
Configuration
This MCP server loads the same read-it.env credentials file that read-it uses: same filename, same directory convention (on Linux, typically ~/.config/read-it.env, i.e. the OS user config dir plus read-it.env, as documented in read-it). Anyone who has already set up read-it can use this MCP version without creating or maintaining a separate env file.
The variables in that file are the same as in read-it:
JIRA_URLJIRA_PROJECTJIRA_EPICJIRA_USERJIRA_API_KEY