@alternative-path/x-mcp 1.0.0 → 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 +18 -113
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
X-MCP is a Model Context Protocol (MCP) server that provides comprehensive test case management capabilities for the Product-X Test Management System. It allows you to manage test cases, modules, components, and subcomponents directly from Cursor, VS Code, or any MCP-compatible client.
|
|
4
4
|
|
|
5
|
+
**Quick links:** [Install from npm](QUICK_INSTALL.md) · [Run from source](QUICK_START.md) · [All tools](TOOLS_DOCUMENTATION.md)
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
9
|
- **x-test-planner agent**: Standard, repeatable test planning via an MCP prompt that uses embedded context (no manual context file required)
|
|
@@ -31,9 +33,9 @@ Simply use `npx` in your MCP configuration - it will download and run the packag
|
|
|
31
33
|
"mcpServers": {
|
|
32
34
|
"x-mcp": {
|
|
33
35
|
"command": "npx",
|
|
34
|
-
"args": ["-y", "@
|
|
36
|
+
"args": ["-y", "@alternative-path/x-mcp"],
|
|
35
37
|
"env": {
|
|
36
|
-
"X_MCP_API_URL": "https://qa-path.com/api",
|
|
38
|
+
"X_MCP_API_URL": "https://qa-path.com/api/auth",
|
|
37
39
|
"X_MCP_PROJECT_ID": "your-project-id",
|
|
38
40
|
"X_MCP_EMAIL": "your-email@example.com",
|
|
39
41
|
"X_MCP_PASSWORD": "your-password"
|
|
@@ -46,7 +48,7 @@ Simply use `npx` in your MCP configuration - it will download and run the packag
|
|
|
46
48
|
**Option 2: Global Installation**
|
|
47
49
|
|
|
48
50
|
```bash
|
|
49
|
-
npm install -g @
|
|
51
|
+
npm install -g @alternative-path/x-mcp
|
|
50
52
|
```
|
|
51
53
|
|
|
52
54
|
Then use in your MCP configuration:
|
|
@@ -56,7 +58,7 @@ Then use in your MCP configuration:
|
|
|
56
58
|
"x-mcp": {
|
|
57
59
|
"command": "x-mcp",
|
|
58
60
|
"env": {
|
|
59
|
-
"X_MCP_API_URL": "https://qa-path.com/api",
|
|
61
|
+
"X_MCP_API_URL": "https://qa-path.com/api/auth",
|
|
60
62
|
"X_MCP_PROJECT_ID": "your-project-id",
|
|
61
63
|
"X_MCP_EMAIL": "your-email@example.com",
|
|
62
64
|
"X_MCP_PASSWORD": "your-password"
|
|
@@ -69,7 +71,7 @@ Then use in your MCP configuration:
|
|
|
69
71
|
**Option 3: Local Installation**
|
|
70
72
|
|
|
71
73
|
```bash
|
|
72
|
-
npm install @
|
|
74
|
+
npm install @alternative-path/x-mcp
|
|
73
75
|
```
|
|
74
76
|
|
|
75
77
|
Then use the full path:
|
|
@@ -78,9 +80,9 @@ Then use the full path:
|
|
|
78
80
|
"mcpServers": {
|
|
79
81
|
"x-mcp": {
|
|
80
82
|
"command": "node",
|
|
81
|
-
"args": ["./node_modules/@
|
|
83
|
+
"args": ["./node_modules/@alternative-path/x-mcp/dist/index.js"],
|
|
82
84
|
"env": {
|
|
83
|
-
"X_MCP_API_URL": "https://
|
|
85
|
+
"X_MCP_API_URL": "https://your-domain.com/api/auth",
|
|
84
86
|
"X_MCP_PROJECT_ID": "your-project-id",
|
|
85
87
|
"X_MCP_EMAIL": "your-email@example.com",
|
|
86
88
|
"X_MCP_PASSWORD": "your-password"
|
|
@@ -106,8 +108,8 @@ X-MCP requires configuration via environment variables or a `.env` file.
|
|
|
106
108
|
### Required Configuration
|
|
107
109
|
|
|
108
110
|
```bash
|
|
109
|
-
# API
|
|
110
|
-
X_MCP_API_URL=http://localhost:3000/api
|
|
111
|
+
# API base URL — use your app URL + /api/auth (e.g. http://localhost:3000/api/auth)
|
|
112
|
+
X_MCP_API_URL=http://localhost:3000/api/auth
|
|
111
113
|
|
|
112
114
|
# Project ID (required for most operations)
|
|
113
115
|
X_MCP_PROJECT_ID=your-project-id-here
|
|
@@ -152,7 +154,7 @@ X_MCP_API_KEY=your-api-key-here
|
|
|
152
154
|
|
|
153
155
|
```bash
|
|
154
156
|
# API Configuration
|
|
155
|
-
X_MCP_API_URL=http://localhost:3000/api
|
|
157
|
+
X_MCP_API_URL=http://localhost:3000/api/auth
|
|
156
158
|
X_MCP_PROJECT_ID=123e4567-e89b-12d3-a456-426614174000
|
|
157
159
|
|
|
158
160
|
# Authentication (choose one)
|
|
@@ -178,9 +180,9 @@ X_MCP_PASSWORD=your-password
|
|
|
178
180
|
"mcpServers": {
|
|
179
181
|
"x-mcp": {
|
|
180
182
|
"command": "npx",
|
|
181
|
-
"args": ["-y", "@
|
|
183
|
+
"args": ["-y", "@alternative-path/x-mcp"],
|
|
182
184
|
"env": {
|
|
183
|
-
"X_MCP_API_URL": "http://localhost:3000/api",
|
|
185
|
+
"X_MCP_API_URL": "http://localhost:3000/api/auth",
|
|
184
186
|
"X_MCP_PROJECT_ID": "your-project-id",
|
|
185
187
|
"X_MCP_SESSION_TOKEN": "your-session-token"
|
|
186
188
|
}
|
|
@@ -199,9 +201,9 @@ X_MCP_PASSWORD=your-password
|
|
|
199
201
|
"mcp.servers": {
|
|
200
202
|
"x-mcp": {
|
|
201
203
|
"command": "npx",
|
|
202
|
-
"args": ["-y", "@
|
|
204
|
+
"args": ["-y", "@alternative-path/x-mcp"],
|
|
203
205
|
"env": {
|
|
204
|
-
"X_MCP_API_URL": "http://localhost:3000/api",
|
|
206
|
+
"X_MCP_API_URL": "http://localhost:3000/api/auth",
|
|
205
207
|
"X_MCP_PROJECT_ID": "your-project-id",
|
|
206
208
|
"X_MCP_EMAIL": "your-email@example.com",
|
|
207
209
|
"X_MCP_PASSWORD": "your-password"
|
|
@@ -211,106 +213,9 @@ X_MCP_PASSWORD=your-password
|
|
|
211
213
|
}
|
|
212
214
|
```
|
|
213
215
|
|
|
214
|
-
## Prompts
|
|
215
|
-
|
|
216
|
-
### x-test-planner
|
|
217
|
-
|
|
218
|
-
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.
|
|
219
|
-
|
|
220
|
-
- **How to use**: In Cursor (or your MCP client), list prompts and select **x-test-planner**, or invoke it with optional arguments.
|
|
221
|
-
- **Arguments** (all optional):
|
|
222
|
-
- `project_summary` – Short description of the project/feature to plan tests for
|
|
223
|
-
- `links` – BDD, TDD, JIRA, or Confluence links for the agent to use
|
|
224
|
-
- `scope` – Test scope (in/out of scope, platforms, focus areas)
|
|
225
|
-
|
|
226
|
-
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.
|
|
227
|
-
|
|
228
|
-
---
|
|
229
|
-
|
|
230
|
-
## Available Tools
|
|
231
|
-
|
|
232
|
-
### Authentication Tools
|
|
233
|
-
|
|
234
|
-
- `login` - Login to the system using email and password. Creates a session for all subsequent requests.
|
|
235
|
-
- `check_auth_status` - Check if the MCP server is currently authenticated.
|
|
236
|
-
|
|
237
|
-
### Module Tools
|
|
238
|
-
|
|
239
|
-
- `list_modules` - List all modules, components, and subcomponents
|
|
240
|
-
- `create_module` - Create a new module, component, or subcomponent
|
|
241
|
-
- `update_module` - Update an existing module
|
|
242
|
-
- `delete_module` - Delete a module and all its children
|
|
243
|
-
- `get_module` - Get detailed information about a module
|
|
216
|
+
## Tools and Prompts
|
|
244
217
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
- `list_test_cases` - List test cases with optional filtering
|
|
248
|
-
- `get_test_case` - Get detailed information about a test case
|
|
249
|
-
- `create_test_case` - Create a new test case
|
|
250
|
-
- `update_test_case` - Update an existing test case
|
|
251
|
-
- `delete_test_case` - Delete a test case
|
|
252
|
-
- `clone_test_case` - Clone one or more test cases
|
|
253
|
-
- `move_test_case` - Move a test case to a different module
|
|
254
|
-
- `bulk_create_test_cases` - Create multiple test cases at once
|
|
255
|
-
|
|
256
|
-
### Export/Import Tools
|
|
257
|
-
|
|
258
|
-
- `get_export_structure` - Get the module structure and test case fields needed for export/import
|
|
259
|
-
|
|
260
|
-
## Examples
|
|
261
|
-
|
|
262
|
-
### Create a Module
|
|
263
|
-
|
|
264
|
-
```json
|
|
265
|
-
{
|
|
266
|
-
"name": "create_module",
|
|
267
|
-
"arguments": {
|
|
268
|
-
"name": "Authentication Module",
|
|
269
|
-
"context": "Module for authentication-related test cases"
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### Create a Test Case
|
|
275
|
-
|
|
276
|
-
```json
|
|
277
|
-
{
|
|
278
|
-
"name": "create_test_case",
|
|
279
|
-
"arguments": {
|
|
280
|
-
"title": "Verify user login with valid credentials",
|
|
281
|
-
"description": "Test that a user can log in with valid email and password",
|
|
282
|
-
"moduleId": "module-id-here",
|
|
283
|
-
"type": "Functional Test",
|
|
284
|
-
"status": "New",
|
|
285
|
-
"priority": "High",
|
|
286
|
-
"estimatedDuration": 15
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
### Clone Test Cases
|
|
292
|
-
|
|
293
|
-
```json
|
|
294
|
-
{
|
|
295
|
-
"name": "clone_test_case",
|
|
296
|
-
"arguments": {
|
|
297
|
-
"testCaseIds": ["test-case-id-1", "test-case-id-2"],
|
|
298
|
-
"targetModuleId": "target-module-id"
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Export Test Cases
|
|
304
|
-
|
|
305
|
-
```json
|
|
306
|
-
{
|
|
307
|
-
"name": "export_test_cases",
|
|
308
|
-
"arguments": {
|
|
309
|
-
"outputPath": "/path/to/export.xlsx",
|
|
310
|
-
"moduleId": "module-id-here"
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
```
|
|
218
|
+
For a complete list of all MCP tools and prompts, including parameters, sample prompts, and examples, see **[TOOLS_DOCUMENTATION.md](TOOLS_DOCUMENTATION.md)**.
|
|
314
219
|
|
|
315
220
|
## Permissions
|
|
316
221
|
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ class XMCPServer {
|
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
35
|
// Initialize API client
|
|
36
|
-
const apiBaseUrl = process.env.X_MCP_API_URL || "http://localhost:3000/api";
|
|
36
|
+
const apiBaseUrl = process.env.X_MCP_API_URL || "http://localhost:3000/api/auth";
|
|
37
37
|
const apiKey = process.env.X_MCP_API_KEY;
|
|
38
38
|
const sessionToken = process.env.X_MCP_SESSION_TOKEN;
|
|
39
39
|
const projectId = process.env.X_MCP_PROJECT_ID;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAm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AAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,SAAS,CAAC,KAAa,EAAE,QAAgB;QACrD,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;YAC5C,OAAO,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAChD,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,OAAO,CAAC,KAAK,CAAC,2BAA2B,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YAC1D,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;IAED,KAAK,CAAC,GAAG;QACP,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAC7C,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACrC,OAAO,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;IACjD,CAAC;CACF;AAED,mBAAmB;AACnB,MAAM,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;AAChC,MAAM,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3B,OAAO,CAAC,KAAK,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAC;IACrD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
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": {
|