Skip to content

[EX-2197] Add three new experiment MCP tools#33

Merged
gmethvin merged 4 commits intomainfrom
EX-2197-MCP-Add-experiments_list-tool-to-MCP-server
Mar 17, 2026
Merged

[EX-2197] Add three new experiment MCP tools#33
gmethvin merged 4 commits intomainfrom
EX-2197-MCP-Add-experiments_list-tool-to-MCP-server

Conversation

@marcomorais33
Copy link
Contributor

Adds support for listing, getting, and retrieving variant content for experiments:

  • list_experiments: List experiments with filtering by campaign, status, and date range
  • get_experiment: Get detailed experiment information by ID
  • get_experiment_variants: Get variant content including templates

Updates @iterable/api to 0.8.0 which includes the new experiment endpoints. Adds comprehensive unit tests for all new tools.

Implements: EX-2197, EX-2198, EX-2199, EX-2200

Adds support for listing, getting, and retrieving variant content for experiments:
- list_experiments: List experiments with filtering by campaign, status, and date range
- get_experiment: Get detailed experiment information by ID
- get_experiment_variants: Get variant content including templates

Updates @iterable/api to 0.8.0 which includes the new experiment endpoints.
Adds comprehensive unit tests for all new tools.

Implements: EX-2197, EX-2198, EX-2199, EX-2200

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
marcomorais33 and others added 3 commits March 17, 2026 18:29
Removes local link and uses the published package from npm registry.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Adds the three new experiment tools to the appropriate filter lists:
- get_experiment: Read-only, non-PII
- get_experiment_variants: Read-only, non-PII
- list_experiments: Read-only, non-PII

Also regenerates pnpm-lock.yaml to fix overrides configuration mismatch
that was causing frozen lockfile CI failures.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Removes the override that was linking to the local api-client directory.
Now uses the published @iterable/api@0.8.0 from npm.

Also updates TOOLS.md with the new experiment tools.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@marcomorais33 marcomorais33 requested a review from gmethvin March 17, 2026 18:46
@gmethvin gmethvin merged commit 2f0226c into main Mar 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants