How to Use the Flagsmith MCP in Claude Code
Deploy feature flags via Claude Code. Control your environments from the terminal with direct command-line flag management.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Flagsmith MCP to Claude Code
Create your Vinkius account to connect Flagsmith to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Terminal-based Flagsmith control
Claude Code uses `update_flag_v2` to batch update flags directly from your shell. It fits into your existing CI/CD pipelines without requiring a GUI. You trigger the change as part of a deployment script. It returns the status immediately, allowing you to gate your production releases programmatically.
Fetch environment data in Claude Code
The `get_environment_document` tool provides the full config in your terminal output. You pipe this data into other tools or log files for auditing. It helps you verify environment consistency across different stages. You get the raw data needed to confirm that your production flags are correctly set.
Manage identities with Claude Code
Claude Code calls `identify_user` to set traits during automated runs. This ensures your integration tests use the right user context every time. You can chain this with `get_identity_flags` to verify responses. It makes headless testing of personalized features reliable and fast.
Set up Flagsmith MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeflagsmith-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Flagsmith transactions." It will automatically discover and invoke the available Flagsmith tools.
claude mcp add --transport http flagsmith-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Flagsmith MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Flagsmith MCP today
We host it, we monitor it, we maintain it. You just paste one token.