
Unleash MCP Server: Setup for Claude, Cursor and Other Apps
Lets Claude, Cursor and Codex create, roll out and clean up your Unleash feature flags.
Unleash MCP is Unleash's own server for feature flags. Your assistant can find flags, create them, set rollout rules, switch them on or off per environment, and read their change history. It also gives the assistant guidance for wrapping code in a flag and removing it later.
It runs on your computer and signs in to your Unleash instance with a personal access token. The assistant acts with that user's permissions. Unleash Enterprise also offers an experimental hosted version that signs in through your browser.
Good for
- Developers who want to add a feature flag without leaving the editor
- Teams that check flag state and history before a release
- Engineers tidying up stale flags and the code behind them
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install Unleash MCP
Claude Code
- 1
Copy this prompt.
Add the Unleash MCP server to Claude Code. Run this command: claude mcp add unleash -e UNLEASH_BASE_URL=<UNLEASH_BASE_URL> -e UNLEASH_PAT=<UNLEASH_PAT> -- npx -y @unleash/mcp Ask me for UNLEASH_BASE_URL, UNLEASH_PAT and only put the values in that config, nowhere else. Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
Built from the package data we hold. Not yet tested by us.
Tools
Finds flags across all projects by part of a name
Looks up active flags in every project by part of their name or description. It returns the matches with their project, type and whether each environment has them on.
Try: “Find the flags with checkout in the name.”
Network ·
search_flagsLists the flags in one project
Returns the flags in a project, newest or oldest first. It shows active flags by default and can list archived ones instead.
Try: “List the archived flags in the payments project.”
Network ·
list_flagsLists the Unleash projects your token can see
Returns each project's ID, name, description and creation time. The assistant uses it to pick the right project before it touches a flag.
Try: “List my Unleash projects.”
Network ·
list_projectsShows a flag's settings and rollout rules
Fetches one flag with its environments, rollout strategies and parent flags. It can also include what each segment targets and which context fields rules can use.
Try: “Show me how new-checkout is set up in production.”
Network ·
get_flag_stateShows who changed a flag and when
Returns the recent events on a flag as a diff, with who made each change, when, and in which environment. Handy before you edit a flag or to explain why it is on.
Try: “What changed on new-checkout this week?”
Network ·
get_flag_historyChecks whether a flag is on for a given user
Runs a flag against a context such as a user ID in one environment. It reports the result and which strategies, constraints and segments matched. Unleash marks this API as alpha.
Try: “Does user 42 get new-checkout in production?”
Network ·
evaluate_flagHelps decide if a code change needs a flag
Returns guidance on whether a change is risky enough for a feature flag, including how to spot existing parent flags. It reads nothing from Unleash and changes nothing.
Try: “Should this checkout rewrite go behind a feature flag?”
Read ·
evaluate_changeGives code for putting a change behind a flag
Returns language-specific templates and rules for wrapping a change in a flag check. The check must sit inside the code path, not around route setup.
Try: “Wrap this new export button in a feature flag.”
Read ·
wrap_changeGives steps to remove a flag from your code
Returns step-by-step instructions for deleting a flag's checks from the code while keeping the winning code path. It only guides the assistant. Your code changes through the assistant's own file tools.
Try: “Remove the old-banner flag from the codebase.”
Read ·
cleanup_flagCreates a new feature flag in Unleash
Creates a flag in a project with a name, type and description. The assistant is told to follow Unleash's naming and lifecycle advice.
Try: “Create a release flag called new-checkout in the shop project.”
Write ·
create_flagCreates context fields and segments for rollouts
Creates the context fields and segments that rollout rules point at, in one project or in every project. Each item is a separate call and nothing is rolled back if one fails partway.
Try: “Create a beta-testers segment for user IDs 1, 2 and 3.”
Write ·
create_targetingSets who gets a flag in each environment
Sets a rollout percentage, optional segments and context-field rules, and whether the environment is on. Where an environment needs approval, it opens a change request instead. The tool is flagged as destructive.
Try: “Roll out new-checkout to 10% of users in production.”
Write ·
set_flag_rolloutTurns a flag on or off in one environment
Enables or disables a flag in a named environment. Where changes need approval, it files a change request instead.
Try: “Turn off new-checkout in production.”
Write ·
toggle_flag_environmentDeletes a rollout rule from a flag
Deletes one strategy from a flag's environment. Where changes need approval, it files a change request and the strategy stays until that is approved.
Try: “Remove the old 50% rollout rule from new-checkout in staging.”
Delete ·
remove_flag_strategyCompletes, archives or revives a flag
Marks a flag complete, undoes that, archives it, revives it, or sets and clears the stale marker. Archiving stops SDKs from receiving the flag, and is refused if other flags depend on it.
Try: “Archive the old-banner flag.”
Delete ·
update_flag_lifecycleChanges a project's flag defaults
Sets a project's default stickiness, adds environments to it, and sets each environment's default strategy. The default strategy also applies to existing flags that have none. There is no rollback.
Try: “Add the staging environment to the shop project.”
Write ·
update_project_settingsUsed by the assistant behind the scenes
Guides a search for existing flags in your code
Returns instructions for finding flags that already exist in the code, files and git history. The assistant uses it to avoid duplicates before it creates a new flag.
Try: “Is there already a flag for the new search page?”
Read ·
detect_flagReports a failed or missing feature to Unleash
Sends Unleash a report when a tool failed, a request was not supported or a result looked wrong. It asks you first. It is not listed if feedback is turned off in settings.
Try: “(The assistant calls this on its own after asking you.)”
Network ·
send_feedback
Read from the source code
Permissions
high risk · 4 things to watch
High risk
The assistant can change flag rollouts for real users and delete rollout rules, using the permissions of the token you give it. Use a token for a user whose role is limited, and keep production changes behind approval.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can delete rollout rules and archive flags
One tool deletes a flag's strategy and another archives flags, which stops SDKs from getting them. Use a token with limited rights, or approve each call by hand. github.com
One call can change what users see
Rollout and toggle tools can switch a flag on for real users in production. Where an environment needs approval, they open a change request instead. github.com
Project defaults apply to existing flags
Setting an environment's default strategy also applies to flags that have none. Confirm values like 100% in production before the assistant sends them. github.com
It can send feedback reports to Unleash
A report names the tool, the error and your client. Nothing is sent until you agree, and you can turn the tool off with a setting. github.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Turning on read-only | No read-only switch is documented. Use a token for a user whose role cannot change flags. |
|---|---|
| Talks to | Your Unleash instance. Unleash's feedback endpoint, only if you agree to send a report |
| Sign-in and keys | The token is passed in the UNLEASH_PAT environment variable in your client config. Your answer about feedback is kept in a feedback_consent.json file in your config folder. |
| Scopes |
|
Questions
Is the Unleash MCP server official?
Yes. Unleash publishes it in its own GitHub organisation, and the package on npm is @unleash/mcp.
What do I need to connect it?
The address of your Unleash instance and a personal access token from your Unleash profile. Add both as the two settings shown in the install box.
Can I run it read-only?
No switch exists for it. The server acts with the token user's permissions, so use a token for a user whose role cannot change flags.
Can it delete things?
Yes. It can delete a rollout rule and archive a flag. It does not delete a flag itself, and archived flags can be revived.
Is there a hosted version?
Unleash Enterprise offers one, still experimental, at your own instance address and it signs in through your browser. An admin has to turn it on. The README explains the steps for Claude Code and Codex.
Why does the list here differ from the main branch README?
The main branch describes a newer, smaller tool set that is not on npm yet. This page lists the published package, version 0.5.0.
Does it send my data anywhere besides Unleash?
Only if you agree to send a feedback report to Unleash. Reports name the tool, the error and your client. You can switch the tool off with a setting.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
@unleash/mcp- Registry
- npm
- Transport
- stdio
- Auth
- token in env
- Version
- 0.5.0
- License
- MIT
- Last commit
- Oct 30, 2026
- Open issues
- 4
- Listed in
- Official MCP registry
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 3Hide
- github.com · github.com
- www.npmjs.com · npmjs.com
- github.com · github.com