Compatible with every major AI agent and IDE
What is the GrowthBook MCP Server?
Connect your GrowthBook account to any AI agent to streamline your experimentation and feature management workflows through natural language.
What you can do
- Feature Management — List, create, and toggle feature flags across production and staging environments to control rollouts.
- Project Control — Organize your experimentation roadmap by managing projects, their descriptions, and specific settings.
- Environment Visibility — Audit and list all configured environments to ensure flags are deployed correctly across your stack.
- Full Lifecycle — Create, update, or delete projects and environments as your infrastructure and team needs evolve.
- Deep Inspection — Retrieve detailed metadata for specific features and projects to understand their current configuration and state.
How it works
- Subscribe to this server
- Enter your GrowthBook Secret Key
- Start managing flags and experiments from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Product Managers — quickly toggle features for beta testers or check the status of an experiment without opening the dashboard
- Engineering Teams — manage flags and environments directly from the code editor to maintain development flow
- DevOps Engineers — audit environment configurations and project structures via simple natural language queries
Built-in capabilities (15)
Create a new GrowthBook environment
Create a new GrowthBook feature flag (v2)
Create a new GrowthBook project
Delete a GrowthBook environment
Delete a GrowthBook feature flag (v2)
Delete a GrowthBook project
Get a single GrowthBook feature flag (v2)
Get a single GrowthBook project by ID
g., production, staging) used for per-environment feature flag control. List all GrowthBook environments
List all GrowthBook feature flags (v2)
List all GrowthBook projects
Toggle a GrowthBook feature flag on or off
Update an existing GrowthBook environment
Partially update a GrowthBook feature flag (v2)
Edit an existing GrowthBook project
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and GrowthBook tool infrastructure. Connect 15 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add GrowthBook without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every GrowthBook tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
GrowthBook in Mastra AI
GrowthBook and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect GrowthBook to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for GrowthBook in Mastra AI
The GrowthBook MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 15 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
GrowthBook for Mastra AI
Every tool call from Mastra AI to the GrowthBook MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
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.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Productive
12 toolsManage your entire agency workflow via Productive — fetch budgets, analyze time entries, track deals, and monitor project health directly from any AI agent.

Bling ERP
18 toolsConnect Bling ERP via AI — manage inventory, process orders, issue Brazilian tax documents (NF-e), and track accounts directly from your agent.

Outreach
12 toolsExecute sales engagement sequences with emails, calls, and social touches orchestrated by AI to maximize rep productivity.

Sentry Alternative
15 toolsMonitor errors and application health via Sentry — query issues, inspect events, audit releases and check alert rules directly from any AI agent.
