MCP Server
Feature flags, driven from your editor
The Flagdeck MCP server puts your flags inside Claude Code, Cursor, and any MCP client. Your agent creates flags, gates risky changes, and rolls them out safely, all in plain language.
flagdeck · mcp
›
Ship the new checkout behind a flag, off for everyone
tool
create_flag
production
key
new-checkout
status
off
›
Roll new-checkout out to 10% of users in production
tool
set_flag_targeting
new-checkout · production
rollout
10%
status
enabled
✓
Live for 10% of production traffic. Every change is in the audit log, so you can widen or roll it back anytime.
Works with
Claude Code
Claude Desktop
Cursor
VS Code
Windsurf
Zed
any MCP client
What your agent can do
Release safety, one sentence at a time
Thirty-four tools over the Model Context Protocol give agents the same controls your team uses to ship safely.
Create and gate flags
When your agent writes a risky change, it wraps it in a flag that is off by default. Nothing reaches users until you decide.
› Create a dark-mode flag for premium users
create_flag
update_flag
Guarded rollouts
Promote in percentages, target a segment, or flip it off, in plain language. Every change lands in the audit log.
› Roll out new-checkout to 10% in production
set_flag_targeting
toggle_flag
Schedule rollouts and windows
Line up a timed flip or a staged ramp that applies on its own, or set a window so a flag is only on between two dates. Review or cancel whatever is still pending.
› Ramp new-checkout to 100% over next week
schedule_flag_change
set_flag_schedule
list_scheduled_changes
Clean up stale flags
Ask your agent to find flags that have served their purpose and archive them, so dead toggles do not pile up in the code.
› Find flags with no evaluations in 30 days and archive them
list_flags
get_flag_metrics
archive_flag
Evaluate in context
While debugging, ask what a specific user actually sees, without leaving the editor or opening the dashboard.
› Evaluate dark-mode for [email protected]
evaluate_flag
evaluate_batch
Install
Add Flagdeck in under a minute
One-click install for Cursor and VS Code, or one command for Claude Code. You will need a Flagdeck API key.
Claude Code
claude mcp add --transport stdio flagdeck \ --env FLAGDECK_API_KEY=your-api-key \ -- npx -y @flagdeck/mcp-server

