Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-getunleash-unleash-mcp": {
"args": [
"-y",
"@unleash/mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A purpose-driven Model Context Protocol (MCP) server for managing Unleash feature flags. This server enables LLM-powered coding assistants to create and manage feature flags following Unleash best practices.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@unleash/mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @unleash/mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
Read, write, and manage files on the local filesystem
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Manage Supabase projects — databases, auth, storage, and edge functions
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
MCP Security Weekly
Get CVE alerts and security updates for io.getunleash/unleash-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A purpose-driven Model Context Protocol (MCP) server for managing Unleash feature flags. This server enables LLM-powered coding assistants to create and manage feature flags following Unleash best practices.
To share feedback, join our community Slack or open an issue on GitHub.
This MCP server provides tools that integrate with the Unleash Admin API, allowing AI coding assistants to:
The MCP server exposes the following tools:
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.The core workflow for an AI assistant is designed to be:
evaluate_change: First, assess a code change to see if a flag is needed.detect_flag: This is often called automatically by evaluate_change to prevent creating duplicate flags.create_flag: If a new flag is required, this tool creates it in Unleash.wrap_change: Finally, this tool provides the language-specific code to implement the new flag.See more information on the core workflow tools in the Tool reference section.
Before you can run the server, you need the following:
This section covers the different ways to install and run the Unleash MCP server. You can either follow a setup for agents (such as Claude Code and Codex), run the MCP as a standalone process using npx, or use a local development setup.
You can add the MCP server directly to Claude Code or Codex. Agent configurations are path-specific. You must run the following command from the root directory of the project where you want to use the MCP.
For Claude Code:
claude mcp add unleash \
--env UNLEASH_BASE_URL={{your-instance-url}} \
--env UNLEASH_PAT={{your-personal-access-token}} \
-- npx -y @unleash/mcp@latest --log-level error
For Codex:
codex mcp add unleash \
--env UNLEASH_BASE_URL={{your-instance-url}} \
--env UNLEASH_PAT={{your-personal-access-token}} \
-- npx -y @unleash/mcp@latest --log-level error
Instead of running the MCP server locally