PlugWiki
Unleash MCP logo

Unleash MCP Server: Setup for Claude, Cursor and Other Apps

OfficialLocal
Getnpm@unleash/mcpunleash/unleash-mcp

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.

Install Unleash MCP

Claude Code

  1. 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. 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_flags

  • Lists 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_flags

  • Lists 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_projects

  • Shows 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_state

  • Shows 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_history

  • Checks 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_flag

  • Helps 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_change

  • Gives 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_change

  • Gives 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_flag

  • Creates 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_flag

  • Creates 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_targeting

  • Sets 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_rollout

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-onlyNo read-only switch is documented. Use a token for a user whose role cannot change flags.
Talks toYour Unleash instance. Unleash's feedback endpoint, only if you agree to send a report
Sign-in and keysThe 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
  • Personal access token of an Unleash user; the server acts with that user's permissions

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

GitHubnpmOfficial MCP RegistryChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 3
  1. github.com · github.com
  2. www.npmjs.com · npmjs.com
  3. github.com · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.