
Warp Ozbridge
io.github.sena-labs由 GitHub 帳號 sena-labs 發布v2.0.0更新於 Oct 29, 2026
OzBridge: run Warp Oz agents from any MCP client — Claude Code, Cursor, Codex, VS Code.
概覽
此 MCP 伺服器透過呼叫本機 oz 命令列,讓任何 MCP 用戶端啟動並檢視 Warp Oz 代理程式執行。
- 可以做什麼
- 以提示詞在本機執行 Oz 代理程式並取回完整執行結果
- 啟動雲端 Oz 執行,並依 id 列出、篩選或查詢執行狀態
- 列出帳號可用的 AI 模型 id 與目前預設模型
- 將預設 Oz 模型寫入工作區的橋接設定檔
- 以 stdio 或 Streamable HTTP 提供同一組六個工具,並附健康檢查路由
- 適用情境
- 適合已使用 Warp Oz、想從 Claude Code、Cursor、Codex、Windsurf 等 MCP 用戶端啟動、監控與設定 Oz 代理程式執行,而不想依賴 VS Code 擴充功能的人。
- 執行需求
- 需要 Node.js 22.12 以上;Oz CLI 已安裝且在 PATH 中,或以 OZ_PATH 指定;需先在終端機執行一次 oz login 登入 Warp。透過 npx 在本機執行,可由宿主以 stdio 啟動,或預設監聽 127.0.0.1:3847。選用設定包括 OZ_MCP_PORT、OZ_MCP_BIND、OZ_MCP_TOKEN、OZ_DEFAULT_MODEL、OZ_DEFAULT_PROFILE、OZ_DEFAULT_ENV、OZ_TIMEOUT_MS 與 OZ_IDLE_TIMEOUT_MS。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Warp Ozbridge,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@sena-labs/oz-mcp-server
Standalone Model Context Protocol server for Warp™ Oz™ agents — no VS Code required. Run it from a terminal and drive Oz from Claude Code, Cursor, Codex, or any MCP client.
OzBridge is an independent project and is not affiliated with, endorsed by, or sponsored by Warp. "Warp" and "Oz" are trademarks of Warp, Inc., used here nominatively — solely to describe interoperability. See Trademarks & disclaimer below.
This package is the VS Code‑free sibling of the
OzBridge extension. It exposes the same
MCP tool surface (six tools: oz_agent_run, oz_run_list, …) over stdio or
Streamable HTTP, so any MCP client can launch and inspect Oz runs.
Requirements
- Node.js ≥ 22.12
- The Oz CLI installed and on your
PATH(or pointed at viaOZ_PATH). Download Warp from https://www.warp.dev/download — theozcommand ships with it (on Linux typically~/.warp/bin/oz). Verify withoz --version. - Signed in to Warp: run
oz loginonce in a terminal.
The server only ever shells out to the documented oz CLI; it does not embed,
modify, or reverse‑engineer any Warp software.
Quick start (stdio — recommended)
Let your MCP client spawn the server over stdio — no install step, no port, no token, and no terminal to keep open.
Claude Code:
Codex CLI — add to ~/.codex/config.toml:
Cursor / Windsurf / Claude Desktop — add to ~/.cursor/mcp.json (Cursor),
~/.codeium/windsurf/mcp_config.json (Windsurf) or
claude_desktop_config.json (Claude Desktop):
HTTP mode
To run a long-lived server that clients reach by URL instead:
It binds to 127.0.0.1:3847. Leave it running, then point your MCP client at
the Streamable HTTP endpoint http://127.0.0.1:3847/mcp — see
MCP client setup (HTTP). The legacy HTTP+SSE endpoint
/sse is still served but deprecated.
Pin a port and a bearer token instead of the defaults:
Install it globally if you'd rather not re‑download on each run:
Configuration
Settings resolve in this order (highest precedence first):
- CLI flags
- Environment variables
./.warp/warp-bridge.yaml(current working directory), then~/.warp/warp-bridge.yaml- Compiled‑in defaults
CLI flags
Environment variables
On Windows PowerShell, set variables with
$env:first:
Transports
The server speaks MCP over two transports:
- stdio (
--stdio) — the host spawns the server as a child process and exchanges JSON-RPC over stdin/stdout. Recommended for Claude Code, Codex, Cursor, Windsurf, Claude Desktop,mcp-proxy, and registry sandboxes (e.g. Glama). No port, no token. See Quick start. - Streamable HTTP (default when
--stdiois not passed) — the server listens on a port and clients connect by URL to/mcp. The older HTTP + SSE transport (/sse+/messages) is still served for legacy clients but is deprecated.
MCP client setup (HTTP)
For URL-based clients, start the server in HTTP mode (above), then add the
endpoint to your client. These snippets mirror
docs/MCP.md.
Claude Code
Cursor / Windsurf
Add to ~/.cursor/mcp.json (or ~/.codeium/windsurf/mcp_config.json):
Codex CLI
Add to ~/.codex/config.toml:
If you set a token
With --token / OZ_MCP_TOKEN, every request needs an
Authorization: Bearer <token> header:
- Claude Code: append
--header "Authorization: Bearer <token>"toclaude mcp add. - Cursor / Windsurf: add
"headers": { "Authorization": "Bearer <token>" }next to"url". - Codex: add
http_headers = { "Authorization" = "Bearer <token>" }under[mcp_servers.oz].
Tools exposed
The full JSON inputSchema for each tool is emitted verbatim by tools/list.
See docs/MCP.md
for the protocol details, raw‑curl cheatsheet, and endpoint reference.
Endpoints
Quick health check:
Security
- Loopback by default. The server binds to
127.0.0.1; no traffic leaves the machine unless you opt in. - Non‑loopback requires a token. Binding to anything other than
127.0.0.1/::1without--token/OZ_MCP_TOKENis refused — the MCP tool surface can spawn the Oz CLI, so an unauthenticated public bind is never allowed. - Bearer auth covers every route (including
/health) when a token is set; comparison is constant‑time. - No persistence. Prompt content and run output are forwarded to the Oz CLI, never stored by the server.
There is no TLS termination — put the server behind an authenticated reverse proxy if you need HTTPS.
Trademarks & disclaimer
OzBridge is an independent project developed by Ivan Sena under the Sena Labs name. It is not affiliated with, endorsed by, sponsored by, or officially associated with Warp, Inc., Microsoft, GitHub, or the Visual Studio Code project.
Warp™ and Oz™ are trademarks of Warp, Inc. These names are used in this project nominatively — solely to describe that OzBridge interoperates with Warp Oz — and not to imply any sponsorship, endorsement, or affiliation.
OzBridge uses only Warp's documented, public interfaces — the oz
command‑line tool and the Model Context Protocol transport. It does not
modify, reverse‑engineer, embed, or create a derivative work of Warp's software,
and it is a complementary integration, not a competing product or service.
This software is provided "as is", without warranty of any kind. Use it at your
own risk. See
DISCLAIMER.md
for the full text.
License
MIT © Sena Labs
來源:packages/oz-mcp-server/README.md,提交 e1707c3
工具
0版本歷史
2- v2.0.0最新Oct 29, 2026
- v1.4.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
