Skip to main content
Glama
Unleash Feature Flag MCP Server

Unleash Feature Flag MCP Server

by ylin6

機能フラグMCPサーバーの解放

このリポジトリには、Unleash 機能フラグ管理システムと連携するための Model Context Protocol (MCP) サーバーが含まれています。これにより、AI エージェントは Unleash API を介して機能フラグを管理できるようになります。

MCPとは何ですか?

モデルコンテキストプロトコル(MCP)は、AIモデルが外部ツールやデータソースと連携できるようにするための仕様です。このサーバーはUnleash向けにMCPプロトコルを実装しており、AIアシスタントが機能フラグをプログラムで管理できるようにします。

Related MCP server: @shipeasy/mcp

インストール

npm からパッケージをインストールできます:

npm install -g @ylin6/unleash-ff-mcp-server

または、npx を使用して直接実行します。

npx @ylin6/unleash-ff-mcp-server

構成

サーバーには次の環境変数が必要です。

  • UNLEASH_API_URL : Unleash APIインスタンスのURL

  • UNLEASH_AUTH_TOKEN : Unleashインスタンスの認証トークン

利用可能なツール

MCP サーバーは、機能フラグを管理するための次のツールを提供します。

プロジェクトを取得

Unleash インスタンス内のすべてのプロジェクトのリストを取得します。

機能を入手

特定のプロジェクト内のすべての機能フラグを取得します。

パラメータ:

  • projectId : プロジェクトのID

機能フラグを作成する

プロジェクト内に新しい機能フラグを作成します。

パラメータ:

  • projectId : プロジェクトのID

  • name : 機能フラグの名前

  • description : 機能フラグの説明

  • type : 機能フラグのタイプ(例:「リリース」、「実験」、「運用」、「キルスイッチ」)

機能フラグの更新

既存の機能フラグを更新します。

パラメータ:

  • projectId : プロジェクトのID

  • featureId : 機能フラグのID

  • description : 機能フラグの新しい説明

  • type : 機能フラグの新しいタイプ

機能フラグを取得

特定の機能フラグに関する詳細を取得します。

パラメータ:

  • projectId : プロジェクトのID

  • featureId : 機能フラグのID

カーソルを使用する

このMCPサーバーをカーソルで使用するには、カーソル設定で次のコマンドを使用します。

env UNLEASH_API_URL=XXXX UNLEASH_AUTH_TOKEN=XXX npx -y @ylin6/unleash-ff-mcp-server

例

カーソル/クロードとの会話例:

You: Show me all the feature flags in the 'dashboard' project

Claude: I'll fetch all the feature flags in the 'dashboard' project for you.
[Claude uses the getFeatures tool with projectId='dashboard']

Claude: Here are all the feature flags in the 'website' project:
- new-homepage (type: release)
- dark-mode (type: experiment)
- beta-footer (type: operational)
...

発達

MCP サーバーの動作を検査するには、次のコマンドを実行します。

npm run inspect

これは、MCP インスペクターを使用して要求/応答パターンを分析します。

ライセンス

ISC

Available Tools

5 tools
createFeatureFlagC

Create a new feature flag

Inputs: featureData (required), projectId (required).

getFeatureFlagC

Retrieve a specific feature flag from a project

Inputs: featureId (required), projectId (required).

getFeaturesC

Retrieve features for a specific project

Inputs: projectId (required).

getProjectsC

Retrieve a list of projects

Inputs: no named parameters.

updateFeatureFlagC

Update an existing feature flag

Inputs: featureData (required), featureId (required), projectId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no overlap: createFeatureFlag and updateFeatureFlag handle modifications, getFeatureFlag and getFeatures retrieve specific or grouped data, and getProjects lists projects. The descriptions reinforce these distinctions, making misselection unlikely.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with camelCase styling (e.g., createFeatureFlag, getFeatureFlag). There are no deviations in naming conventions, making the set predictable and easy to understand at a glance.

    Tool Count5/5

    With 5 tools, the server is well-scoped for managing feature flags in Unleash. Each tool earns its place by covering essential operations: project listing, feature retrieval, and flag lifecycle management, without being overly sparse or bloated.

    Completeness4/5

    The toolset provides solid CRUD coverage for feature flags (create, get, update) and project listing, but lacks a deleteFeatureFlag tool, which is a minor gap. Agents can likely work around this, but the absence prevents full lifecycle management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      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?”
      28
      24 npm
      6
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      A unified MCP server for experimentation and i18n, enabling AI assistants to manage feature flags, experiments, metrics, events, and string translations via natural language.
      677 npm
      MIT