mcp-xray
Allows interaction with Jira for managing Test Executions and Test Plans, importing test results, and validating connectivity between Xray and Jira.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-xrayimport test results from cucumber.json into test execution XRAY-123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-xray
Servidor MCP para interactuar con Xray Cloud y Xray Data Center usando TypeScript 5.
Instalación
# Instalar dependencias
npm install
# Compilar el proyecto
npm run buildRelated MCP server: MCP Zephyr
Uso
Una vez compilado, ejecuta el servidor MCP:
node dist/index.jsEl servidor se comunica mediante stdio (stdin/stdout) siguiendo el protocolo MCP, por lo que requiere ser invocado por un cliente MCP compatible.
Funcionalidades iniciales
Soporte para despliegues
cloudydatacenterAutenticacion Xray Cloud mediante
client_idyclient_secretAutenticacion Jira para operaciones sobre Test Executions y Test Plans
Tool MCP para validar conectividad con Xray/Jira
Tool MCP para ejecutar consultas GraphQL en Xray Cloud
Tool MCP para importar resultados de ejecucion a Xray
Tools MCP para buscar, consultar y crear Test Executions
Tools MCP para buscar, consultar y crear Test Plans
Arquitectura modular orientada a testabilidad
Suite de tests con cobertura automatizada
Variables de entorno
Cloud
XRAY_DEPLOYMENT=cloud
XRAY_CLIENT_ID=your-client-id
XRAY_CLIENT_SECRET=your-client-secret
XRAY_BASE_URL=https://xray.cloud.getxray.app
XRAY_TOKEN_TTL_SECONDS=3000
JIRA_BASE_URL=https://your-domain.atlassian.net
JIRA_EMAIL=you@example.com
JIRA_API_TOKEN=your-jira-api-tokenData Center
XRAY_DEPLOYMENT=datacenter
JIRA_BASE_URL=https://jira.example.com
JIRA_PAT=your-personal-access-token
# Alternativa:
# JIRA_USERNAME=your-user
# JIRA_PASSWORD=your-password
XRAY_BASE_URL=https://jira.example.com
XRAY_TOKEN_TTL_SECONDS=3000Integración con VSCode
Para usar este servidor MCP en VSCode con GitHub Copilot, agrega la siguiente configuración a tu archivo de settings MCP:
Windows/Linux: %APPDATA%\Code\User\globalStorage\github.copilot-chat\mcp.json
macOS: ~/Library/Application Support/Code/User/globalStorage/github.copilot-chat/mcp.json
{
"mcpServers": {
"xray": {
"command": "node",
"args": [
"/ruta/absoluta/a/mcp-xray/dist/index.js"
],
"env": {
"XRAY_DEPLOYMENT": "cloud",
"XRAY_CLIENT_ID": "tu-client-id",
"XRAY_CLIENT_SECRET": "tu-client-secret",
"XRAY_BASE_URL": "https://xray.cloud.getxray.app",
"XRAY_TOKEN_TTL_SECONDS": "3000",
"JIRA_BASE_URL": "https://tu-dominio.atlassian.net",
"JIRA_EMAIL": "tu@email.com",
"JIRA_API_TOKEN": "tu-jira-api-token"
}
}
}
}Ajusta las variables de entorno según tu tipo de despliegue (cloud o datacenter). Una vez configurado, reinicia VSCode y el servidor MCP estará disponible para GitHub Copilot.
Scripts
npm run dev
npm run build
npm testNotas
xray_graphqlesta pensado para Cloud.Las operaciones sobre Test Executions y Test Plans se apoyan en Jira REST porque estas entidades viven como issues en Jira/Xray.
Para Data Center, la importacion usa la ruta clasica de Xray Server/Data Center bajo
/rest/raven/1.0.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mammals-at-work/mcp-xray'
If you have feedback or need assistance with the MCP directory API, please join our Discord server