An MCP server for Unleash feature flagging server, and your new best coding buddy
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add unleash --env UNLEASH_BASE_URL='<UNLEASH_BASE_URL>' --env UNLEASH_PAT='<UNLEASH_PAT>' -- npx -y @unleash/mcp~/.codex/config.toml
[mcp_servers.unleash]
command = "npx"
args = ["-y", "@unleash/mcp"]
env = { UNLEASH_BASE_URL = "<UNLEASH_BASE_URL>", UNLEASH_PAT = "<UNLEASH_PAT>" }
# codex mcp add unleash --env UNLEASH_BASE_URL='<UNLEASH_BASE_URL>' --env UNLEASH_PAT='<UNLEASH_PAT>' -- npx -y @unleash/mcp~/.cursor/mcp.json
{
"mcpServers": {
"unleash": {
"command": "npx",
"args": [
"-y",
"@unleash/mcp"
],
"env": {
"UNLEASH_BASE_URL": "<UNLEASH_BASE_URL>",
"UNLEASH_PAT": "<UNLEASH_PAT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"unleash": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@unleash/mcp"
],
"env": {
"UNLEASH_BASE_URL": "<UNLEASH_BASE_URL>",
"UNLEASH_PAT": "<UNLEASH_PAT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"unleash": {
"command": "npx",
"args": [
"-y",
"@unleash/mcp"
],
"env": {
"UNLEASH_BASE_URL": "<UNLEASH_BASE_URL>",
"UNLEASH_PAT": "<UNLEASH_PAT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"unleash": {
"command": "npx",
"args": [
"-y",
"@unleash/mcp"
],
"env": {
"UNLEASH_BASE_URL": "<UNLEASH_BASE_URL>",
"UNLEASH_PAT": "<UNLEASH_PAT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"unleash": {
"command": "npx",
"args": [
"-y",
"@unleash/mcp"
],
"env": {
"UNLEASH_BASE_URL": "<UNLEASH_BASE_URL>",
"UNLEASH_PAT": "<UNLEASH_PAT>"
}
}
}
}Environment variables
UNLEASH_BASE_URLUNLEASH_PAT
Replace the placeholders with your own credentials and keep them out of version control.