
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 分
請在儲存庫或註冊中心條目中宣告授權條款。