Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 17:51
· 38 commits to main since this release

Zen MCP 0.5.0 lets the agent read and drive page controls, work inside frames, wait for state, and update itself from the browser.

Read and drive pages

  • zen_read_page accepts format: "interactive" and returns up to 200 visible controls with short refs: labels, roles, input types, current values, and state flags. The scan covers form controls, common ARIA controls, contenteditable regions, and open shadow roots.
  • zen_click clicks one control by ref or CSS selector, and zen_type types into one field, optionally replacing the current value. Both use fixed server scripts and Marionette's native input commands, so the agent still cannot supply JavaScript. Read-only mode blocks both tools, the domain allowlist checks the tab URL and link target, password values are never read back, file inputs are refused, and refs expire after another interactive read or a navigation.

Frames

  • zen_read_page takes framePath, an array of child frame indexes such as [0] or [0,1], and every read lists reachable http(s) frames with their paths and URLs.
  • Top-level interactive reads merge controls from child frames with prefixed refs such as f0-e3, and zen_click and zen_type resolve those refs in the right frame.
  • Off-list or non-http(s) frames are never listed, read, or driven.

Waits and action effects

  • zen_wait_for polls one tab or frame until a selector is present or absent, text appears, or the URL or title contains a string. A timeout returns matched: false instead of an error.
  • zen_click and zen_type results include effect, a fixed signature polled for up to 1.2 seconds that reports whether the URL, title, rendered text, element count, or non-password form values changed.

Updates

  • zen-mcp update checks npm and runs the matching global install command for npm, pnpm, yarn, or bun. --check only reports versions, and doctor includes the same status.
  • The server checks once at startup and offers a newer release in the browser banner. The first discovery prompts with Update and dismiss; dismissing leaves a small icon that reopens the prompt. The prompt is remembered per release, so later sessions only show the icon. Update runs the global install from the authenticated banner and reports the result there. No MCP tool can install software.

Install

npm install -g @spaxe-dev/zen-mcp
zen-mcp setup

The package is published with provenance. The tarball and SHA256SUMS are attached below if you prefer npm install -g ./zen-mcp-0.5.0.tgz.

Windows is verified live on Zen 1.24.1b. macOS and Linux launches are not yet verified.