zephyr-scale-mcp-server 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -8
- package/build/index.js +2 -0
- package/build/tool-handlers.js +473 -292
- package/build/tool-schemas.js +21 -7
- package/build/utils.js +30 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/tool-handlers.ts +561 -355
- package/src/tool-schemas.ts +21 -7
- package/src/types.ts +6 -0
- package/src/utils.ts +43 -1
package/README.md
CHANGED
|
@@ -27,8 +27,7 @@ Configure your MCP client with the following structure.
|
|
|
27
27
|
"args": ["zephyr-scale-mcp-server@latest"],
|
|
28
28
|
"env": {
|
|
29
29
|
"ZEPHYR_BASE_URL": "https://your-company.atlassian.net",
|
|
30
|
-
"
|
|
31
|
-
"JIRA_API_TOKEN": "your-api-token"
|
|
30
|
+
"ZEPHYR_API_KEY": "your-zephyr-api-key"
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
}
|
|
@@ -139,19 +138,16 @@ The server provides access to various resources through URI schemes:
|
|
|
139
138
|
|
|
140
139
|
## Authentication
|
|
141
140
|
|
|
142
|
-
The MCP server supports both Jira Cloud and Jira Data Center instances.
|
|
143
|
-
|
|
144
141
|
### Jira Cloud Configuration
|
|
145
142
|
- `ZEPHYR_BASE_URL`: `https://your-company.atlassian.net`
|
|
146
|
-
- `
|
|
147
|
-
- `JIRA_API_TOKEN`: Your API token from Atlassian account settings.
|
|
143
|
+
- `ZEPHYR_API_KEY`: Your Zephyr Scale API key (JWT). Generate it in Jira by clicking your profile picture (bottom left) → **Zephyr API keys**.
|
|
148
144
|
|
|
149
145
|
### Jira Data Center Configuration
|
|
150
146
|
- `ZEPHYR_BASE_URL`: `https://your-jira-server.com`
|
|
151
|
-
- `ZEPHYR_API_KEY`: Your API token from your Jira profile settings.
|
|
147
|
+
- `ZEPHYR_API_KEY`: Your Zephyr Scale API token from your Jira profile settings.
|
|
152
148
|
|
|
153
149
|
### Automatic Detection
|
|
154
|
-
The server automatically detects your Jira type based on
|
|
150
|
+
The server automatically detects your Jira type based on `ZEPHYR_BASE_URL` — URLs containing `.atlassian.net` are treated as Cloud, everything else as Data Center. Override with `JIRA_TYPE="cloud"` or `JIRA_TYPE="datacenter"`.
|
|
155
151
|
|
|
156
152
|
## License
|
|
157
153
|
|
package/build/index.js
CHANGED
|
@@ -55,6 +55,8 @@ class ZephyrServer {
|
|
|
55
55
|
return await this.toolHandlers.getTestRunCases(args);
|
|
56
56
|
case 'delete_test_case':
|
|
57
57
|
return await this.toolHandlers.deleteTestCase(args);
|
|
58
|
+
case 'delete_test_run':
|
|
59
|
+
return await this.toolHandlers.deleteTestRun(args);
|
|
58
60
|
case 'create_test_run':
|
|
59
61
|
return await this.toolHandlers.createTestRun(args);
|
|
60
62
|
case 'get_test_run':
|