Railflag
Feature flag tools for AI agents, with human approval on production changes
Answered our tool-list check 3 of 3 times in the last 7 days; last seen working yesterday.
Railflag is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Freemium
- Platforms
- API, CLI, VS Code
- Runs
- Remotely
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add --transport http railflag https://mcp.railflag.com/mcpAdd to Settings → Connectors → Add custom connector
https://mcp.railflag.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"railflag": {
"url": "https://mcp.railflag.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"railflag": {
"type": "http",
"url": "https://mcp.railflag.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"railflag": {
"serverUrl": "https://mcp.railflag.com/mcp"
}
}
}Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.railflag.com/mcpEnter a Name (for example "Railflag"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"railflag": {
"type": "http",
"url": "https://mcp.railflag.com/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
About Railflag
The README and registry entry describe Railflag as a hosted MCP server that lets an AI client create feature flags, adjust targeting and run percentage rollouts. The setup guide says it works with Claude Code, Cursor, VS Code with GitHub Copilot and Windsurf, and any other MCP client that supports Streamable HTTP with a bearer token.
The server covers more than flag toggling. It exposes tools for reading change history, suggesting what to monitor during a rollout, and importing flags from Unleash or AB Tasty. Imports are read-only on the source tool, so the other system is never written to.
The main design point is review. In environments that require approval, usually Production, an agent's change becomes a change request that a person must approve through a link. Every change is logged with the agent and the person it acts for, and read-only tokens let an agent answer questions without changing anything.
Tools this server provides (29)
Read directly from the server.
15 of 29 tools say they're read-only. 14 of 29 tools say they can delete or change data.
From the server's own tool annotations; not verified by us.
- list_flagsSays read-only
- All flags with their state in each environment.
- get_flagSays read-only
- One flag: variations and full targeting in every environment, with versions for safe updates.
- list_environmentsSays read-only
- Environments, whether they require approval, and their published config versions. Keys are not returned.
- create_flagSays it can change data
- Creates a flag, off in every environment. Boolean flags have variations [false, true].
- toggle_flagSays it can change data
- Turns a flag on or off in one environment. In environments that need approval this returns an approvalUrl for a person.
- update_targetingSays it can change data
- Replaces a flag's targeting in one environment. Read it with get_flag first and pass its version as baseVersion so you never overwrite someone else's change. Rules are checked top to bottom; the first match wins.
- set_rolloutSays it can change data
- Sets the percentage split for the default rule, or for one rule by id. percentages has one number per variation and must add up to 100 (e.g. [80, 20] gives 20% true for a boolean flag). Raising a percentage only adds users.
- get_historySays read-only
- Audit log for the project or one flag: who changed what, when and why.
- get_change_requestSays read-only
- Status of a change waiting for approval: pending, applied, rejected or failed.
- suggest_watch_planSays it can change data
- Drafts a Release Watch plan for a flag change: which signals to monitor (error rate, latency, conversions, new Sentry issues, the rollout split), the limits, and for how long. Describe the change with percentages (default rule split, like set_rollout), enabled (on/off) or a full targeting. Returns a watchPlanId to pass to the change tool. On plans without Release Watch it says what it would monito
- get_watchSays read-only
- A watch: its status (draft, active, passed, paused, stopped), each signal's state, the timeline and the verdict.
- list_watchesSays read-only
- Watches in the project, newest first, optionally for one flag and by status (comma separated: draft, active, passed, paused, stopped, expired).
- stop_watchSays it can change data
- Stops watching. Doesn't change the flag.
- monitoring_coverageSays read-only
- The project's monitoring coverage: live Production flags nobody watches (ranked by risk), kill switches never tested, flags no SDK evaluates, and services missing error or latency metrics. Business plan.
- connect_monitoringSays it can change data
- Starts connecting Prometheus/Grafana, Datadog, Sentry, New Relic or a Slack channel for alerts. Returns a one-time link: give it to the user, who enters the credentials there. Never ask the user for credentials in chat. Admins only.
- list_sourcesSays read-only
- Vendors Railflag can import flags from, what it reads from each, and which are coming later.
- connect_sourceSays it can change data
- Starts a read-only connection to the user's account at another flag vendor (see list_sources). Returns a link the user opens to enter their credentials there. Never ask the user to paste credentials into the chat. After they finish, call get_connection.
- get_connectionSays read-only
- Whether the user finished connecting, which source environments are visible, and whether decisions can be compared.
- scan_sourceSays it can change data
- Reads all flags and their targeting from the connected vendor (read only). Runs in the background: poll get_run with the returned runId.
- get_runSays read-only
- Status and result of a scan, compare or apply run.
- plan_migrationSays it can change data
- Builds a dry-run plan from the latest scan. envMap maps source environment ids (from get_connection or the scan) to Railflag environment keys, e.g. {"production": "staging"} to try production data in staging first. Nothing is written.
- get_planSays read-only
- A plan's summary, issues and items. full=true includes each item's targeting.
- explain_itemSays read-only
- The source vendor's definition of one flag next to what it becomes in Railflag, and its issues.
- update_planSays it can change data
- Records decisions on issues. Each issue lists its allowed actions: skip_flag, drop_rule, keep, rename (value = new key), overwrite. Info issues need no decision. Ask the user when the choice is not obviously safe.
- compare_decisionsSays read-only
- Asks the source vendor what sample users get (AB Tasty: Decision API, needs a Decision API key on the connection; Unleash: its server-side playground) without recording anything, and compares with the plan. Runs in the background: poll get_run.
- apply_planSays it can change data
- Writes the plan into one Railflag environment. Running it again changes nothing. Environments that need approval return an approvalUrl for a person. Never writes to the source vendor.
- rollback_runSays it can change data
- Undoes one apply run: restores previous targeting and archives flags it created.
- disconnect_sourceSays it can change data
- Deletes the stored credentials for a source connection.
- get_code_guideSays read-only
- How to rewrite the source vendor's SDK calls to OpenFeature with Railflag: setup, regex patterns, before/after examples, notes. Apply it in the user's repo yourself and show them the diff.
What it does
- Flag creation and toggling
- Agents can list, read, create and switch feature flags through MCP tools.
- Targeting and percentage rollouts
- Targeting rules can be changed and rollouts set to a share of users per environment.
- Human approval for production
- Changes in approval-protected environments wait for a person to approve them.
- Audit log of agent changes
- Each change records the agent and the person it acts on behalf of.
- Read-only access tokens
- Tokens can be scoped so an agent can read flags and history but not make changes.
- Migration from other flag tools
- Flags can be imported from Unleash or AB Tasty, with the source only read.
Good for
- Create a flag for a new feature and enable it in staging from an AI coding assistant
- Roll a change out to a percentage of users and get suggestions on what to monitor
- Review who changed a flag and why using change history
- Move flags from Unleash or AB Tasty into Railflag without writing to the old system
Pricing
Freemium
Free Starter plan includes the MCP server; paid plans not priced in the content
Prices change. Check railflag.com before you buy.
Railflag FAQ
Can an AI agent change Production flags on its own?
No. In environments that require approval, such as Production, a change from an agent becomes a change request and applies only after a person approves it.
Does the Railflag MCP server cost extra?
The setup guide says the MCP server is included on every plan, including the free Starter plan.
Which AI tools work with Railflag?
Any MCP client that supports remote servers over Streamable HTTP with a custom Authorization header, including Claude Code, Cursor, VS Code with GitHub Copilot and Windsurf.
Can I give the agent read-only access?
Yes. A read-only access token lets the agent list flags and read targeting and history, but changes are refused.
How do I add Railflag to Claude Code?
Run this command in your terminal: claude mcp add --transport http railflag https://mcp.railflag.com/mcp
What are the best alternatives to Railflag?
The closest alternatives to Railflag are Featureflip, Superflag, Flagpost, DevCycle and Launchdarkly.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 22 November 2026.
- Install steps: from the official MCP Registry entry.