@alternative-path/x-mcp 1.0.1 → 1.0.2
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 +2 -99
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -213,106 +213,9 @@ X_MCP_PASSWORD=your-password
|
|
|
213
213
|
}
|
|
214
214
|
```
|
|
215
215
|
|
|
216
|
-
## Prompts
|
|
216
|
+
## Tools and Prompts
|
|
217
217
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
The **x-test-planner** is an MCP prompt (agent) that delivers a standard test-planning context behind the scenes. Use it instead of manually attaching a context file so test plans are consistent, repeatable, and not subject to human error or file manipulation.
|
|
221
|
-
|
|
222
|
-
- **How to use**: In Cursor (or your MCP client), list prompts and select **x-test-planner**, or invoke it with optional arguments.
|
|
223
|
-
- **Arguments** (all optional):
|
|
224
|
-
- `project_summary` – Short description of the project/feature to plan tests for
|
|
225
|
-
- `links` – BDD, TDD, JIRA, or Confluence links for the agent to use
|
|
226
|
-
- `scope` – Test scope (in/out of scope, platforms, focus areas)
|
|
227
|
-
|
|
228
|
-
The agent uses the same structure, best practices, and checklists as the standard test-planning context (e.g. test plan structure, test case tables, automation workflows, deep-dive checklist) but the context is embedded in the server, not in a user-editable file.
|
|
229
|
-
|
|
230
|
-
---
|
|
231
|
-
|
|
232
|
-
## Available Tools
|
|
233
|
-
|
|
234
|
-
### Authentication Tools
|
|
235
|
-
|
|
236
|
-
- `login` - Login to the system using email and password. Creates a session for all subsequent requests.
|
|
237
|
-
- `check_auth_status` - Check if the MCP server is currently authenticated.
|
|
238
|
-
|
|
239
|
-
### Module Tools
|
|
240
|
-
|
|
241
|
-
- `list_modules` - List all modules, components, and subcomponents
|
|
242
|
-
- `create_module` - Create a new module, component, or subcomponent
|
|
243
|
-
- `update_module` - Update an existing module
|
|
244
|
-
- `delete_module` - Delete a module and all its children
|
|
245
|
-
- `get_module` - Get detailed information about a module
|
|
246
|
-
|
|
247
|
-
### Test Case Tools
|
|
248
|
-
|
|
249
|
-
- `list_test_cases` - List test cases with optional filtering
|
|
250
|
-
- `get_test_case` - Get detailed information about a test case
|
|
251
|
-
- `create_test_case` - Create a new test case
|
|
252
|
-
- `update_test_case` - Update an existing test case
|
|
253
|
-
- `delete_test_case` - Delete a test case
|
|
254
|
-
- `clone_test_case` - Clone one or more test cases
|
|
255
|
-
- `move_test_case` - Move a test case to a different module
|
|
256
|
-
- `bulk_create_test_cases` - Create multiple test cases at once
|
|
257
|
-
|
|
258
|
-
### Export/Import Tools
|
|
259
|
-
|
|
260
|
-
- `get_export_structure` - Get the module structure and test case fields needed for export/import
|
|
261
|
-
|
|
262
|
-
## Examples
|
|
263
|
-
|
|
264
|
-
### Create a Module
|
|
265
|
-
|
|
266
|
-
```json
|
|
267
|
-
{
|
|
268
|
-
"name": "create_module",
|
|
269
|
-
"arguments": {
|
|
270
|
-
"name": "Authentication Module",
|
|
271
|
-
"context": "Module for authentication-related test cases"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
### Create a Test Case
|
|
277
|
-
|
|
278
|
-
```json
|
|
279
|
-
{
|
|
280
|
-
"name": "create_test_case",
|
|
281
|
-
"arguments": {
|
|
282
|
-
"title": "Verify user login with valid credentials",
|
|
283
|
-
"description": "Test that a user can log in with valid email and password",
|
|
284
|
-
"moduleId": "module-id-here",
|
|
285
|
-
"type": "Functional Test",
|
|
286
|
-
"status": "New",
|
|
287
|
-
"priority": "High",
|
|
288
|
-
"estimatedDuration": 15
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
### Clone Test Cases
|
|
294
|
-
|
|
295
|
-
```json
|
|
296
|
-
{
|
|
297
|
-
"name": "clone_test_case",
|
|
298
|
-
"arguments": {
|
|
299
|
-
"testCaseIds": ["test-case-id-1", "test-case-id-2"],
|
|
300
|
-
"targetModuleId": "target-module-id"
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
### Export Test Cases
|
|
306
|
-
|
|
307
|
-
```json
|
|
308
|
-
{
|
|
309
|
-
"name": "export_test_cases",
|
|
310
|
-
"arguments": {
|
|
311
|
-
"outputPath": "/path/to/export.xlsx",
|
|
312
|
-
"moduleId": "module-id-here"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
```
|
|
218
|
+
For a complete list of all MCP tools and prompts, including parameters, sample prompts, and examples, see **[TOOLS_DOCUMENTATION.md](TOOLS_DOCUMENTATION.md)**.
|
|
316
219
|
|
|
317
220
|
## Permissions
|
|
318
221
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alternative-path/x-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "MCP server for Product-X Test Management System - Manage test cases, modules, components, and subcomponents via Cursor and VS Code",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"x-mcp": "
|
|
8
|
+
"x-mcp": "dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist/**/*",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/product-x/ai-test-management.git",
|
|
35
|
+
"url": "git+https://github.com/product-x/ai-test-management.git",
|
|
36
36
|
"directory": "x-mcp"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"axios-cookiejar-support": "^6.0.5",
|
|
43
43
|
"dotenv": "^16.4.5",
|
|
44
44
|
"form-data": "^4.0.0",
|
|
45
|
+
"socket.io-client": "^4.7.2",
|
|
45
46
|
"tough-cookie": "^6.0.0"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|