From 1b24f8eb65abcc12af6ed94f039f87ff81a52cbf Mon Sep 17 00:00:00 2001 From: "inkeep[bot]" <257615677+inkeep[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:59:56 +0000 Subject: [PATCH] docs(mcp): add multivariate feature flags example prompt 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. --- contents/docs/model-context-protocol/index.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contents/docs/model-context-protocol/index.mdx b/contents/docs/model-context-protocol/index.mdx index 92cec4aa2f52..b8f5c83278e7 100644 --- a/contents/docs/model-context-protocol/index.mdx +++ b/contents/docs/model-context-protocol/index.mdx @@ -121,6 +121,12 @@ Here are some examples of what you can ask your AI agent to do with the PostHog The agent will use the `create-feature-flag` tool to create the flag with a 20% rollout and return the configuration including the key, rollout percentage, and a link to the flag in PostHog. +### Multivariate feature flags + +**Prompt:** "Create a multivariate feature flag called 'homepage-hero-test' with three variants: control at 34%, variant_a at 33%, and variant_b at 33%" + +The agent will use the `create-feature-flag` tool with a `multivariate` configuration to create the flag with multiple variants. Variant rollout percentages must be integers that sum to 100. + ### Analytics queries **Prompt:** "How many unique users signed up in the last 7 days, broken down by day?"