Repository navigation
Description
What version of Codex CLI is running?
codex-cli 0.154.0, installed through Homebrew. This was the latest stable release when checked on September 10, 2026.
What subscription do you have?
ChatGPT Pro 20x.
Which model were you using?
gpt-6-astra. Both servers fail during startup, before I submit a prompt.
What platform is your computer?
Darwin 25.6.0 arm64 arm, macOS 26.6.0, Apple Silicon.
What terminal emulator and version are you using (if applicable)?
Ghostty 1.3.1. Also reproduced in a diagnostic PTY.
Codex doctor report
Output from codex doctor --json, with my username, project path/name, and unrelated thread IDs redacted. Doctor reports that MCP configuration is locally consistent, but both plugins fail to connect.
Full doctor report, with personal identifiers redacted
{
"schemaVersion": 1,
"generatedAt": "1789025821s since unix epoch",
"overallStatus": "warning",
"codexVersion": "0.154.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "$HOME/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "$HOME/.codex/app-server-daemon",
"mode": "ephemeral",
"pid file": "$HOME/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "$HOME/.codex/app-server-daemon/settings.json (missing)",
"status": "not running",
"update-loop pid file": "$HOME/.codex/app-server-daemon/app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 0
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "$HOME/.codex/auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "$HOME/.codex",
"active thread overrides": "not inspected",
"config.toml": "$HOME/.codex/config.toml",
"config.toml parse": "ok",
"configuration load ms": "6",
"configuration scope": "invocation config, including cloud-managed policy",
"cwd": "$WORKSPACE",
"enabled feature flags": "shell_tool, view_image, sleep_tool, unified_exec, unified_exec_tty, unified_exec_zsh_fork, shell_snapshot, content_item_kinds, code_mode_host, terminal_resize_reflow, sqlite, memories, chronicle, hooks, enable_request_compression, unbounded_connection_retries, multi_agent, multi_agent_v2, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_chat, in_app_dictation, in_app_local_automation, in_app_updates, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, goals, context_management, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, personality, fast_mode, realtime_conversation, tui_app_server, prevent_idle_sleep, remote_compaction_v2, compaction_image_budget, workspace_dependencies",
"feature flag overrides": "memories=true, chronicle=true, multi_agent_v2=true, context_management=true, realtime_conversation=true, prevent_idle_sleep=true",
"feature flags enabled": "54",
"log dir": "$HOME/.codex/log",
"mcp servers": "3",
"model": "gpt-6-astra",
"model provider": "openai",
"sqlite home": "$HOME/.codex"
},
"remediation": null,
"durationMs": 0
},
"desktop.app.version": {
"id": "desktop.app.version",
"category": "desktop",
"status": "ok",
"summary": "the desktop application is installed",
"details": {
"log directory": "$HOME/Library/Logs/com.openai.codex",
"running": "true",
"version": "26.903.61454"
},
"remediation": null,
"durationMs": 0
},
"desktop.app_server.handshake": {
"id": "desktop.app_server.handshake",
"category": "desktop",
"status": "ok",
"summary": "the desktop app-server initialized successfully",
"details": {},
"remediation": null,
"durationMs": 0
},
"desktop.security.enforcement": {
"id": "desktop.security.enforcement",
"category": "desktop",
"status": "ok",
"summary": "the desktop application passed available macos security assessments",
"details": {
"gatekeeper": "accepted"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git executable found; execution not verified",
"details": {
".git entry": "directory",
"PATH git #1": "/opt/homebrew/bin/git",
"PATH git #2": "/usr/bin/git",
"PATH git #3": "/opt/homebrew/Library/Homebrew/shims/shared/git",
"PATH git entries": "3",
"git execution": "not inspected (PATH helpers are not executed)",
"repo detected": "true",
"repo root": "$WORKSPACE",
"selected git": "/opt/homebrew/bin/git"
},
"remediation": null,
"durationMs": 0
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "/opt/homebrew/bin/codex",
"current executable": "/opt/homebrew/bin/codex",
"install context": "brew (package /opt/homebrew/Caskroom/codex/0.154.0, bin /opt/homebrew/Caskroom/codex/0.154.0/bin, resources /opt/homebrew/Caskroom/codex/0.154.0/codex-resources, path /opt/homebrew/Caskroom/codex/0.154.0/codex-path)",
"managed by Vite+": "false",
"managed by bun": "false",
"managed by npm": "false",
"managed by pnpm": "false",
"managed package root": "not set"
},
"remediation": null,
"durationMs": 2
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "MCP configuration is locally consistent",
"details": {
"configured servers": "3",
"disabled servers": "1",
"stdio servers": "2",
"streamable_http servers": "1"
},
"remediation": null,
"durationMs": 204
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"managed proxy": "not configured",
"proxy env vars": "none",
"respect system proxy": "disabled",
"system proxy": "direct"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
"desktop assets CDN": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 200)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 239
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 2 IPv6, first IPv6",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 1084
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running brew on macos-aarch64",
"details": {
"commit": "unknown",
"current executable": "/opt/homebrew/bin/codex",
"install method": "brew (package /opt/homebrew/Caskroom/codex/0.154.0, bin /opt/homebrew/Caskroom/codex/0.154.0/bin, resources /opt/homebrew/Caskroom/codex/0.154.0/codex-resources, path /opt/homebrew/Caskroom/codex/0.154.0/codex-path)",
"platform": "macos-aarch64",
"version": "0.154.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search command found (bundled); execution not verified",
"details": {
"search command": "/opt/homebrew/Caskroom/codex/0.154.0/codex-path/rg",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "OnRequest",
"codex-linux-sandbox helper": "none",
"denied-read glob rules": "0",
"denied-read rules": "0",
"execve wrapper helper": "$HOME/.codex/tmp/arg0/codex-arg07q3RLz/codex-execve-wrapper",
"filesystem sandbox": "restricted",
"glob scan max depth": "unbounded",
"managed filesystem source": "none",
"network sandbox": "enabled"
},
"remediation": null,
"durationMs": 0
},
"security.endpoint": {
"id": "security.endpoint",
"category": "security",
"status": "ok",
"summary": "no supported endpoint protection detected",
"details": {
"endpoint products": "none detected"
},
"remediation": null,
"durationMs": 21
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "$HOME/.codex (dir)",
"active rollout files": "679 files, 1349358868 total bytes, 1987273 average bytes",
"archived rollout files": "4707 files, 3521955952 total bytes, 748237 average bytes",
"goals DB": "$HOME/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "$HOME/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "$HOME/.codex/log (dir)",
"memories DB": "$HOME/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"queue DB": "$HOME/.codex/queue_1.sqlite (file)",
"queue DB integrity": "ok",
"sqlite home": "$HOME/.codex (dir)",
"state DB": "$HOME/.codex/state_5.sqlite (file)",
"state DB integrity": "ok",
"thread history DB": "$HOME/.codex/thread_history_1.sqlite (file)",
"thread history DB integrity": "ok"
},
"remediation": null,
"durationMs": 5917
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "warning",
"summary": "rollout files and state DB thread inventory differ",
"details": {
"default model provider": "openai",
"rollout DB active files": "670",
"rollout DB active rows": "665",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "4707",
"rollout DB archived rows": "4707",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread id sample": [
"<redacted-thread-id>",
"<redacted-thread-id>",
"<redacted-thread-id>",
"<redacted-thread-id>"
],
"rollout DB duplicate rollout thread ids": "4",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "5",
"rollout DB missing active sample": [
"$HOME/.codex/sessions/2026/09/08/rollout-2026-09-08T12-45-59-<redacted-thread-id>.jsonl",
"$HOME/.codex/sessions/2026/09/08/rollout-2026-09-08T17-53-41-<redacted-thread-id>.jsonl",
"$HOME/.codex/sessions/2026/09/07/rollout-2026-09-07T13-24-13-<redacted-thread-id>.jsonl",
"$HOME/.codex/sessions/2026/09/04/rollout-2026-09-04T00-04-00-01a067ca-e94f-7d61-84cd-ffe0af142dd1_01a067cc-597a-7a11-ac09-1b2bf1738664.jsonl",
"$HOME/.codex/sessions/2026/09/04/rollout-2026-09-04T00-02-26-<redacted-thread-id>.jsonl"
],
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=4149, proxx=1206, opencodex=11, cliproxyapi=4, kimi=2",
"rollout DB rows": "5372",
"rollout DB scan cap reached": "false",
"rollout DB scan error sample": [
"$HOME/.codex/sessions/2025/09/06/rollout-2025-09-06T01-30-52-<redacted-thread-id>.jsonl (rollout at $HOME/.codex/sessions/2025/09/06/rollout-2025-09-06T01-30-52-<redacted-thread-id>.jsonl has no usable header record)",
"$HOME/.codex/sessions/2025/09/05/rollout-2025-09-05T12-12-34-<redacted-thread-id>.jsonl (rollout at $HOME/.codex/sessions/2025/09/05/rollout-2025-09-05T12-12-34-<redacted-thread-id>.jsonl has no usable header record)",
"$HOME/.codex/sessions/2025/09/04/rollout-2025-09-04T02-13-50-<redacted-thread-id>.jsonl (rollout at $HOME/.codex/sessions/2025/09/04/rollout-2025-09-04T02-13-50-<redacted-thread-id>.jsonl has no usable header record)",
"$HOME/.codex/sessions/2025/09/04/rollout-2025-09-04T02-16-18-<redacted-thread-id>.jsonl (rollout at $HOME/.codex/sessions/2025/09/04/rollout-2025-09-04T02-16-18-<redacted-thread-id>.jsonl has no usable header record)",
"$HOME/.codex/sessions/2025/09/04/rollout-2025-09-04T02-52-04-<redacted-thread-id>.jsonl (rollout at $HOME/.codex/sessions/2025/09/04/rollout-2025-09-04T02-52-04-<redacted-thread-id>.jsonl has no usable header record)"
],
"rollout DB scan errors": "9",
"rollout DB sources": "subagent:thread_spawn=1692, cli=1004, exec=961, vscode=850, subagent:review=711, subagent:other=153, unknown=1",
"rollout DB stale rows": "0"
},
"issues": [
{
"severity": "warning",
"cause": "rollout files are missing from the state DB",
"measured": "5 active, 0 archived",
"expected": "every rollout file has a matching threads row",
"remedy": null,
"fields": []
},
{
"severity": "warning",
"cause": "duplicate thread inventory entries found",
"measured": "4 duplicate rollout thread ids, 0 duplicate DB paths",
"expected": "one rollout path and thread id per thread",
"remedy": "Attach the doctor report to a bug report so support can inspect samples.",
"fields": []
},
{
"severity": "warning",
"cause": "rollout scan was incomplete or found bad files",
"measured": "9 scan errors, 0 malformed names, scan cap reached: false",
"expected": "rollout directories are fully scannable",
"remedy": "Check file permissions and unexpected files under CODEX_HOME sessions.",
"fields": []
}
],
"remediation": null,
"durationMs": 2171
},
"system.disk": {
"id": "system.disk",
"category": "disk",
"status": "ok",
"summary": "sufficient free disk space (396.7 GiB)",
"details": {
"CODEX_HOME available": "396.7 GiB",
"failure threshold": "1.0 GiB",
"warning threshold": "5.0 GiB",
"worktree available": "396.7 GiB"
},
"remediation": null,
"durationMs": 0
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language en-JP",
"details": {
"EDITOR": "set",
"GH_PAGER": "set",
"GIT_PAGER": "set",
"LANG": "en_JP.UTF-8",
"LC_ALL": "en_US.UTF-8",
"LC_CTYPE": "C.UTF-8",
"LESS": "set",
"PAGER": "set",
"VISUAL": "not set",
"os": "Mac OS 26.6.0 [64-bit]",
"os language": "en-JP",
"os type": "Mac OS",
"os version": "26.6.0"
},
"remediation": null,
"durationMs": 5
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"COLORTERM": "truecolor",
"NO_COLOR": "1",
"TERMINFO": "/Applications/Ghostty.app/Contents/Resources/terminfo (dir)",
"TERM_PROGRAM": "ghostty",
"color output": "disabled (NO_COLOR)",
"effective locale": "en_US.UTF-8",
"stderr is terminal": "false",
"stdin is terminal": "false",
"stdout is terminal": "false",
"terminal": "Ghostty",
"terminal size": "80x24",
"terminal version": "1.3.1"
},
"remediation": null,
"durationMs": 7
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "git repo root",
"terminal title project value": "<project>",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.154.0",
"check for update on startup": "true",
"last checked at": "2026-09-10T07:19:26.727076Z",
"latest version": "0.154.0",
"latest version status": "current version is not older",
"update action": "brew upgrade --cask codex",
"version cache": "$HOME/.codex/version.json"
},
"remediation": null,
"durationMs": 182
}
}
}What issue are you seeing?
Messages and Computer History fail to start with Codex CLI 0.154.0. Both work with the desktop app's bundled CLI 0.153.4 and the same installed helpers.
MCP client for `computer-history` failed to start: MCP startup failed: handshaking with MCP server failed: JSON-RPC error: -32603: Internal error: The data couldn’t be read because it isn’t in the correct format.
MCP client for `messages` failed to start: MCP startup failed: handshaking with MCP server failed: JSON-RPC error: -32603: Internal error: The data couldn’t be read because it isn’t in the correct format.
MCP startup incomplete (failed: computer-history, messages)
Installed versions:
- Desktop app:
26.903.61454, build8378. - Computer Use helper:
26.902.1000968, build1000968. messages@openai-bundledandcomputer-history@openai-bundled:1.0.1000968.
Both plugins use SkyComputerUseClient.
What steps can reproduce the bug?
- Install and enable Messages and Computer History through the desktop app, using the helper version above.
- Start Codex CLI 0.154.0.
- Both MCP servers fail to initialize before any prompt is submitted.
To reproduce the handshake failure directly, start either helper:
client="${CODEX_HOME:-$HOME/.codex}/computer-use/Codex Computer Use.app/Contents/SharedSupport/SkyComputerUseClient.app/Contents/MacOS/SkyComputerUseClient"
"$client" messages mcp
# Repeat separately with: "$client" computer-history mcpPaste the following JSON as one line and press Enter. This is the initialization request captured from CLI 0.154.0:
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{"experimental":{"codex/auth-change":{}},"elicitation":{"form":{},"url":{}}},"clientInfo":{"name":"codex-mcp-client","title":"Codex","version":"0.154.0"}}}Both helpers return:
{"error":{"code":-32603,"data":{"detail":"The data couldn’t be read because it isn’t in the correct format."},"message":"Internal error: The data couldn’t be read because it isn’t in the correct format."},"id":0,"jsonrpc":"2.0"}Start a fresh helper process for each variation below. Change only capabilities.experimental:
| Value | Messages | Computer History |
|---|---|---|
{"codex/auth-change":{}} |
Error -32603 | Error -32603 |
{"example/unknown":{}} |
Error -32603 | Error -32603 |
{} |
Initializes | Initializes |
| Field omitted | Initializes | Initializes |
These tests make no model requests and read no messages or history.
Removing elicitation while keeping codex/auth-change still fails. The CLI flag --disable auth_elicitation does not remove codex/auth-change and does not fix the failure.
With the bundled CLI 0.153.4, /mcp reports Computer History connected with 5 tools and Messages connected with 6 tools.
What is the expected behavior?
Both bundled plugins should connect with the latest stable CLI.
The helpers should accept experimental capabilities they do not support and ignore them. An entry such as example/unknown: {} should not prevent startup. The fix should handle future capability additions without exceptions for specific plugin names.
Additional information
PR #43428, merged September 7, adds codex/auth-change to stdio MCP initialization.
In the inspected source:
codex-rs/codex-mcp/src/connection_manager.rssupplies an auth-change receiver for stdio connections when an auth manager is present.start_server_taskincodex-rs/codex-mcp/src/rmcp_client.rsthen addscodex/auth-changetocapabilities.experimental. There is no per-server switch for this, and it is independent ofauth_elicitation.
The tests show that both codex/auth-change: {} and an unrelated example/unknown: {} trigger the error. This suggests the shared helper cannot decode these experimental capability entries. I have not inspected its parser, so the exact decoding defect still needs investigation.
A regression test should initialize both helpers with an unknown experimental capability containing {} and check that initialization succeeds. Auth-change notifications should still require server opt-in.
I searched the issue tracker for the error, both plugin names, codex/auth-change, and 0.154.0 MCP. I did not find a matching report.
Activity
johannrymill commentedon Sep 11, 2026
Independent reproduction: this also affects the bundled Computer Use server (
computer-use), not only Messages and Computer History.Environment:
0.154.0, installed through Homebrew.26.6.2(25G83), Apple Silicon.SkyComputerUseClientversion26.902.1000968.14e7d17f1f59e77ca541a15071e980628cd08977a4dda111c96e0564d337056bwhen initialization succeeds.The affected entry reports
computer-use: failedin/mcp. The separatecua_replentry reports connected; this report concerns the directcomputer-useserver.Reproduction and isolation
Run the native helper directly:
Send the same CLI 0.154.0
initializerequest documented in the issue. I independently captured that request using an isolated temporaryCODEX_HOMEcontaining a single diagnostic stdio server, then replayed it against the native helper.Results, with a fresh helper process for each test:
capabilities.experimental = {"codex/auth-change": {}}: returns-32603,Internal error: The data couldn’t be read because it isn’t in the correct format.capabilities.experimentalremoved, retainingelicitation, protocol version, and client information: initializes successfully and advertises tools support.No model request, screen access, or computer-control operation was needed to reproduce this. The direct replay reproduces the failure outside my normal harness configuration.
Please include the
SkyComputerUseClient mcpentry point in the compatibility fix and regression coverage for unknown object-valued experimental capabilities. These tests establish the initialization failure; they do not establish that stripping the field is a complete workaround for subsequent tool operations.tylerlaprade commentedon Sep 11, 2026
I have an independent reproduction with Codex CLI
0.154.0and the newer ChatGPT desktop26.903.71938. That build still bundlesSkyComputerUseClient 26.902.1000968. Removing only codex/auth-change makes Messages initialize and return all six tools, so updating the desktop app does not fix the incompatibility.Alshir4711 commentedon Sep 13, 2026
Additional validation from an M1 iMac (macOS 26.6.2 arm64).
Environment: bundled CLI 0.154.0-alpha.6.2 with Desktop 26.908.40834 (build 8881), using the bundled SkyComputerUseClient helper 1.0.1000968.
Isolation: I captured the actual stdio initialize request and replayed it against fresh helper processes. Changing only capabilities.experimental gives clean isolation: omitting it or using {} succeeds; {"codex/auth-change":{}} fails with -32603. The elicitation fields, protocol version, and clientInfo are unchanged.
The same failure occurs in a fresh bundled Codex app-server before any model request. A reversible stdio launcher adapter that removes only codex/auth-change allowed both computer-history and computer-use to initialize successfully; the app-server status changed from startup failure to ready.
This confirms an MCP capability compatibility regression in the 0.154.0-alpha.6.2 path. It restores MCP startup and availability, but it does not explain the separate multi-second model-response delay observed in other tests. No model request, screen access, or history operation was needed.
For a durable fix, capability advertisement should be per-server or opt-in, or the shared helper should ignore unknown object-valued experimental capabilities. A regression test should cover an unknown experimental capability such as {"example/unknown":{}}.
nicholasg-dev commentedon Sep 13, 2026
Same failure reproduced here, on the build @Alshir4711 reports — and one new data point about what happens after the handshake is fixed.
Environment (matches the reporter's): macOS 27.0 / Apple M5, ChatGPT desktop
26.908.40834(build8881), bundled CLI0.154.0-alpha.6.2, helperSkyComputerUseClient1.0.1000968(bundle idcom.openai.sky.CUAService.cli, Team2DC432GLL2), pluginsmessages@openai-bundledandcomputer-use@openai-bundledboth1.0.1000968. Terminal/CLI also affected: Homebrewcodex-cli 0.154.0.Confirmation, both plugins, helper direct, single variable:
initialize.params.capabilitiesmessagescomputer-use{}{"elicitation":{"form":{},"url":{}}}{"experimental":{"codex/auth-change":{}}}Protocol version (
2024-11-05,2025-06-18,2025-11-25) andclientInfo.titleare not involved.codex plugin listreportsinstalled, enabled;codex mcp get messagesreportsenabled: truewith the expectedcommand/args/cwd, so this stays purely a protocol rejection, as the report says.New: a launcher-level workaround gets registration back, but tool calls still fail
Stripping only
capabilities.experimentalin the plugin launcher (…/bin/computer-use-client-launcher, which is a shell script wrappingSkyComputerUseClient) makes the server initialize in real sessions:RUST_LOG=warn codex exec …→MCP server startup failed server_name="messages"goes from 2 per session to 0mcp__messages__find_chatsand reaches the server (server: "messages")But the call does not complete:
with System Settings → Privacy & Security → Automation already showing Codex Computer Use.app → Messages.app enabled, and Messages running. Reading chats also hangs when driven directly against the helper (initialize succeeds,
tools/callnever answers). This is consistent with @johannrymill's caveat that the handshake tests "do not establish that stripping the field is a complete workaround for subsequent tool operations" — so there may be a second, AppleEvent-layer defect behind the capability regression on this macOS build.Workaround used (same shape as @Alshir4711's adapter, shell rather than a wrapper binary): rewrite the launcher to pipe stdin through a filter before exec'ing the client, in both the plugin cache copy and the marketplace source copy:
Caveat: an app update overwrites both launcher copies, so this needs re-applying per update — another reason the fix belongs in the helper (
SkyComputerUseClientshould ignore unknown/object-valued experimental capabilities) or in per-server capability opt-in on the client side.Ask: include
computer-historyandcomputer-usein the regression coverage (not justmessages), and add a case initializing the helper with an unknown object-valued capability ({"example/unknown":{}}) — @kenryu42's table already shows that fails, so it is the general defect, not acodex/auth-changespecial case.johnsilvavlogs commentedon Sep 13, 2026
Independent reproduction in Codex Desktop on macOS 26.5.2 (25F84), Apple Silicon:
Diagnostic distinction: isolated mcpServerStatus/list initializes the helper and enumerates all five Computer History tools, while isolated ephemeral thread/start sends capabilities.experimental = {"codex/auth-change":{}}. A successful inventory query can therefore hide the task-start regression with the same executable. No model request or history access is needed for this differential.
Direct replay against fresh native-client processes, changing only capabilities.experimental:
Ephemeral thread startup with mcp_2026_07_28 true and false advertises codex/auth-change in both cases; that flag is not a workaround.
The native UI reports Computer History enabled and unpaused. This is not proof of current capture or authenticated MCP access. A standalone status call is rejected as an unauthenticated sender; no authentication workaround was attempted.
Could the bundled helper's capability decoder be fixed, or the advertisement made compatible with affected servers? Please include actual task startup and authenticated computer_history_status in acceptance, rather than initialization/tool enumeration alone. No protected plugin files or signed binaries were modified for these tests.
adonisgroup commentedon Sep 13, 2026
Confirmed on a Mac mini on September 13, 2026, including in the desktop app with its bundled CLI.
Versions:
26.908.40834(the in-app updater reports this is the newest version available).0.154.0-alpha.6.2.1000968.1.0.1000968.Fresh startup logs after a normal desktop restart show both
computer-historyandevent-streamfailing with JSON-RPC-32603: “The data couldn’t be read because it isn’t in the correct format.” The separate Computer Usecua_replserver starts and a read-only inventory call succeeds.A controlled local initialization-only test reproduced the capability-dependent failure with the installed
SkyComputerUseClient computer-history mcp. Each variant used a fresh helper process, protocol2025-06-18, identical client information, andelicitation: {"form": {}, "url": {}}:{"codex/auth-change": {}}-32603format errorOnly the experimental capability field changed between these two requests. No history/status/settings tools were called, no model request was made, and the diagnostic subprocesses were stopped after their initialization responses. The direct A/B test covered Computer History; event-stream failure is confirmed from desktop startup logs only.
No recording permissions, history data, or configuration were changed. Recording status remains unverified because the status tool is unavailable in the affected desktop sessions.
onlydole commentedon Sep 13, 2026
Ran into this today too. I'm using Codex CLI
0.154.0installed through npm, macOS27.0.0arm64, and Computer History plugin1.0.1000968.I reproduced the same
-32603error by capturing Codex's initialization request and sending it directly toSkyComputerUseClient computer-history mcp. Removing justcodex/auth-changemakes initialization and tool discovery work. The rest of the request stays unchanged.A small adapter in the Computer History launcher gets a fresh Codex thread to report the server as
ready. That fixes startup locally, though I haven't verified history operations or recording status yet. A plugin update may also overwrite the workaround.adonisgroup commentedon Sep 13, 2026
@onlydole Thanks for sharing this—that matches our reproduction with Computer History 1.0.1000968. A basic initialization request succeeds, while including
codex/auth-changereproduces the format error.Could you share the adapter code or a minimal diff, including where you placed it? We’d like to test a reversible workaround while preserving existing recording settings and permissions.
We’ll separately verify tool discovery and a read-only status call. Have you noticed any effects on authentication updates or reconnects from filtering out that capability?
onlydole commentedon Sep 13, 2026
@adonisgroup Yep, here's the adapter I used. I haven't tested authentication updates or reconnects, so I can't say whether filtering the capability affects either. The checks so far cover initialization, tool discovery, and a fresh ephemeral Codex thread reporting
computer-historyasready. I haven't verified a status call or recording behavior yet.I placed
computer-history-mcp-compat.pynext tocomputer-use-client-launcherin the Computer History plugin'sbindirectory:After backing up the launcher as
computer-use-client-launcher.pre-auth-change-fix, I changed its final line:The adapter:
This removes only
codex/auth-changefrom the initialization request. It retains any other experimental entries and passes non-initialization messages through unchanged. It doesn't log traffic or change recording settings or permissions. The only installed files I changed were this plugin's launcher and the added adapter; the signed helper binary is unchanged.To undo it, restore the backed-up launcher and remove
computer-history-mcp-compat.py, then start a new Codex session. A plugin update may overwrite the launcher too.Passing subsequent messages through doesn't prove authentication updates still work. This is a startup workaround while the underlying compatibility issue gets fixed.
djwhelan commentedon Sep 14, 2026
I reproduced this independently and traced the failure to the Swift MCP SDK's decoding of
ClientCapabilities.experimental.Swift MCP SDK 0.12.1 currently declares:
Codex sends:
The
{}value therefore cannot decode asString, causing decoding of the initialize parameters to fail and surfacing as:I also ran an A/B test against the same unchanged, hash-verified Swift MCP server:
experimental: {"codex/auth-change": {}}→ fails with-32603experimental: {"example/unknown": {}}→ same failureexperimental: {}→ initializes successfully and advertises toolsSo this appears to be a concrete wire-model incompatibility rather than a transport or server-startup issue.
The MCP specification models experimental capability values as objects, so I filed this against the Swift MCP SDK as an SDK-level decoding issue:
modelcontextprotocol/swift-sdk#287
martinthommesen commentedon Sep 14, 2026
I independently reproduced this with both
messagesand Record & Replay’sevent-streamserver. Theevent-streamconfirmation includes direct handshake tests, beyond the startup logs already reported here.Installed versions:
0.154.0.26.908.40834, build8881, with bundled CLI0.154.0-alpha.6.2.26.902.1000968.1.0.1000968.I captured the initialization request from an isolated, ephemeral
thread/start, then replayed variants against fresh helper processes. Changing onlycapabilities.experimentalproduced these results for both servers:capabilities.experimental{"codex/auth-change": {}}-32603, with the reported format error{"diagnostic": {}}{}{"codex/auth-change": "{}"}The string-valued control supports the decoding mismatch described in Swift SDK #287.
There is also a useful diagnostic distinction:
mcpServerStatus/listsucceeds in isolation, whilethread/startfails. The captured requests differ by the experimental capability added during thread startup.A temporary launcher adapter that removes only
codex/auth-changemakes both servers reachready. I verified startup with the desktop executable and with CLI0.154.0using my normal configuration. Subsequenttools/listrequests return six Messages tools and three Record & Replay tools.These checks cover initialization and tool discovery. They do not establish that Messages operations, recording, authentication updates, or reconnects work.
Include
SkyComputerUseClient event-stream mcpin regression coverage for unknown object-valued experimental capabilities.adonisgroup commentedon Sep 15, 2026
@martinthommesen Thanks for extending the reproduction to
event-streamand separating tool discovery from actual operations. We have a further Computer History result after testing @onlydole’s adapter. We tested a version that removes onlycodex/auth-change, preserves other initialization fields, and passes subsequent messages through unchanged.On our Mac mini, this restores Computer History startup and exposes all five tools in a fresh desktop task. However, a real desktop
computer_history_statuscall fails with:The first attempt took approximately 120 seconds. After a normal quit and reopen, we confirmed new desktop and native-service processes, then reproduced the same error. Startup and discovery still succeed after the restart.
Desktop is
26.908.40834build8881; helper build is1000968. Installed native client/service executables match the app's bundled copies byte-for-byte, and deep/strict codesign verification passes. No signed binaries, recording permissions, observation settings, or history data were changed. We have not established that authentication succeeds.Has anyone verified an actual Computer History status call after applying the startup workaround? Guidance on diagnosing the subsequent AppleEvent timeout would help distinguish the remaining problem from the initialization decoder defect.
0xdevalias commentedon Sep 21, 2026
See also:
LucasInsight commentedon Sep 21, 2026
Update: this is still reproducible with Codex CLI 0.155.1 and the current bundled Record & Replay
event-streamserver.Environment:
codex-cli 0.155.1(npm installation)1.0.100096826.902.1000968(build1000968)I captured the actual
initializerequest emitted by CLI 0.155.1 using an ephemeral command override with the MCP markedrequired, so the session stopped before any model request. No persistent Codex or plugin configuration was changed.{ "jsonrpc": "2.0", "id": 0, "method": "initialize", "params": { "protocolVersion": "2025-06-18", "capabilities": { "experimental": { "codex/auth-change": {} }, "elicitation": { "form": {}, "url": {} } }, "clientInfo": { "name": "codex-mcp-client", "title": "Codex", "version": "0.155.1" } } }The unchanged
SkyComputerUseClient event-stream mcpprocess returns:{"error":{"code":-32603,"data":{"detail":"The data couldn’t be read because it isn’t in the correct format."},"message":"Internal error: The data couldn’t be read because it isn’t in the correct format."},"id":0,"jsonrpc":"2.0"}Fresh-process A/B results against that same helper:
capabilitiesvariant-32603experimentalonly{"experimental": {}}{"experimental": {"probe": {}}}-32603{"experimental": {"codex/auth-change": "enabled"}}clientInfo.titleonly-32603Without the non-empty object-valued
experimentalentry, the server completesinitialize, acceptsnotifications/initialized, andtools/listreturns all three tools:event_stream_start,event_stream_status, andevent_stream_stop.Also, starting Codex with
--disable auth_elicitationdoes not suppress the offending capability. It changeselicitationto{}, but the request still contains:This confirms that the object-valued experimental-capability decoding incompatibility remains present in the standalone CLI 0.155.1 path. It is not caused by the project, filesystem permissions, a missing executable, or startup timeout.
It would be useful either to make the bundled Swift server accept object-valued experimental capabilities, or to provide a supported per-server way for the client to omit
codex/auth-changeuntil the bundled server is compatible.chore(codex): default to gpt-6-sol at medium effort, quiet two startu…
chore(codex): default to gpt-6-sol at medium effort, quiet two startu…