How to Use the GrowthBook MCP in Cursor
Write code in Cursor that adapts to live GrowthBook feature flags and environment configurations in real time.
Works with every AI agent you already use
…and any MCP-compatible client
Connect GrowthBook MCP to Cursor
Create your Vinkius account to connect GrowthBook to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Generate code matching your GrowthBook flags
This MCP Server lets you query flag properties without leaving your editor. While editing in Cursor, your agent runs `get_feature` to read the exact schema of your flag, then writes the implementation code directly into your files. If a flag does not exist yet, you do not have to leave your editor. Tell Cursor to use `create_feature` to build it on the spot, and then write the corresponding React or Node.js block.
Direct environment sync inside Cursor
Keep your local development environments aligned with your remote setups. Cursor uses `list_environments` to find your target environments and can run `create_environment` if you are setting up a new pipeline. When you need to update targeting rules for a specific local setup, the agent uses `update_environment` to modify the configuration without breaking your active terminal sessions.
Project management via this MCP Server
This MCP Server handles the background API calls so you can structure your workspace without leaving your code editor. Cursor calls `list_projects` to fetch your team's active projects and uses `get_project` to pull metadata for your current working directory. If you are starting a new microservice, the agent can call `create_project` to register it in GrowthBook. It configures the workspace details so you can start adding flags immediately.
Set up GrowthBook MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the GrowthBook MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent GrowthBook transactions." If the MCP tools are loaded correctly, Cursor will call the GrowthBook tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"growthbook-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by GrowthBook. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about GrowthBook MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the GrowthBook MCP today
We host it, we monitor it, we maintain it. You just paste one token.