@testomatio/mcp 2.0.0-beta.8 → 2.0.0-beta.9
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 +28 -1
- package/package.json +1 -1
- package/src/mcp/definitions/plans.js +26 -4
- package/src/mcp/registry/payloads.js +4 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Testomat.io MCP Server
|
|
2
2
|
|
|
3
|
-
Model Context Protocol (MCP) server that enables AI assistants (Claude, Cursor, etc.) to interact with Testomat.io Public API v2.
|
|
3
|
+
Model Context Protocol (MCP) server that enables AI assistants (Claude, Cursor, OpenCode, etc.) to interact with Testomat.io Public API v2.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -78,6 +78,33 @@ Add to `.cursorrules` or settings.json:
|
|
|
78
78
|
}
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
+
### OpenCode
|
|
82
|
+
|
|
83
|
+
Create `.opencode/opencode.json`:
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
{
|
|
87
|
+
"$schema": "https://opencode.ai/config.json",
|
|
88
|
+
"mcp": {
|
|
89
|
+
"testomat": {
|
|
90
|
+
"type": "local",
|
|
91
|
+
"command": [
|
|
92
|
+
"node",
|
|
93
|
+
"node_modules/@testomatio/mcp/index.js",
|
|
94
|
+
"--token",
|
|
95
|
+
"<TOKEN>",
|
|
96
|
+
"--project",
|
|
97
|
+
"<PROJECT_ID>"
|
|
98
|
+
],
|
|
99
|
+
"enabled": true,
|
|
100
|
+
"environment": {
|
|
101
|
+
"TESTOMATIO_BASE_URL": "https://app.testomat.io"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
81
108
|
## Quick Examples
|
|
82
109
|
|
|
83
110
|
**List tests:**
|
package/package.json
CHANGED
|
@@ -63,8 +63,19 @@ export const PLANS_TOOLS = [
|
|
|
63
63
|
"as_manual": {
|
|
64
64
|
"type": "boolean"
|
|
65
65
|
},
|
|
66
|
-
"
|
|
67
|
-
"type": "
|
|
66
|
+
"test_ids": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"description": "List of test IDs (8-char) to include in the plan. If omitted, all tests matching the plan kind are included."
|
|
72
|
+
},
|
|
73
|
+
"suite_ids": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"description": "List of suite IDs (8-char) to include in the plan. If omitted, all suites are considered."
|
|
68
79
|
},
|
|
69
80
|
"link": {
|
|
70
81
|
"type": "array",
|
|
@@ -136,8 +147,19 @@ export const PLANS_TOOLS = [
|
|
|
136
147
|
"as_manual": {
|
|
137
148
|
"type": "boolean"
|
|
138
149
|
},
|
|
139
|
-
"
|
|
140
|
-
"type": "
|
|
150
|
+
"test_ids": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"items": {
|
|
153
|
+
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
"description": "List of test IDs (8-char) to include in the plan. If omitted, all tests matching the plan kind are included."
|
|
156
|
+
},
|
|
157
|
+
"suite_ids": {
|
|
158
|
+
"type": "array",
|
|
159
|
+
"items": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"description": "List of suite IDs (8-char) to include in the plan. If omitted, all suites are considered."
|
|
141
163
|
},
|
|
142
164
|
"link": {
|
|
143
165
|
"type": "array",
|
|
@@ -253,7 +253,8 @@ export const payloadMethods = {
|
|
|
253
253
|
kind,
|
|
254
254
|
hidden,
|
|
255
255
|
as_manual: asManual,
|
|
256
|
-
|
|
256
|
+
test_ids: testIds,
|
|
257
|
+
suite_ids: suiteIds,
|
|
257
258
|
link,
|
|
258
259
|
} = {}) {
|
|
259
260
|
return {
|
|
@@ -262,7 +263,8 @@ export const payloadMethods = {
|
|
|
262
263
|
kind,
|
|
263
264
|
hidden,
|
|
264
265
|
as_manual: asManual,
|
|
265
|
-
|
|
266
|
+
test_ids: testIds,
|
|
267
|
+
suite_ids: suiteIds,
|
|
266
268
|
link,
|
|
267
269
|
};
|
|
268
270
|
},
|