By trycuaCreated 16 days ago
starstarstarstarstar

MCP server for the Computer-Use Agent (CUA), enabling CUA via Claude Desktop or other MCP clients.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

Computer Use AgentMcp ServerAutomation

What is CUA?

CUA (Computer-Use Agent) is a MCP server that allows users to control their computer through natural language commands using MCP clients like Claude Desktop or Cursor. It bridges human instructions and computer actions, enabling automated computer control.

How to use CUA?

  1. Prerequisites: Set up full CUA capabilities by installing the Lume CLI, pulling the latest macOS CUA image, and starting the Lume daemon service.
  2. Installation: Install via PyPI (
pip install cua-mcp-server
```) or use the easy setup script (
```bash
curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/mcp-server/scripts/install_mcp_server.sh | bash
```).
3. **Configuration**: Add the CUA agent to your MCP client's configuration (e.g., Claude Desktop or Cursor) with the required environment variables.
4. **Usage**: Issue natural language commands to the MCP client, such as "Open Chrome and go to github.com."

## Key features of CUA
- **Computer control via natural language**: Execute tasks like opening apps, managing files, or capturing screenshots using text commands.
- **MCP client integration**: Works with Claude Desktop, Cursor, or other MCP-compatible clients.
- **Flexible configuration**: Customize settings like the agent loop, model provider, and API keys.
- **Development-friendly**: Supports local development and testing without installation.

## Use cases of CUA
1. **File management**: Automate tasks like creating folders, searching for files, or organizing downloads.
2. **App control**: Open or close applications, navigate websites, or interact with software.
3. **Screen capture**: Take and annotate screenshots or record screen activity.
4. **Workflow automation**: Define multi-step processes (e.g., opening an app, navigating to a URL, and logging in).

## FAQ from CUA
- **What MCP clients are compatible with CUA?**
> CUA supports Claude Desktop, Cursor, and other MCP-compatible clients.

- **How do I troubleshoot installation errors?**
> Use absolute paths for scripts and check logs with 
```bash
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
```.

- **Can I use CUA without API keys?**
> No, you need valid API keys for the chosen model provider (e.g., Anthropic or OpenAI).