Feature flags and kill switches. Turn a shipped feature off in production without a deploy.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add launchflag --env LAUNCHFLAG_TOKEN='<LAUNCHFLAG_TOKEN>' -- npx -y launchflag-mcp~/.codex/config.toml
[mcp_servers.launchflag]
command = "npx"
args = ["-y", "launchflag-mcp"]
env = { LAUNCHFLAG_TOKEN = "<LAUNCHFLAG_TOKEN>" }
# codex mcp add launchflag --env LAUNCHFLAG_TOKEN='<LAUNCHFLAG_TOKEN>' -- npx -y launchflag-mcp~/.cursor/mcp.json
{
"mcpServers": {
"launchflag": {
"command": "npx",
"args": [
"-y",
"launchflag-mcp"
],
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"launchflag": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"launchflag-mcp"
],
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"launchflag": {
"command": "npx",
"args": [
"-y",
"launchflag-mcp"
],
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"launchflag": {
"command": "npx",
"args": [
"-y",
"launchflag-mcp"
],
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"launchflag": {
"command": "npx",
"args": [
"-y",
"launchflag-mcp"
],
"env": {
"LAUNCHFLAG_TOKEN": "<LAUNCHFLAG_TOKEN>"
}
}
}
}Remote
claude mcp add --transport http launchflag https://launchflag.dev/api/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.launchflag]
url = "https://launchflag.dev/api/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add launchflag --url https://launchflag.dev/api/mcp~/.cursor/mcp.json
{
"mcpServers": {
"launchflag": {
"url": "https://launchflag.dev/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"launchflag": {
"type": "http",
"url": "https://launchflag.dev/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"launchflag": {
"httpUrl": "https://launchflag.dev/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"launchflag": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://launchflag.dev/api/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"launchflag": {
"url": "https://launchflag.dev/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}Environment variables
LAUNCHFLAG_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.