Unleash Feature Flag MCP Server
释放功能标志 MCP 服务器
此存储库包含一个模型上下文协议 (MCP) 服务器,用于与 Unleash 功能标志管理系统交互。它允许 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 实例的 URLUNLEASH_AUTH_TOKEN:您的 Unleash 实例的身份验证令牌
可用工具
MCP 服务器提供了以下用于管理功能标志的工具:
获取项目
检索 Unleash 实例中所有项目的列表。
获取功能
检索特定项目内的所有功能标志。
参数:
projectId:项目的 ID
创建功能标志
在项目中创建新的功能标志。
参数:
projectId:项目的 IDname:功能标志的名称description:功能标志的描述type:功能标志的类型(例如,“release”、“experiment”、“operational”、“kill-switch”)
更新功能标志
更新现有的功能标志。
参数:
projectId:项目的 IDfeatureId:功能标志的 IDdescription:功能标志的新描述type:功能标志的新类型
获取功能标志
检索有关特定功能标志的详细信息。
参数:
projectId:项目的 IDfeatureId:功能标志的 ID
与游标一起使用
要将此 MCP 服务器与 Cursor 一起使用,请在游标设置中使用以下命令
env UNLEASH_API_URL=XXXX UNLEASH_AUTH_TOKEN=XXX npx -y @ylin6/unleash-ff-mcp-server示例
与 Cursor/Claude 的对话示例:
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 检查器来分析请求/响应模式。
执照
国际学习中心
Available Tools
5 toolscreateFeatureFlagC
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
Scored across 5 tools
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.
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.
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.
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
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Feature flags, A/B experiments, kill switches, dynamic config & i18n — Shipeasy MCP server.
Related MCP Servers
AlicenseCqualityCmaintenanceFlipt’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?”2824 npm6Apache 2.0
@shipeasy/mcpofficial
AlicenseNot gradedqualityAmaintenanceA unified MCP server for experimentation and i18n, enabling AI assistants to manage feature flags, experiments, metrics, events, and string translations via natural language.677 npmMIT- AlicenseAqualityDmaintenanceAn MCP server that exposes 41 Azure DevOps tools to AI assistants, enabling management of pipelines, repositories, pull requests, releases, work items, test management, and wikis through natural language.4139 PyPIMIT
- AlicenseBqualityDmaintenanceMCP server for Loggy that enables AI coding assistants to manage heartbeats, status pages, uptime monitors, feature flags, and logs via natural language.15MIT