• CREATION
  • MODIFICATION
  • AUDIT
  • CLEANUP

How to manage feature gates with your AI

Connect Statsig to your agent to run feature flag operations through a simple chat interface. You stop jumping between your IDE and the Statsig dashboard.

Ask AI about this page

Short answer

Can I manage Statsig feature gates via chat?

Yes. Your agent uses specific tools to create, update, delete, and list your gates directly. You get full control over your feature rollout logic without leaving your chat window.

Where every change lands.

Feature gate management outcomes

Your agent handles the heavy lifting in Statsig based on your text commands.

CREATION

New gates live

The agent sets up new feature flags with your specified parameters. You get a new gate ready for targeting immediately.

MODIFICATION

Updated flag states

Change existing gate configurations or targeting rules on the fly. The agent applies your changes to the Statsig environment.

AUDIT

Current gate list

Pull a full list of your existing gates to see what's active. This helps you keep track of your rollout progress.

CLEANUP

Human review needed

The agent can remove old gates, but you should always verify the list first. This prevents accidental deletions of critical production flags.

The workflow

What your AI does when you request a change.

The agent translates your natural language into direct API calls to Statsig.

  1. Inventory check

    The agent looks up your existing configuration to find the right gate or verify what exists.

    list_gates
  2. Gate setup

    The agent builds a new feature gate based on the name and rules you provide in chat.

    create_gate
  3. Configuration update

    The agent modifies the properties or targeting of a specific gate you've identified.

    update_gate
  4. Flag removal

    The agent deletes a gate from your Statsig project when you confirm it's no longer needed.

    delete_gate

Try it

Copy these to start.

Use these prompts to trigger actions in Statsig.

Starting points

Replace the specific gate names or descriptions with your actual Statsig identifiers.

Statsig Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ZEX4bsyQXMNxXPnw9oDygkK22SmvaLyaVC4MgykQ/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Statsig capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "statsig-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ZEX4bsyQXMNxXPnw9oDygkK22SmvaLyaVC4MgykQ/mcp"
    }
  }
}
Copy into chat04
  • List all my current feature gates in Statsig.

  • Create a new feature gate called 'beta_search_ui' for the mobile app.

  • Update the 'dark_mode_toggle' gate to enable it for 50% of users.

  • Delete the 'old_checkout_flow' feature gate.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Statsig once, then ask.

One connection secures your credentials, and you can immediately start managing flags. The full list of available tools is on the Connector page.

Connect Statsig to your AI

FAQ

How the Statsig Connector behaves

  • 01

    Can the AI change my targeting rules?

    Yes, the agent can update existing gates to change how they target users.

  • 02

    Will the AI delete gates without asking?

    No. While the tool exists to remove gates, your agent follows your instructions. You should always confirm a deletion command before sending it.

  • 03

    Can the AI create user segments?

    No, this connector is strictly for managing feature gates.

  • 04

    Can I see a list of all my gates?

    Yes, you can ask the agent to list all active gates in your project.

  • 05

    Does the AI have access to my Statsig API key?

    Your credentials stay encrypted and managed by Vinkius; the agent only uses them to execute your commands.

  • More questions about Statsig? See everything the Statsig Connector can do

Connect Statsig to Claude, Cursor, ChatGPT & more