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 服务器

Flipt模型上下文协议 (MCP)服务器,允许 AI 助手与功能标志进行交互。

特征

  • 列出、创建、更新和删除命名空间、标志、段、规则等
  • 评估特定实体的标志
  • 切换标志的开启/关闭
  • 管理约束、变体、分布和推出

用法

一旦服务器运行,它将:

  1. 为 MCP 通信设置 STDIO 传输
  2. 注册与 Flipt 交互的工具和提示

该服务器设计用于支持模型上下文协议的人工智能助手。

节点

您可以全局安装该包并运行它:

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

或者直接用 npx 运行:

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

Docker

您还可以在 Docker 容器中运行服务器:

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

配置

可以使用环境变量来配置服务器:

  • FLIPT_API_URL :Flipt API 的 URL(默认值: http://localhost:8080
  • FLIPT_API_KEY :用于 Flipt API 的 API 密钥(可选)

您可以在运行服务器的目录中的.env文件中设置这些内容。

发展

# 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

执照

Apache 2.0

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

Flipt 的 MCP 服务器允许 AI 助手和 LLM 通过标准化界面直接与您的功能标志、段和评估进行交互。

例如,您可以询问您的 AI 助手:“‘暗模式’标志的当前状态是什么?”

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