cua-mcp-server
by trycua
cua-mcp-server is an MCP server for the Computer-Use Agent (CUA), enabling you to run CUA through Claude Desktop or other MCP clients. It allows Claude or other language models to perform computer tasks by leveraging the CUA agent.
Last updated: N/A
What is cua-mcp-server?
cua-mcp-server is a server that exposes the Computer-Use Agent (CUA) functionality through the Model Context Protocol (MCP). This allows language models like Claude or Cursor to interact with your computer by delegating tasks to the CUA agent.
How to use cua-mcp-server?
- Install the package using
pip install cua-mcp-server
. 2. Configure the server using environment variables (e.g.,CUA_AGENT_LOOP
,CUA_MODEL_PROVIDER
,ANTHROPIC_API_KEY
). 3. Integrate the server with Claude Desktop or Cursor by adding the appropriate configuration to their respective configuration files, pointing to thecua-mcp-server
executable.
Key features of cua-mcp-server
Enables computer control via language models
Supports Claude Desktop and Cursor integration
Configurable via environment variables
Provides tools for running single or multiple CUA tasks
Easy setup script for simplified installation
Use cases of cua-mcp-server
Automating tasks on your computer using natural language
Integrating computer control into Claude workflows
Using Cursor to perform computer tasks via the CUA agent
Creating custom computer automation scripts
Interacting with your computer through a conversational interface
FAQ from cua-mcp-server
What API keys do I need?
What API keys do I need?
You need an API key for your chosen model provider (e.g., Anthropic, OpenAI). Set it in the Claude Desktop config or as an environment variable.
How do I configure the agent loop?
How do I configure the agent loop?
Use the CUA_AGENT_LOOP
environment variable to select the agent loop (OPENAI, ANTHROPIC, OMNI).
Where can I find the Claude Desktop configuration file?
Where can I find the Claude Desktop configuration file?
The Claude Desktop configuration file (claude_desktop_config.json) is typically located in ~/.config/claude-desktop/
.
How do I tell Cursor to use the CUA agent?
How do I tell Cursor to use the CUA agent?
Explicitly mention the CUA agent in your prompts, such as "Use the computer control tools to open Safari."
What tools are available through the MCP server?
What tools are available through the MCP server?
The MCP server exposes two tools: run_cua_task
for single tasks and run_multi_cua_tasks
for multiple tasks in sequence.