Unleash MCP Server

MCP server for managing Unleash feature flags

Remote serverstreamable-httpPython

What is the Unleash MCP MCP server?

Connect Unleash MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for managing Unleash feature flags. The unleash mcp mcp server is what makes that connection.

What the server does

This MCP server provides tools that integrate with the Unleash Admin API, allowing AI coding assistants to:

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • create_flag — Creates a feature flag in Unleash
  • evaluate_change — Scores risk and recommends feature flag usage
  • detect_flag — Discovers existing feature flags to avoid duplicates
  • wrap_change — Provides guidance on how to wrap a change in a feature flag
  • set_flag_rollout — Configures rollout strategies for a feature flag (does not enable the flag)
  • get_flag_state — Surfaces a feature flag's metadata and its activation strategies
  • list_flags — Lists all feature flags in a project, with optional pagination and sort order
  • list_projects — Lists Unleash projects available to the configured token, with optional pagination
  • toggle_flag_environment — Enables or disables a feature flag in an environment
  • remove_flag_strategy — Deletes a feature flag's strategy from an environment
  • cleanup_flag — Generates instructions for safely removing flagged code paths
  • name — "new-checkout-flow"

Credentials and setup notes

Configuration is passed through the environment: UNLEASH_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Before you can run the server, you need the following: - Node.js 22 or higher - pnpm package manager or npm - An Unleash instance (hosted or self-hosted) - A personal access token with permissions to create feature flags

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Where it fits

Plenty of payments and commerce servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Unleash MCP's toolset — create_flag, evaluate_change, detect_flag and 11 more — is a fair guide to whether it matches your workflow. It is maintained by unleash; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Unleash MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
create_flagCreates a feature flag in Unleash.
evaluate_changeScores risk and recommends feature flag usage.
detect_flagDiscovers existing feature flags to avoid duplicates.
wrap_changeProvides guidance on how to wrap a change in a feature flag.
set_flag_rolloutConfigures rollout strategies for a feature flag (does not enable the flag).
get_flag_stateSurfaces a feature flag's metadata and its activation strategies.
list_flagsLists all feature flags in a project, with optional pagination and sort order.
list_projectsLists Unleash projects available to the configured token, with optional pagination.
toggle_flag_environmentEnables or disables a feature flag in an environment.
remove_flag_strategyDeletes a feature flag's strategy from an environment.
cleanup_flagGenerates instructions for safely removing flagged code paths.
name"new-checkout-flow"
type"release"
description"Gradual rollout of the redesigned checkout experience"

How to install the Unleash MCP MCP server

{
  "mcpServers": {
    "unleash": {
      "command": "npx",
      "args": ["-y", "@unleash/mcp"],
      "env": {
        "UNLEASH_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Before you can run the server, you need the following: - Node.js 22 or higher - pnpm package manager or npm - An Unleash instance (hosted or self-hosted) - A personal access token with permissions to create feature flags

VariableDescriptionRequired
UNLEASH_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Unleash MCP to create flag.
  • Use Unleash MCP to evaluate change.
  • Use Unleash MCP to detect flag.

Frequently asked questions

It connects Unleash MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (create_flag, evaluate_change, detect_flag, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Unleash MCP directly.