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
Wraps Codex's Computer Use capability as an MCP server, 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, and more
Launch apps and activate windows
Ready to use - exe bundled, no extra setup needed
Related MCP server: MCPControl
Quick Start
Hand the install doc to your AI agent β send this prompt:
Please clone the repository https://github.com/RS-Nocsi/codex-cua-mcp locally, read its INSTALL.md, and install this MCP server into your own MCP configuration by following it.Your agent (Claude Code, Cursor, Windsurf, Cline, OpenCode, Gemini CLI, etc.) will clone the repo, check prerequisites, build the project, and register the server itself. Fully restart the agent afterwards.
Prefer manual setup? Follow INSTALL.md yourself.
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.
Dynamic agent name
The desktop overlay shows which agent is controlling the computer (e.g. "Claude Code is using your computer"). Please set the CUA_AGENT_NAME environment variable to your own display name in the registration β see INSTALL.md Step 4. Each agent has its own runtime config under config-runtime/; multiple agents can install this MCP simultaneously without conflict.
π 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 |
| Screenshot + accessibility tree |
| Click |
| Type text |
| Press key |
| Scroll |
| Drag |
| Set input field value |
| Secondary action (right-click menu, etc.) |
Disclaimer
The core capability comes from codex-computer-use.exe. Actual results depend on the AI agent and model used β no usability guarantee.
Requirements
Windows 10/11
Node.js 18+
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to interact with Windows operating systems through native UI automation, file navigation, application control, and system commands. Provides seamless integration between LLMs and Windows environments for tasks like clicking, typing, launching apps, and capturing desktop state.Last updatedMIT
- Alicense-qualityDmaintenanceProvides programmatic control over Windows systems, enabling AI models to interact with the desktop through mouse movements, keyboard input, window management, screen capture, and clipboard operations.Last updated174330MIT
- Flicense-qualityBmaintenanceEnables AI agents to interact with the Windows desktop environment, including browser control, clipboard, file management, GitHub, Roblox Studio, OCR, and more, with a privileged approval system for risky actions.Last updated
- Flicense-qualityCmaintenanceEnables AI agents to control Windows GUI applications like a human using screen capture, OCR, mouse and keyboard input, and window management, with safety levels and memory.Last updated
Related MCP Connectors
Eyes and hands on real Windows PCs β observe, click, type via Glasswarp API.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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