@capivv/mcp-server 0.5.45 → 0.5.47

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.
@@ -22,7 +22,10 @@ export function registerCreateExperimentTool(server, client) {
22
22
  .optional()
23
23
  .describe('Target sample size before considering the experiment conclusive'),
24
24
  confidence_level: z.number().optional().describe('Confidence level (e.g. 95). Defaults to 95.'),
25
- metadata: z.record(z.string(), z.unknown()).optional().describe('Free-form metadata'),
25
+ metadata: z
26
+ .record(z.string(), z.unknown())
27
+ .optional()
28
+ .describe('Free-form metadata. One well-known convention: `pre_registration` locks the Bayesian decision criteria before assignment starts so the posterior on capivv_get_experiment_summary isn\'t a free parameter post-hoc. Shape: `{ pre_registration: { hypothesis: "...", decision_threshold_pct: 5.0, prior_alpha: 1.0, prior_beta: 1.0 } }`. decision_threshold_pct is the minimum lift (percentage points) the team pre-registers as "worth shipping" — drives prob_uplift_exceeds_threshold. prior_alpha/beta default Beta(1, 1) uniform; set tighter priors when you have informative data (e.g. 10/190 ≈ "we\'ve seen ~5% conversion in 200 prior observations").'),
26
29
  variants: z
27
30
  .array(z.object({
28
31
  name: z.string().describe('Variant name (e.g. "Control", "Variant A")'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capivv/mcp-server",
3
- "version": "0.5.45",
3
+ "version": "0.5.47",
4
4
  "description": "MCP server for managing Capivv subscription platform via AI assistants",
5
5
  "type": "module",
6
6
  "bin": {