# unleash-mcp

MCP server for managing Unleash feature flags

MCP server by Unleash. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx add-mcp @unleash/mcp --env 'UNLEASH_BASE_URL=${UNLEASH_BASE_URL}' --env 'UNLEASH_PAT=${UNLEASH_PAT}'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @unleash/mcp --env 'UNLEASH_BASE_URL=${UNLEASH_BASE_URL}' --env 'UNLEASH_PAT=${UNLEASH_PAT}' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `UNLEASH_BASE_URL` (required): Your Unleash instance URL (local or hosted)
- `UNLEASH_PAT` (required): Your Unleash Personal Access Token (PAT) for authentication
- `UNLEASH_DEFAULT_PROJECT` (optional): The default project ID the MCP should use
- `UNLEASH_MCP_SEND_FEEDBACK` (optional): true or false to grant or deny send_feedback consent without a prompt
- `UNLEASH_FEEDBACK_URL` (optional): Base URL of the Unleash instance that receives send_feedback reports (defaults to the production instance)
- `UNLEASH_MCP_CONFIG_DIR` (optional): Directory holding feedback_consent.json (defaults to the platform config directory)

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://github.com/Unleash/unleash-mcp). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [trace-claude-code](https://syn4pse.dev/terminal/trace-claude-code.md)
- Next: [tinybird](https://syn4pse.dev/terminal/tinybird.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
