Forever waiting for xcodebuildmcp
Open 💬 4 comments Opened Apr 11, 2026 by vipuldelwadia
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
0.120.0
What subscription do you have?
Go
Which model were you using?
gpt-5.4
What platform is your computer?
Darwin 25.4.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty
What issue are you seeing?
Looks like it it never finishes waiting for xcodebuildmcp
What steps can reproduce the bug?
Uploaded thread: 019d7bce-17f6-7302-b790-01849b3ba25e
What is the expected behavior?
_No response_
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
If you're able to repro this, please use
/feedbackto upload logs and session details, then post the thread ID here.Adding a fresh data point from macOS / Codex CLI
0.128.0.Primary symptom: Codex CLI hangs during MCP scanning and does not proceed until the MCP scan is manually cancelled. After cancellation, Codex continues, but
xcodebuildmcphelper processes can remain running.Environment:
0.128.0codex resume ...Relevant setup:
~/.codex/config.tomlinitially had an explicit[mcp_servers.XcodeBuildMCP]entry:npx -y xcodebuildmcp@latest mcpbuild-ios-apps@openai-curatedplugin was also enabled.xcodebuildmcp:npx -y xcodebuildmcp@latest mcpXCODEBUILDMCP_ENABLED_WORKFLOWS=simulator,ui-automation,debugging,loggingObserved:
XcodeBuildMCPandxcodebuildmcpavailable from two sources.psshowed many stale process pairs left behind:npm exec xcodebuildmcp@latest mcpnode ~/.npm/_npx/.../node_modules/.bin/xcodebuildmcp mcpcodex mcp listreturning quickly.build-ios-appsskill is useful, but even the bounded verification command spawned twonpm exec xcodebuildmcp@latest mcpparents and twonode ... xcodebuildmcp mcpchildren, which had to be killed manually afterward.This may overlap with #17574, but from the CLI user perspective the main failure is: hangs at MCP scan until the user cancels it.
Expected behavior:
xcodebuildmcp.Additional user-impact detail: this is not just a slow scan. Codex often starts MCP scanning on its own during normal use, so the CLI gets stuck frequently without an explicit MCP action from the user.
In practice I have to manually cancel the MCP scan, even after it has been sitting there for a very long time, potentially around an hour, and then tell Codex not to use MCPs for the session. Otherwise the CLI remains blocked at MCP scanning