释放功能标志 MCP 服务器
此存储库包含一个模型上下文协议 (MCP) 服务器,用于与 Unleash 功能标志管理系统交互。它允许 AI 代理通过 Unleash API 管理功能标志。
什么是 MCP?
模型上下文协议 (MCP) 是一种规范,用于使 AI 模型能够与外部工具和数据源交互。该服务器为 Unleash 实现了 MCP 协议,允许 AI 助手以编程方式管理功能开关。
安装
您可以从 npm 安装该软件包:
或者直接使用 npx 运行:
配置
服务器需要以下环境变量:
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 一起使用,请在游标设置中使用以下命令
示例
与 Cursor/Claude 的对话示例:
发展
要检查 MCP 服务器的运行情况,您可以运行:
这使用 MCP 检查器来分析请求/响应模式。
执照
国际学习中心
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器允许 AI 助手通过自然语言以编程方式管理 Unleash 功能标志,从而实现跨项目创建、更新和检索功能标志等操作。
Related MCP Servers
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -179PythonMIT License
- -securityAlicense-qualityAn MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.Last updated -10PythonMIT License
- -securityAlicense-qualityAn MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.Last updated -2PythonMIT License
- AsecurityFlicenseAqualityAn MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.Last updated -1140TypeScript