v3.18.6 · OPEN SOURCE · MIT

MCP SERVER · CODEX · WINDOWS

Windows for Codex.
Background first.

Windows computer use for Codex, in the background.

A native plugin, nexus-windows (nexus-plugins catalog), for Codex: its own local helper reads Windows applications and acts on them in the background first, without relying on Codex’s Computer Use. Its real mouse and keyboard are only a last resort.

  • Background first
  • Every action verified
  • Never a double action

For

  • Codex
A Windows screen whose numbered elements are linked to Codex
nexus-windows@nexus-plugins
  1. look(window="Form")
  2. okButton Validate · button
  3. status Status · text
  4. act(steps=[…])
  5. verified effect read back, foreground untouched
  6. unknown sent, effect unknown, never replayed
  7. refused password field, nothing sent
Illustration of an exchange in the Codex session: look reads the window without bringing it forward, act reports on every step.
MCPCODEXWIN32UI AUTOMATIONPRINTWINDOWC# .NET 10MIT

01 / WHAT IT DOES

Background first.
Physical input last.

Eight tools. Every step is reported as ✓ verified, = already done, ~ unknown (never replayed) or ✗ failed or refused.

Real validation of October 15, 2026: Win32 actions in 105 to 159 ms, WPF in 193 to 241 ms, capture of a covered Win32 window in 19 ms, foreground unchanged and cursor still.

01 / WHY

Codex in the foreground?
Not first anymore.

On Windows, Codex’s Computer Use works in the foreground: OpenAI’s documentation says to keep the target application visible on the active desktop while the task runs, and it takes over the mouse and keyboard.

Many Windows applications can be driven without that. Since 3.0.0, NexusWindows for Codex no longer depends on it: its own local helper lists windows, reads UI Automation, captures windows even when covered (PrintWindow) and acts in the background through Win32 messages and UI Automation. It judges the result from the application’s real state, and only takes its own real mouse or keyboard as a last resort, under the foreground token shared with the other agents of the PC.

Source: OpenAI’s Computer Use documentation. The skill built on Codex’s Computer Use remains available as an alternative, from a clone of the repository.

102 of 116 versus 50

Real effect in the background, window covered: NexusWindows engine 3.17.10, shared by the three profiles, versus Cua Driver 0.44.0.

0 false successes versus 16

No action reported as done when nothing changed.

4 trials with an intrusion versus 11

Two at an app launch (activation signal only, 0 ms); two for Ctrl+K in WPF, typed by the real keyboard during a brief foreground (1.2 to 1.4 s).

Tool-only bench (no model), window covered, 116 trials per tool (November 9, 2026, public bench and raw data). Small samples, Windows only; Cua Driver captures a covered window faster (55 to 77 ms versus 137 to 1,905 ms).

02 / INSTALLATION

One message.
Codex ready.

  1. Requirements

    • Windows 10 or 11, x64 or ARM64
    • The Codex app
    • Nothing else: one native program, no Python, Node.js or .NET to install
  2. Ask Codex

    Paste this message into Codex: it follows the NexusSystem guide, installs NexusWindows and declares the Codex profile.

    Install NexusWindows by following https://raw.githubusercontent.com/pironjulien/NexusSystem/main/INSTALL-AI.md
  3. Or the NexusSystem app

    Free on the Microsoft Store, no account: it shows your AIs and installs NexusWindows with one button.

    Get it from Microsoft
  4. Restart Codex

    Quit Codex completely, reopen it, then ask: “Open Notepad and write a shopping list: milk, eggs, bread.”

Or by hand, from the release

In PowerShell, without administrator rights: download get.ps1 and the checksum list, check the SHA-256 checksum, then run the file. It installs the engine in %USERPROFILE%\.nexus\nexus-windows and declares it to Claude Code, Claude Desktop, Codex and Antigravity when they are present.

$r = 'https://github.com/pironjulien/NexusWindows/releases/latest/download' Invoke-WebRequest "$r/get.ps1" -OutFile get.ps1 Invoke-WebRequest "$r/SHA256SUMS.txt" -OutFile SHA256SUMS.txt $h = (Select-String SHA256SUMS.txt -Pattern '^([0-9a-f]{64})\s+get\.ps1$').Matches[0].Groups[1].Value if ((Get-FileHash get.ps1 -Algorithm SHA256).Hash -ne $h) { throw 'get.ps1 does not match SHA256SUMS.txt' } powershell -NoProfile -ExecutionPolicy Bypass -File .\get.ps1

Every release file carries a GitHub build provenance attestation. To update, run get.ps1 again or let NexusSystem do it; running sessions keep their version. To uninstall: powershell -NoProfile -ExecutionPolicy Bypass -File .\get.ps1 -Remove. Details: repository README.

Or the whole Nexus pack, at once

Paste this message into your AI: it follows the NexusSystem guide, suggests the Nexus products that fit your PC, installs each one with its official installer, then checks the result. Or the NexusSystem, free on the Microsoft Store.

Install Nexus for me by following https://raw.githubusercontent.com/pironjulien/NexusSystem/main/INSTALL-AI.md

Code, documentation and installer: NexusWindows GitHub repository.

Independent project, not affiliated with Microsoft, Anthropic, OpenAI or Google.

Version
3.18.6
System
Windows 10 or 11, x64 or ARM64
Client
Codex
Engine
Native C# (.NET 10), self-contained: no runtime to install
Licence
MIT

03 / NEXUS ECOSYSTEM

On its own, it works.
Together, it does more.

NexusWindows installs on its own, or with the other Nexus tools, each on its own.

NexusSystem

WithNexusSystem installs NexusWindows and keeps it up to date; Claude Code and Codex get its plugin from the NexusSystem catalog.

Withoutget.ps1, from the release, installs the engine and declares it to Claude Code, Claude Desktop, Codex and Antigravity.

Discover NexusSystem

One PC, several agents

Two file protocols shared by NexusWindows and NexusBrowser. Any agent can implement them.

Foreground token

A shared file, held only while really using the mouse or the foreground, never for a background action. Windows releases it if the agent stops; a waiting agent gives up after 8 s and says who holds it.

Emergency stop

Ctrl+Alt+Shift+Esc blocks every desktop action for 2 minutes, for every agent; reads stay allowed. Deleting the file or changing the clock does not lift the stop.

You first

Before any physical input, the server waits for a pause in your typing (8 s at most, otherwise nothing is sent) and stops as soon as you take the keyboard or mouse back.

All NexusWindows profiles

04 / SECURITY

The agent acts.
You stay in control.

The rules live in the tool itself, not only in the agent’s instructions.

Not a workaround

This server is not a way around an application or action denied by you or by Codex.

A refusal sends nothing

Password field, excluded application, changed control, disabled window or command: nothing is sent, and no fallback is tried.

One observation, one action

A stale observation, another window or an ambiguous control stops the action before any input.

Physical input under conditions

Only when no background technique applies or nothing took; never for a partial effect; always under the shared foreground token.

Shared emergency stop

Checked before each action and before each character of physical typing; a refused action is never replayed.

Nothing of your screens in the metrics

Captures refused under OneDrive folders; metrics never contain UI text, screenshots, typed values or titles.

05 / GOOD TO KNOW

Honest.
Limits included.

Canvases and 3D views

Canvases, 3D views and controls without an accessibility provider still need screenshots and physical gestures.

Partly in French

Skill and messages partly in French.

Not every application

Tested on Windows 11 with test applications and a few real ones: not all of them have been checked.

06 / LINKS

Read the code.
Plug in Codex.

The code, documentation and measurements are on GitHub, under the MIT licence.