computer-agent-mcp
Leverages OpenAI-compatible vision models to analyze screenshots and perform desktop automation tasks based on natural language instructions.
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., "@computer-agent-mcpopen Calculator and compute 123 * 456"
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.
computer-agent-mcp
A black-box desktop automation MCP server — give it a task, it handles the screenshots, coordinates, and clicks internally, and returns the result.
How It Works
Unlike typical computer-use tools that expose raw screenshots to the host agent, computer-agent-mcp runs the entire vision loop server-side:
Captures the current screen
Sends the screenshot + task context to an internal vision model
Receives observations, action plans, and coordinate mappings
Executes actions locally with visible mouse trajectories
Repeats until the task is done — then returns a structured result
The host agent never sees a screenshot. It just sends a task and gets back a result.
Related MCP server: Computer Control MCP
Features
Task-level API — one call to complete a desktop task, no multi-turn screenshot protocol
Server-side vision loop — screenshots, coordinate mapping, and action execution all handled internally
Human override detection — stops immediately when a real user touches the keyboard or mouse
Step-by-step debug recording — full event timeline, screenshots, and model request/response logs
Works with any OpenAI-compatible vision model — bring your own endpoint and model
Quick Start
Prerequisites
Windows
Python >= 3.11
An OpenAI-compatible API key
Install & Run
The quickest way to start:
uvx computer-agent-mcp \
--api-key sk-... \
--base-url https://api.openai.com/v1 \
--model gpt-5.4Or install via pip:
pip install computer-agent-mcp
computer-agent-mcp \
--api-key sk-... \
--base-url https://api.openai.com/v1 \
--model gpt-5.4MCP Host Configuration
Add to your MCP client config (e.g. Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"computer-agent": {
"command": "uvx",
"args": [
"computer-agent-mcp",
"--base-url",
"https://api.openai.com/v1",
"--model",
"gpt-5.4"
],
"env": {
"COMPUTER_AGENT_OPENAI_API_KEY": "sk-..."
}
}
}
}Tools
computer_use_task
Run a stateless black-box desktop task.
Parameter | Default | Description |
| (required) | Natural language description of what to do |
|
| Target display |
|
| Maximum vision-action loop iterations |
Returns structured result with status (completed / blocked / failed), summary, result, memory, and trace.
computer_list_displays
List available displays. Useful for multi-monitor setups.
Configuration
All CLI parameters can also be set via environment variables:
CLI Flag | Env Variable | Default | Description |
|
| — | API key (also reads |
|
|
| API base URL |
|
|
| Vision model to use |
|
|
| Default max steps per task |
|
|
| Default max duration (seconds) |
|
|
| Debug output directory |
|
|
| Log level |
Enable debug recording with COMPUTER_AGENT_DEBUG=1. See REFERENCE.md for the full configuration reference and detailed runtime semantics.
Development
pip install -e .[dev]
pytestPlatform Support
Currently Windows only. The server will start on other platforms but desktop tool calls will fail.
Contributing
Contributions are welcome! Please open an issue first to discuss what you'd like to change.
License
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
- 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/visionki/computer-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server