Skip to content

v1.4.5 - OpenCode V2 Config Fix

Choose a tag to compare

@sarthexe sarthexe released this 12 Nov 21:07
· 11 commits to main since this release

OpenCode V2 configuration fix

install now writes OpenCode servers under the V2 mcp.servers shape instead of the deprecated top-level mcp.<name> shape. This makes the server appear in /mcps and opencode mcp list on OpenCode V2.

Changes

  • OpenCode config now uses mcp.servers.code-airlock.
  • The config merger accepts dotted paths (mcp.servers) and preserves sibling keys such as mcp.timeout and existing servers like rea.
  • Global MCP commands use the active interpreter's absolute path, avoiding failures when the harness process cannot resolve python or code-airlock-mcp from PATH.
  • README and llms.txt OpenCode snippets updated to the V2 shape.
  • Tests assert V2 shape, sibling-key preservation, and unchanged Claude/Cursor output.

Verify

opencode mcp list

Expected: ✓ code-airlock connected.

Install

pip install -U code-airlock && python -m code_airlock install