Guest User

Untitled

a guest
Apr 17th, 2026
4,732
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. # Computer Use Plugin Setup For Codex Desktop
  2.  
  3. This is the exact setup that enabled the bundled `Computer Use` plugin in Codex Desktop on macOS.
  4.  
  5. ## Goal
  6.  
  7. Make Codex Desktop expose the `Computer Use` MCP tools from the plugin already bundled inside the app.
  8.  
  9. This guide does not install anything from the internet. It enables the bundled plugin that already ships inside:
  10.  
  11. `/Applications/Codex.app/Contents/Resources/plugins/openai-bundled/plugins/computer-use`
  12.  
  13. ## Final Working State
  14.  
  15. Codex was considered correctly configured when all of these were true:
  16.  
  17. 1. `~/.codex/config.toml` had the plugin enabled:
  18.  
  19. ```toml
  20. [plugins."computer-use@openai-bundled"]
  21. enabled = true
  22. ```
  23.  
  24. 2. `~/.codex/config.toml` had the bundled marketplace registered:
  25.  
  26. ```toml
  27. [marketplaces.openai-bundled]
  28. source_type = "local"
  29. source = "/Applications/Codex.app/Contents/Resources/plugins/openai-bundled"
  30. ```
  31.  
  32. 3. The local plugin cache existed under:
  33.  
  34. `~/.codex/plugins/cache/openai-bundled/computer-use`
  35.  
  36. 4. After a full `Cmd+Q` relaunch, Codex could reach the `Computer Use` MCP tools.
  37.  
  38. ## Exact Steps
  39.  
  40. ### 1. Quit Codex fully
  41.  
  42. Use `Cmd+Q`. Do not just close the window.
  43.  
  44. ### 2. Enable the plugin in `~/.codex/config.toml`
  45.  
  46. Ensure this block exists:
  47.  
  48. ```toml
  49. [plugins."computer-use@openai-bundled"]
  50. enabled = true
  51. ```
  52.  
  53. ### 3. Register the bundled marketplace
  54.  
  55. Run:
  56.  
  57. ```bash
  58. '/Applications/Codex.app/Contents/Resources/codex' marketplace add /Applications/Codex.app/Contents/Resources/plugins/openai-bundled
  59. ```
  60.  
  61. That should add this block to `~/.codex/config.toml`:
  62.  
  63. ```toml
  64. [marketplaces.openai-bundled]
  65. source_type = "local"
  66. source = "/Applications/Codex.app/Contents/Resources/plugins/openai-bundled"
  67. ```
  68.  
  69. `last_updated = "..."` may also appear. That is normal.
  70.  
  71. ### 4. Relaunch Codex Desktop
  72.  
  73. Open Codex again after the marketplace entry and plugin enable flag are present.
  74.  
  75. ### 5. Confirm the cache exists
  76.  
  77. After relaunch, this path should exist:
  78.  
  79. `~/.codex/plugins/cache/openai-bundled/computer-use`
  80.  
  81. In the working setup, the versioned payload was under:
  82.  
  83. `~/.codex/plugins/cache/openai-bundled/computer-use/1.0.750`
  84.  
  85. and included:
  86.  
  87. - `.codex-plugin/`
  88. - `.mcp.json`
  89. - `Codex Computer Use.app`
  90. - `assets/`
  91.  
  92. ## Verification
  93.  
  94. Use a fresh thread and ask for a real Computer Use action:
  95.  
  96. ```text
  97. Use Computer Use to open Calculator and type 2+2.
  98. ```
  99.  
  100. Do not use a prompt like:
  101.  
  102. ```text
  103. If it is unavailable, say exactly that and do nothing else.
  104. ```
  105.  
  106. That phrasing can lead the agent to answer before it lazily loads the plugin tools.
  107.  
  108. ## What Counts As Success
  109.  
  110. These outcomes mean different things:
  111.  
  112. - `Computer Use plugin/tool is unavailable.`
  113. This usually means the thread never got the plugin tools.
  114.  
  115. - A real Computer Use action starts, or Codex asks for approval/macOS permissions.
  116. This means the plugin is loaded.
  117.  
  118. - `approval denied via MCP elicitation`
  119. This means the plugin is loaded and reachable, but the desktop-control action was blocked by approval flow rather than installation.
  120.  
  121. ## Useful Checks
  122.  
  123. Show the relevant config section:
  124.  
  125. ```bash
  126. nl -ba ~/.codex/config.toml | sed -n '48,60p'
  127. ```
  128.  
  129. Show the cache tree:
  130.  
  131. ```bash
  132. find ~/.codex/plugins/cache/openai-bundled/computer-use -maxdepth 2 | sed -n '1,40p'
  133. ```
  134.  
  135. Show the bundled marketplace root:
  136.  
  137. ```bash
  138. find /Applications/Codex.app/Contents/Resources/plugins/openai-bundled -maxdepth 2 | sed -n '1,40p'
  139. ```
  140.  
  141. ## Notes
  142.  
  143. - This setup used the bundled marketplace inside the app. It did not use a remote marketplace.
  144. - `remote_control` was not required for this setup and should not be treated as part of the fix.
  145. - A full app relaunch matters because plugin discovery happens at startup.
Advertisement
Add Comment
Please, Sign In to add comment