@gleanwork/mcp-server-tester 1.1.0 → 2.0.0-beta.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 CHANGED
@@ -209,6 +209,54 @@ The `examples/` directory contains complete working examples:
209
209
  - [sqlite-server/](./examples/sqlite-server) — Test suite for a SQLite MCP server: 11 Playwright tests, 14 eval dataset cases.
210
210
  - [basic-playwright-usage/](./examples/basic-playwright-usage) — Minimal Playwright patterns.
211
211
 
212
+ ## Evaluation manifests
213
+
214
+ For projects with multiple datasets, use an evaluation manifest. Dataset
215
+ paths are shorthand for tagged file sources, while hosts, metrics, judges,
216
+ result stores, and other extensions resolve through public registries:
217
+
218
+ ```json
219
+ {
220
+ "name": "tool-selection-search",
221
+ "datasets": [{ "type": "file", "path": "evalsets/search.json" }],
222
+ "servers": [
223
+ {
224
+ "transport": "http",
225
+ "serverUrl": "https://example.com/mcp",
226
+ "label": "prod"
227
+ }
228
+ ],
229
+ "host": { "type": "sdk" },
230
+ "metrics": ["passed"],
231
+ "results": { "store": { "type": "file", "directory": ".mcp-test-results" } }
232
+ }
233
+ ```
234
+
235
+ Run one manifest or a bounded batch:
236
+
237
+ ```bash
238
+ npx mcp-server-tester run \
239
+ --manifest eval-manifest.json \
240
+ --plugins ./plugins \
241
+ --dry-run
242
+
243
+ npx mcp-server-tester batch \
244
+ --manifest-dir manifests \
245
+ --workers 4 \
246
+ --skip-existing \
247
+ --dry-run
248
+ ```
249
+
250
+ Use `arms` to compare server sets or host configurations. An arm can override
251
+ servers, host options, tool maps, scenario templates, metrics, and judges.
252
+ The canonical execution primitives remain `EvalDataset`, `EvalCase`,
253
+ `EvalMode`, `MCPConfig`, and `runEvalDataset`.
254
+
255
+ Applications can register extensions with `registerDatasetSource`,
256
+ `registerHost`, `registerJudge`, `registerMetric`, and `registerResultStore`.
257
+ Secrets remain environment-variable or plugin-owned runtime inputs and do not
258
+ belong in committed manifests.
259
+
212
260
  ## Known Limitations
213
261
 
214
262
  These MCP protocol features are not currently supported. These are deliberate scope decisions, not bugs: