Flipt MCP Server

Integrations

  • Supports configuration through environment variables stored in .env files.

  • Allows running the MCP server in a Docker container for containerized deployment.

  • Enables installation and distribution of the MCP server through the npm package registry.

Flipt MCP Server

A Model Context Protocol (MCP) server for Flipt, allowing AI assistants to interact with feature flags.

Features

  • 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

Usage

Once the server is running, it will:

  1. Set up a STDIO transport for MCP communication
  2. Register tools and prompts for interacting with Flipt

The server is designed to be used with AI assistants that support the Model Context Protocol.

Node

You can install the package globally and run it:

npm install -g @flipt-io/mcp-server-flipt && mcp-server-flipt

Or run it directly with npx:

npx -y @flipt-io/mcp-server-flipt

Docker

You can also run the server in a Docker container:

docker run -d --name mcp-server-flipt ghcr.io/flipt-io/mcp-server-flipt:latest

Configuration

The server can be configured using environment variables:

  • FLIPT_API_URL: The URL of the Flipt API (default: http://localhost:8080)
  • FLIPT_API_KEY: The API key to use for the Flipt API (optional)

You can set these in a .env file in the directory where you run the server.

Development

# Install dependencies npm install # Run in development mode npm run dev # Build the project npm run build # Start the server npm start # Format code npm run fmt # Lint code npm run lint

License

Apache 2.0

-
security - not tested
A
license - permissive license
-
quality - not tested

Flipt’s MCP server allows AI assistants and LLMs to directly interact with your feature flags, segments, and evaluations through a standardized interface.

For example, you could ask your AI assistant: “What’s the current state of the ‘dark-mode’ flag?”

  1. Features
    1. Usage
      1. Node
      2. Docker
    2. Configuration
      1. Development
        1. License
          ID: zib8nasw82