codex-cua-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codex-cua-mcpopen Notepad and type 'Hello World'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Codex CUA MCP
π¬ LINUX DO Discussion
MCP server that wraps Codex's Computer Use capability, enabling AI agents to control Windows desktop applications.
Features
List and control Windows desktop applications
Capture screenshots and accessibility trees
Click, type, press keys, scroll, drag
Launch apps and activate windows
Ready to use - exe bundled, no extra setup needed
Related MCP server: MCPControl
Quick Start (Claude Code)
git clone <repo-url>
cd codex-cua-mcp
.\setup.ps1Restart Claude Code to use.
Other Agents
Works with any MCP-compatible agent (Cursor, Windsurf, Cline, etc.):
{
"mcpServers": {
"codex-cua": {
"command": "node",
"args": ["PATH/codex-cua-mcp/bin/codex-cua-mcp.js"]
}
}
}Check your agent's documentation for config file location.
How It Works
AI Agent (Claude Code, Cursor, etc.)
β MCP protocol (stdio)
MCP Server (codex-cua-mcp)
β JSON-RPC (stdin/stdout)
codex-computer-use.exe
β Windows APIs
Desktop ApplicationsThe MCP server communicates with codex-computer-use.exe via JSON-RPC over stdin/stdout. The exe uses Windows APIs (SendInput, UI Automation, Windows.Graphics.Capture) to interact with desktop applications.
Each action requires an approval flow on first use per app. The server auto-approves by default for seamless operation.
π Want to understand the design in depth? Read the Architecture Deep Dive. (δΈζη)
Available Tools
Tool | Description |
| List all controllable windows |
| List installed apps |
| Rehydrate a window object |
| Launch an application |
| Bring window to foreground |
| Capture screenshot + accessibility tree |
| Click at coordinates or element |
| Type text |
| Press keyboard key |
| Scroll |
| Drag |
| Set editable element value |
| Secondary action (right-click menu, etc.) |
Disclaimer
The core functionality comes from codex-computer-use.exe. Actual results depend on the AI agent and model being used β no guarantee of usability.
Requirements
Windows 10/11
Node.js 18+
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RS-Nocsi/codex-cua-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server