This topic describes how to use the LaunchDarkly developer toolbar. You can install and configure the toolbar directly in your codebase, and use it in your browser during local development.
To begin, follow the instructions for setting up the developer toolbar. Then, you can use the toolbar to work in any LaunchDarkly environment, test different flag variations locally without affecting other members, or work offline.
Interactive mode connects your front end with the LaunchDarkly MCP server. This lets you use an AI agent in Cursor or another integrated development environment (IDE) to wrap the code for front-end elements in a new or existing feature flag.
To wrap the code for a front-end element in a flag:
You can make additional adjustments to your codebase as needed, and return to the toolbar to test the flag locally using the Feature flags tab.
From the Feature flags tab, you can toggle boolean flags on and off.
For string, number, and JSON flags, you can edit the value the flag is serving as needed:

Any flag changes you make affect only your local environment, and do not affect other members of your organization that are using the flag.
From the Monitoring tab, you can view incoming flag evaluation events.
Use the filter icon to narrow your view to only feature, custom, or identify events. Use the trash icon to clear the event list.

You can specify hosted domains and domains you control as safe for use with the toolbar. This allows you to test flags in your local and hosted environments.
Here’s how to specify safe domains:
The domains you add appear in the list of safe domains. This change takes up to five minutes to propagate.