OCX
Your OpenCode config, anywhere.
Portable profiles and editable components for OpenCode.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add ocx -- npx -y ocx@2.0.15在終端機中執行。
{ "mcpServers": { "ocx": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
[!NOTE] OpenCode V2 preview. This branch is OCX 3, for OpenCode 2.0.3 or newer within V2. Using OpenCode V1? Keep
[email protected]and follow the legacy guide.
From a checkout of this branch, with Bun and OpenCode V2 installed:
bun install --frozen-lockfile
bun run --cwd packages/cli build
alias ocx="bun \"$PWD/packages/cli/dist/index.js\""
The alias uses this checkout's CLI for the current shell. See preview setup for OpenCode installation and binary selection.
Create a profile, make it your default, and launch OpenCode:
ocx profile add work
ocx profile use work
ocx oc
Need a different setup for the next session?
ocx profile add personal --clone work
ocx oc -p personal
Each profile is an ordinary folder under ~/.config/ocx/profiles/ (or $XDG_CONFIG_HOME/ocx/profiles/). Edit its OpenCode config, instructions, agents, and skills directly. OpenCode loads them when you launch.
Registry components are copied into a profile or your project's .opencode/ directory. They stay editable, with an ownership record for updates and removal.
For a registry configured as team, installing its review component looks like this:
ocx init --project
ocx add team/review --project
ocx update --all --project --dry-run
ocx verify --project
Use --profile work to manage files in a profile instead.
Preview an import into a new profile:
ocx migrate \
--from ~/.config/opencode/profiles/work \
--profile work
The importer shows what will change before you apply it. Your originals stay untouched. The migration guide covers project filters, plugins, and other differences; plugin retirement notes cover native alternatives and the frozen V1 releases.
Requires Bun. Build and check the workspace:
bun install --frozen-lockfile
bun run build
bun run check
bun run --cwd packages/cli test
Run the built CLI with bun packages/cli/dist/index.js. For native OpenCode conformance and manual testing details, see the validation record.
MIT · An independent project, not affiliated with the OpenCode team.
OCX CLI - OpenCode extension manager with portable, isolated profiles. Your setup, anywhere.
{ "mcpServers": { "ocx": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Ocx 透過 stdio 在本機執行。
上次檢查時間:2026-11-15。 OCX CLI - OpenCode extension manager with portable, isolated profiles. Your setup, anywhere.