LaunchFlag
v0.2.7Feature flags and kill switches.
Values you need
| Variable | What it is | |
|---|---|---|
LAUNCHFLAG_TOKEN | required secret | API token from the LaunchFlag dashboard Install page. |
LAUNCHFLAG_URL | optional | Base URL. Defaults to https://launchflag.dev. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add launchflag -e 'LAUNCHFLAG_TOKEN=<LAUNCHFLAG_TOKEN>' -- npx -y launchflag-mcp@0.2.7Add to
claude_desktop_config.json{
"mcpServers": {
"launchflag": {
"args": [
"-y",
"launchflag-mcp@0.2.7"
],
"command": "npx",
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"launchflag": {
"args": [
"-y",
"launchflag-mcp@0.2.7"
],
"command": "npx",
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "LAUNCHFLAG_TOKEN",
"id": "launchflag-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"launchflag": {
"args": [
"-y",
"launchflag-mcp@0.2.7"
],
"command": "npx",
"env": {
"LAUNCHFLAG_TOKEN": "${input:launchflag-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.launchflag]
command = "npx"
args = ["-y", "launchflag-mcp@0.2.7"]
env = { "LAUNCHFLAG_TOKEN" = "<LAUNCHFLAG_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http launchflag https://launchflag.dev/api/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"launchflag": {
"args": [
"-y",
"mcp-remote",
"https://launchflag.dev/api/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"launchflag": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://launchflag.dev/api/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"launchflag": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://launchflag.dev/api/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.launchflag]
command = "npx"
args = ["-y", "mcp-remote", "https://launchflag.dev/api/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: LAUNCHFLAG_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_flags, cleanup_flags, create_flag, set_flag, promote_flag, delete_flag, emergency_off, list_projects.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json