Unleash MCP Server

MCP server for managing Unleash feature flags

Remote serverstreamable-httpPython

What is the Unleash MCP Server?

MCP server for managing Unleash feature flags

What the server does

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

Credentials and setup notes

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

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.

How to install the Unleash 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

MCP server for managing Unleash feature flags Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.