Skip to content

docs(mcp): add multivariate feature flag example prompt#14786

Open
inkeep[bot] wants to merge 2 commits intomasterfrom
docs-writer-ai-update-2026-02-04T18-59-18-731Z
Open

docs(mcp): add multivariate feature flag example prompt#14786
inkeep[bot] wants to merge 2 commits intomasterfrom
docs-writer-ai-update-2026-02-04T18-59-18-731Z

Conversation

@inkeep
Copy link
Contributor

@inkeep inkeep bot commented Feb 4, 2026

Changes

Adds documentation for the new multivariate feature flag support in the MCP server.

What's new

Added a new "Multivariate feature flags" example prompt to the MCP documentation showing users how to create feature flags with multiple variants (A/B/n testing) via AI agents.

Example prompt added:

"Create a multivariate feature flag called 'homepage-hero-test' with three variants: control at 34%, variant_a at 33%, and variant_b at 33%"

Why

PR #46719 added multivariate feature flag support to the MCP server. Previously, the MCP only supported creating simple boolean flags. Now users can create flags with multiple variants, each with their own rollout percentages.

The existing MCP docs only showed a boolean flag example (20% rollout). This update helps users discover and use the new multivariate capability.

Key details documented

  • Multivariate flags can have 2+ variants
  • Variant rollout percentages must be integers
  • Percentages must sum to 100

This PR was automatically generated to document changes from PostHog/posthog#46719

Add new example prompt showing how to create multivariate feature flags
with multiple variants via MCP. This documents the new multivariate flag
support added in PR #46719.
@inkeep inkeep bot requested a review from a team February 4, 2026 19:00
@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posthog Ready Ready Preview Feb 4, 2026 10:43pm

Request Review

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.

1 participant