Flipt MCP Server
Overview
Flipt MCP Server is a server designed to facilitate interaction between AI assistants and feature flags using the Model Context Protocol (MCP).
To use the Flipt MCP Server, you can install it globally via npm or run it using npx. It can also be deployed in a Docker container for easier management.
- List, create, update, and delete namespaces, flags, segments, rules, and more. - Evaluate flags for specific entities. - Toggle flags on/off. - Manage constraints, variants, distributions, and rollouts.
- Managing feature flags for AI applications.
- Enabling or disabling features dynamically based on user segments.
- Facilitating A/B testing through flag management.
Add to your AI client
Use these steps to connect Flipt MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-flipt-flipt-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-flipt-flipt-io"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-flipt-flipt-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-flipt-flipt-io"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-flipt-flipt-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-flipt-flipt-io"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-flipt-flipt-io": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-flipt-flipt-io"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-flipt-flipt-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-flipt-flipt-io"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-flipt-flipt-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-flipt-flipt-io"
]
}
}
}FAQ
What is the Model Context Protocol?
The Model Context Protocol (MCP) is a protocol that allows AI assistants to interact with feature flags effectively.
How can I run the server?
You can run the server using npm, npx, or Docker, depending on your preference.
Is there a configuration needed?
Yes, you can configure the server using environment variables for the Flipt API URL and API key.