# GrowthBook MCP for AI Agents AI Agent Connect

> GrowthBook MCP for AI Agents. Manage feature flags, A/B tests, and environments directly through your AI client. Control rollouts, toggle features for specific users, and organize your entire experimentation roadmap without leaving your workspace. This Connector connects your GrowthBook account to tools like Claude or Cursor, letting you manage your production environment with natural language commands.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_KNp7r3vX1MWcig4imXo7kmsnq96l2Q8qFEcS5YIM/ai-agent-connect
- **Tags:** feature-flags, a-b-testing, experimentation, product-growth, deployment-control

## Description

This Connector lets you talk to your GrowthBook account using plain English. Instead of switching tabs to find a specific flag or checking if the staging environment is live, you can just ask your agent to do it. You can create new projects, toggle features for specific users, and audit your entire environment setup without leaving your workspace. It's built to handle the heavy lifting of feature management, making it easy to manage rollouts and experiments on the fly. By using the Vinkius catalog to host this connection, you get a reliable way to keep your infrastructure in sync with your team's needs. It's about getting the right feature to the right person at the right time without the friction of a complex dashboard.

Imagine you're in the middle of a release and need to flip a switch for a small group of beta testers. Instead of logging into a separate dashboard, navigating through project folders, and hunting for the right toggle, you just tell your agent to do it. The same goes for auditing your environment configurations. You can verify that your staging flags are correctly set or check the metadata of a specific feature without manual copy-pasting. It's a way to keep your deployment flow steady while giving you more granular control over your product's rollout strategy. This connection turns a multi-click process into a single conversation, letting you focus on the actual work of shipping and experimenting.

## Tools

### delete_project
Delete a GrowthBook project once its experimentation lifecycle is complete. This helps manage your roadmap history.

### get_project
Get a single GrowthBook project by its ID to see its configuration. Use this to pull specific project metadata.

### list_environments
List all GrowthBook environments to audit your deployment across the stack. This ensures you know where flags are active.

### list_features
List all GrowthBook feature flags to see what is currently active. Use this for a quick overview of your enabled features.

### list_projects
List all GrowthBook projects to get a high-level view of your roadmap. This helps you stay organized on large teams.

### toggle_feature
Toggle a GrowthBook feature flag on or off for immediate rollout control. This is the primary way to go live.

### update_environment
Update an existing GrowthBook environment to change configuration settings. Use this to modify how flags behave in specific areas.

### update_feature
Partially update a GrowthBook feature flag to tweak specific configurations. This allows for quick adjustments to live features.

### update_project
Edit an existing GrowthBook project to update its description or settings. Keep your roadmap information accurate as you scale.

### create_environment
Create a new GrowthBook environment to separate your production and staging rollouts. This helps keep your configurations organized.

### create_feature
Create a new feature flag to manage your upcoming product releases. It lets you define new functionality before it goes live.

### create_project
Create a new GrowthBook project to organize your experimentation roadmap. Use this to group related flags and settings.

### delete_environment
Delete an old GrowthBook environment when it is no longer needed for your stack. This keeps your workspace clean.

### delete_feature
Delete a specific feature flag to keep your project organized. Use this when a feature is fully rolled out or retired.

### get_feature
Get the details of a specific feature flag to check its current status. This is useful for verifying live configurations.

## Prompt Examples

**Prompt:** 
```
What flags are active for the frontend-v2 project?
```

**Response:** 
```
I've pulled the active flags for **frontend-v2**. Here is what's currently live:

| Feature Flag | Status | Environment |
| :--- | :--- | :--- |
| `new-hero-banner` | **ON** | Production |
| `dark-mode-toggle` | **OFF** | Production |
| `beta-checkout` | **ON** | Staging |

Would you like to see the specific configuration for any of these?
```

**Prompt:** 
```
Turn on the dark-mode-beta flag in production.
```

**Response:** 
```
Done! I have successfully toggled the `dark-mode-beta` flag to **ON** in the **production** environment. The change is now live for your users.
```

**Prompt:** 
```
Show me the settings for project ID proj_123.
```

**Response:** 
```
Inspecting project `proj_123`...

*   **Name:** Mobile App Redesign
*   **Slug:** `mobile-redesign`
*   **Features:** 12 associated flags
*   **Targeting:** Configured with custom targeting settings for the mobile app.

Let me know if you need to update any of these settings.
```

## Capabilities

### Toggle features on or off instantly
Switch a feature flag to active or inactive to control your production rollouts.

### Create new feature flags
Generate new flags for upcoming releases directly through your agent.

### Manage project roadmaps
Create and update projects to organize your experimentation strategy.

### Audit active environments
List all configured environments to ensure flags are deployed correctly.

### Retrieve feature metadata
Get detailed configuration settings for specific flags and projects.

## Use Cases

### Instant Beta Toggles
A Product Manager needs to enable a new hero banner for 10% of beta testers. They ask their agent to use toggle_feature in the staging environment.

### Configuration Auditing
A DevOps Engineer wants to ensure all production flags are correct. They ask the agent to list_environments and get_feature details for the core checkout flow.

### Roadmap Organization
An Engineering Lead wants to group all mobile redesign flags. They ask their agent to create_project for the mobile app and list_projects to confirm.

### Quick Feature Tweaks
A developer needs to adjust a specific flag setting for a new release. They use update_feature to modify the configuration without a full redeploy.

## Benefits

- Faster rollouts: Use toggle_feature to go live in seconds without hunting through a complex web dashboard.
- Better visibility: Use list_environments to see every configuration across your entire stack at a glance.
- Cleaner projects: Use create_project to organize your roadmap and keep your experimentation history tidy.
- Easy auditing: Use get_feature to quickly check specific flag states and ensure your production environment is correct.
- Reduced friction: Use update_feature to tweak configurations on the fly without needing a full deployment cycle.

## How It Works

The bottom line is you get direct, natural language control over your feature management platform.

1. Subscribe to the GrowthBook MCP on Vinkius.
2. Enter your GrowthBook Secret Key into your AI client settings.
3. Ask your agent to list features, toggle flags, or manage environments.

## Frequently Asked Questions

**Can I use GrowthBook MCP to manage my production rollouts?**
Yes, you can use it to toggle features on and off in real time. This allows you to manage production rollouts using natural language through your AI agent.

**How do I connect GrowthBook to my AI agent?**
Simply subscribe to this Connector on Vinkius and provide your GrowthBook Secret Key in your AI client's configuration. Once connected, your agent can manage your flags.

**Does this Connector support staging environments?**
Yes, it supports all configured environments. You can list, audit, and update flags in production, staging, or any other environment you have set up.

**Can I create new feature flags with this?**
Absolutely. You can ask your agent to create new feature flags, projects, and environments as your product infrastructure evolves.

**Is this safe for my production environment?**
Yes, it operates using your existing GrowthBook permissions. It provides a secure way to interact with your flags via your AI agent.

**Can I delete old projects with GrowthBook MCP?**
Yes, you can use the tool to delete projects or environments that are no longer needed, helping you keep your GrowthBook workspace clean.

**Can I enable or disable a feature flag using the AI?**
Yes! You can use the `toggle_feature` tool to change the state of any flag. Simply specify the feature ID and the target environment.

**How do I see which environments are available for my flags?**
You can use the `list_environments` tool. It will retrieve all configured environments like production, staging, or development used in your GrowthBook account.

**Is it possible to create a new project to group my experiments?**
Absolutely. Use the `create_project` tool by providing a name and optional description. This helps keep your feature flags and experiments organized by team or application.