
Railflag MCP server
Evaluates feature flags locally inside your own process from a downloaded config, with reviewed approvals for production changes.
read 2026-11-19
How to connect
Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:
{
"mcpServers": {
"railflag": {
"type": "http",
"url": "https://mcp.railflag.com/mcp"
}
}
}Add it
Claude Code, in a terminal
claude mcp add --transport http railflag https://mcp.railflag.com/mcpclaude.ai, ChatGPT and other clients: add https://mcp.railflag.com/mcp as a custom connector in the settings.
list_flagsseen, not called yetAll flags with their state in each environment.
get_flagdescribed by the serverOne flag: variations and full targeting in every environment, with versions for safe updates.
list_environmentsseen, not called yetEnvironments, whether they require approval, and their published config versions. Keys are not returned.
create_flagchanges datadescribed by the serverCreates a flag, off in every environment. Boolean flags have variations [false, true].
toggle_flagchanges datadescribed by the serverTurns a flag on or off in one environment. In environments that need approval this returns an approvalUrl for a person.
update_targetingchanges datadescribed by the serverReplaces 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_rolloutchanges datadescribed by the serverSets 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_historydescribed by the serverAudit log for the project or one flag: who changed what, when and why.
get_change_requestdescribed by the serverStatus of a change waiting for approval: pending, applied, rejected or failed.
suggest_watch_planchanges datadescribed by the serverDrafts 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…
get_watchdescribed by the serverA watch: its status (draft, active, passed, paused, stopped), each signal's state, the timeline and the verdict.
list_watchesseen, not called yetWatches in the project, newest first, optionally for one flag and by status (comma separated: draft, active, passed, paused, stopped, expired).
stop_watchchanges datadescribed by the serverStops watching. Doesn't change the flag.
monitoring_coveragedescribed by the serverThe 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_monitoringchanges datadescribed by the serverStarts 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_sourcesseen, not called yetVendors Railflag can import flags from, what it reads from each, and which are coming later.
connect_sourcechanges datadescribed by the serverStarts 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_connectiondescribed by the serverWhether the user finished connecting, which source environments are visible, and whether decisions can be compared.
scan_sourcechanges datadescribed by the serverReads all flags and their targeting from the connected vendor (read only). Runs in the background: poll get_run with the returned runId.
get_rundescribed by the serverStatus and result of a scan, compare or apply run.
plan_migrationchanges datadescribed by the serverBuilds 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_plandescribed by the serverA plan's summary, issues and items. full=true includes each item's targeting.
explain_itemdescribed by the serverThe source vendor's definition of one flag next to what it becomes in Railflag, and its issues.
update_planchanges datadescribed by the serverRecords 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_decisionsdescribed by the serverAsks 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…
apply_planchanges datadescribed by the serverWrites 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_runchanges datadescribed by the serverUndoes one apply run: restores previous targeting and archives flags it created.
disconnect_sourcechanges datadescribed by the serverDeletes the stored credentials for a source connection.
get_code_guidedescribed by the serverHow 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.
How we checked it
Should an agent connect it
- Whether its tools do the product's job has not been judged yet.
Once connected
- update_plan change data without a sign-in: anyone with the address can call them.
- Parameters are untyped or undescribed in 25 of 29 tools: check arguments before calling.
Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.
Measured daily
- INITE MCP score65 of 100answers 90 · definitions 86 · context 90 · connects 100 · lowered until one of our scenario runs passes · lowered by the warning signs below
- Answered90% of days9 of 10 daily checks
- Median first answer234 ms
- Space in an agent's context≈ 4,323 tokensthe definitions of all its tools (29), which an agent carries on every turn
- Tool definitionsB · 86 of 100
- Typed results0 of 29 toolsdeclared outputSchema: results come typed, read once
- Parameters without a description: in 25 of 29
Worth a look
- Tools that change data, on a server that answers without a sign-in: update_plan
A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →
Grade A, 94 of 100, checked 2026-11-29 · 19 of 19 checks judged · 3 failed
- Stateanswerschecked 2026-11-19
- Tools29
- Server calls itselfrailflag
- Server version0.1.0
- Protocol version2025-06-18
On 2026-11-19 the server answered initialize and tools/list without a sign-in. First answer in 245 ms.
- Registry namecom.railflag/railflagverified in the MCP registry
The registry name sits under railflag.com. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.
Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.
Before we count this visit
Analytics and ad measurement tell us which pages and which of our ads do their job: Google Analytics and Google Ads, the Meta pixel, Yandex Metrica, and one first-party id of our own. Nothing is stored until you answer, and declining changes nothing about the site.