
Unleash Mcp
io.getunleash由 getunleash.io 发布v0.6.4更新于 Nov 7, 2026
MCP server for Unleash: an AI-agent-friendly interface to Unleash
概览
让 AI 助手搜索、查看、评估并发布 Unleash 功能开关、kill switch 与实验的 MCP 服务器。
- 可以做什么
- 按名称搜索项目、开关、分段、上下文字段、标签、模板与环境
- 读取项目、开关、上下文字段、分段以及开关在某个环境中的曝光指标
- 评估某个开关在指定环境下对某上下文是开启、关闭还是未知
- 向指定受众发布开关、按值或模板分流,并开关 kill switch
- 运行 A/B 实验、定义开关、设置依赖关系、归档与恢复开关
- 修改上下文字段、分段、标签、模板与项目,并读取审计记录与 Unleash 文档
- 适用场景
- 适合需要管理 Unleash 功能开关、希望助手回答开关状态与投放规则问题,或在不打开 Unleash 界面的情况下执行发布、kill switch 与实验的场景。
- 运行要求
- 以 stdio 本地进程从源码运行:需要 Node 24 或更高版本与 pnpm,并从代码仓库克隆(README 说明其处于 alpha 阶段且未发布到 npm)。需要设置 UNLEASH_BASE_URL 和 UNLEASH_PAT 中的 Unleash 个人访问令牌。可选:UNLEASH_MCP_SEND_FEEDBACK、UNLEASH_FEEDBACK_URL、UNLEASH_MCP_CONFIG_DIR。
安装
在 SourceWeft 中
- 打开 控制台中的 Unleash Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Unleash MCP server
An MCP server that lets AI agents work with Unleash the way you'd work in the Unleash UI: find flags, roll them out, check who gets them, and see what changed. It's in alpha and isn't published to npm, so you run it from source.
Tools
Install locally
You need Node 24 or later and pnpm.
-
Clone the repository and switch to the
v2branch:This gets you the v2 source.
-
Install the dependencies:
Node runs the TypeScript source directly, so there's no build step.
-
In Unleash, create a personal access token under Profile > Personal API tokens. The server acts with that user's permissions.
-
Register the server with your MCP client. For Claude Code:
This adds a stdio server named
unleashto Claude Code. For clients configured with JSON, such as Claude Desktop, Cursor or VS Code, add this to their MCP servers: -
Ask your agent "List my Unleash projects". If it answers with your projects, the server is running.
Configure the local server
send_feedback sends anonymous reports to Unleash when the server fell short: a tool error, a request no tool supports, or a wrong result. A report names the tool, the error and the MCP client the agent runs in. Say yes to help us fix what doesn't work for you.
Nothing is sent until you agree. The first report asks you through your MCP client, and your answer is kept in feedback_consent.json, so you're asked once. The file sits in an unleash-mcp directory under $XDG_CONFIG_HOME when it's set, otherwise under ~/Library/Application Support on macOS, %APPDATA% on Windows and ~/.config on Linux. Delete it to be asked again.
If you dismiss the question, or your client can't show it, feedback stays off until the next session. OpenCode, Gemini and Antigravity never show it, so there feedback stays off unless UNLEASH_MCP_SEND_FEEDBACK is true.
To keep secrets out of your client config, copy .env.example to .env, fill it in, and start the server with node --env-file=.env /absolute/path/to/unleash-mcp/src/index.ts.
Connect to the remote server
Unleash Enterprise hosts this server, over Streamable HTTP, so nothing runs on your machine. An admin turns it on under Admin > Remote MCP Server; send_feedback reports are sent unless the admin turns them off there.
Register the server with your MCP client. For Claude Code:
For Codex, add the server and then log in:
The login opens your browser to log in to Unleash; Claude Code does the same on first use. Unleash then creates a personal access token for the client, valid for 24 hours, and the server acts with your permissions.
Where a browser login isn't possible, such as in CI, send a personal access token of your own instead and no login happens:
Codex takes the token from an environment variable named in its config.toml, as bearer_token_env_var under [mcp_servers.unleash].
Development
- Development setup: running tests and the dev server in Claude Code.
- Decisions: why the server works the way it does.
来源:README.md,提交 d28ab39
工具
0版本历史
12- v0.6.4最新Nov 7, 2026
- v0.6.3Nov 5, 2026
- v0.6.2Nov 5, 2026
- v0.5.0Oct 29, 2026
- v0.5.0-beta.10Oct 22, 2026
- v0.5.0-beta.9Oct 16, 2026
- v0.5.0-beta.8Oct 15, 2026
- v0.5.0-beta.3Oct 7, 2026
- v0.5.0-beta.2Oct 1, 2026
- v0.5.0-beta.1Oct 1, 2026
- v0.5.0-beta.0Sep 28, 2026
- v0.4.1Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。