@testomatio/mcp 2.0.0-beta.9 → 2.0.0
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 +78 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Model Context Protocol (MCP) server that enables AI assistants (Claude, Cursor,
|
|
|
18
18
|
### Installation
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install -g @testomatio/mcp
|
|
21
|
+
npm install -g @testomatio/mcp@latest
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
### Configuration
|
|
@@ -48,17 +48,24 @@ export TESTOMATIO_BASE_URL=https://beta.testomat.io
|
|
|
48
48
|
|
|
49
49
|
### Cursor IDE
|
|
50
50
|
|
|
51
|
-
Add to `.
|
|
51
|
+
Add this config to `.cursor/mcp.json` in your project, or to `~/.cursor/mcp.json` for global access:
|
|
52
52
|
|
|
53
53
|
```json
|
|
54
54
|
{
|
|
55
55
|
"mcpServers": {
|
|
56
56
|
"testomatio": {
|
|
57
|
-
"
|
|
58
|
-
"
|
|
57
|
+
"type": "stdio",
|
|
58
|
+
"command": "npx",
|
|
59
|
+
"args": [
|
|
60
|
+
"-y",
|
|
61
|
+
"@testomatio/mcp@latest",
|
|
62
|
+
"--token",
|
|
63
|
+
"<TOKEN>",
|
|
64
|
+
"--project",
|
|
65
|
+
"<PROJECT_ID>"
|
|
66
|
+
],
|
|
59
67
|
"env": {
|
|
60
|
-
"
|
|
61
|
-
"TESTOMATIO_PROJECT_ID": "<PROJECT_ID>"
|
|
68
|
+
"TESTOMATIO_BASE_URL": "https://app.testomat.io"
|
|
62
69
|
}
|
|
63
70
|
}
|
|
64
71
|
}
|
|
@@ -67,12 +74,26 @@ Add to `.cursorrules` or settings.json:
|
|
|
67
74
|
|
|
68
75
|
### Claude Desktop
|
|
69
76
|
|
|
77
|
+
Add this config to:
|
|
78
|
+
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
79
|
+
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
80
|
+
|
|
70
81
|
```json
|
|
71
82
|
{
|
|
72
83
|
"mcpServers": {
|
|
73
84
|
"testomatio": {
|
|
74
|
-
"command": "
|
|
75
|
-
"args": [
|
|
85
|
+
"command": "npx",
|
|
86
|
+
"args": [
|
|
87
|
+
"-y",
|
|
88
|
+
"@testomatio/mcp@latest",
|
|
89
|
+
"--token",
|
|
90
|
+
"<TOKEN>",
|
|
91
|
+
"--project",
|
|
92
|
+
"<PROJECT_ID>"
|
|
93
|
+
],
|
|
94
|
+
"env": {
|
|
95
|
+
"TESTOMATIO_BASE_URL": "https://app.testomat.io"
|
|
96
|
+
}
|
|
76
97
|
}
|
|
77
98
|
}
|
|
78
99
|
}
|
|
@@ -80,7 +101,7 @@ Add to `.cursorrules` or settings.json:
|
|
|
80
101
|
|
|
81
102
|
### OpenCode
|
|
82
103
|
|
|
83
|
-
|
|
104
|
+
Add this config to `opencode.json` in your project root, or to `~/.config/opencode/opencode.json` for global access:
|
|
84
105
|
|
|
85
106
|
```json
|
|
86
107
|
{
|
|
@@ -89,8 +110,9 @@ Create `.opencode/opencode.json`:
|
|
|
89
110
|
"testomat": {
|
|
90
111
|
"type": "local",
|
|
91
112
|
"command": [
|
|
92
|
-
"
|
|
93
|
-
"
|
|
113
|
+
"npx",
|
|
114
|
+
"-y",
|
|
115
|
+
"@testomatio/mcp@latest",
|
|
94
116
|
"--token",
|
|
95
117
|
"<TOKEN>",
|
|
96
118
|
"--project",
|
|
@@ -179,6 +201,38 @@ src/
|
|
|
179
201
|
|
|
180
202
|
*Either `TESTOMATIO_PROJECT_TOKEN` or `TESTOMATIO_API_TOKEN`
|
|
181
203
|
|
|
204
|
+
## Corporate TLS Certificates
|
|
205
|
+
|
|
206
|
+
If the MCP server runs behind a corporate proxy or TLS inspection, Node.js may reject Testomat.io HTTPS requests even when the same URL works in a browser. This usually means the company root certificate is trusted by the operating system, but not by Node.js.
|
|
207
|
+
|
|
208
|
+
Use Node.js system CA support:
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
NODE_OPTIONS=--use-system-ca testomatio-mcp --token <TOKEN> --project <PROJECT_ID>
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
For MCP clients, pass `NODE_OPTIONS` in the server environment:
|
|
215
|
+
|
|
216
|
+
```json
|
|
217
|
+
{
|
|
218
|
+
"mcpServers": {
|
|
219
|
+
"testomatio": {
|
|
220
|
+
"command": "testomatio-mcp",
|
|
221
|
+
"args": ["--token", "<TOKEN>", "--project", "<PROJECT_ID>"],
|
|
222
|
+
"env": {
|
|
223
|
+
"NODE_OPTIONS": "--use-system-ca"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
If your Node.js version does not support `--use-system-ca`, export the corporate root certificate to a PEM file and use Node.js extra CA support:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
NODE_EXTRA_CA_CERTS=/path/to/company-root-ca.pem testomatio-mcp --token <TOKEN> --project <PROJECT_ID>
|
|
234
|
+
```
|
|
235
|
+
|
|
182
236
|
## Important Notes
|
|
183
237
|
|
|
184
238
|
- **Run Status** - Use `runs_update` with `status_event` for transitions (finish, launch, rerun, etc.)
|
|
@@ -191,3 +245,16 @@ src/
|
|
|
191
245
|
npm install
|
|
192
246
|
npm run start -- --token <TOKEN> --project <PROJECT_ID>
|
|
193
247
|
```
|
|
248
|
+
|
|
249
|
+
For local MCP development, point Claude Desktop to the checked-out entrypoint:
|
|
250
|
+
|
|
251
|
+
```json
|
|
252
|
+
{
|
|
253
|
+
"mcpServers": {
|
|
254
|
+
"testomatio-local": {
|
|
255
|
+
"command": "node",
|
|
256
|
+
"args": ["/path/to/mcp/index.js", "--token", "<TOKEN>", "--project", "<PROJECT_ID>"]
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
```
|