MCP Server
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
Twenty-two tools over the Model Context Protocol give agents the same controls your team uses to ship safely.
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
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
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
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
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