Computer Use MCP
Provides tools for computer use automation on Linux systems, enabling screenshot capture, mouse control (clicking, dragging, scrolling), and keyboard input via X11.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
computer-use-mcp
MCP server for computer use automation. Provides screenshot, click, keyboard, mouse, and drag-and-drop tools. Supports Linux (X11) and Windows (10/11).
System Dependencies
Linux
sudo apt install xdotool scrot x11-xserver-utilsxdotool — mouse/keyboard automation
scrot — screenshots
xrandr (from x11-xserver-utils) — screen resolution
Windows
No external dependencies required. Uses built-in PowerShell with .NET Framework:
PowerShell — comes pre-installed on Windows 10/11
user32.dll — native mouse/keyboard input via SendInput P/Invoke
System.Drawing — screenshot capture
System.Windows.Forms — screen resolution detection
Requirements:
Windows 10 or 11
.NET Framework (pre-installed)
Desktop session must be active (screen unlocked)
Related MCP server: Computer Control MCP
Setup
pnpm install
pnpm buildUsage
With Claude Code
Add to ~/.claude/settings.json (Linux) or %USERPROFILE%\.claude\settings.json (Windows):
{
"mcpServers": {
"computer-use": {
"command": "node",
"args": ["/path/to/computer-use-mcp/dist/index.js"]
}
}
}Development
pnpm devTools
Tool | Description |
| Capture full screen or a region. Returns optimized JPEG base64. |
| Click at (x, y) with left/right/middle button. |
| Double-click at (x, y). |
| Type text at current cursor position. |
| Press key combinations (e.g. |
| Move cursor without clicking. |
| Scroll up/down at a position. |
| Drag and drop from one position to another. |
| Get screen resolution. |
| Get current cursor position. |
| Wait N milliseconds between actions. |
Platform Details
Linux
Uses xdotool for mouse/keyboard, scrot for screenshots, xrandr for screen info
Requires X11 display (Wayland not supported)
Windows
Uses PowerShell with inline C# (Add-Type) calling user32.dll SendInput
~200-500ms overhead per operation due to PowerShell startup and Add-Type compilation
Captures primary monitor only
typeTextuses KEYEVENTF_UNICODE for full Unicode supportdelay_msparameter ontype_textis ignored (SendInput sends all chars at once)DPI-aware: calls SetProcessDPIAware before coordinate/screenshot operations
Notes
Screenshots are automatically resized if wider than 1920px and compressed to JPEG quality 80
A 100ms delay is applied after each action to avoid race conditions
All actions are logged to stderr in JSON format
Platform is auto-detected at startup via
process.platform
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides automated GUI testing and control capabilities through an MCP server that enables mouse movements, keyboard input, screen captures, and image recognition across Windows, macOS, and Linux.47MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides computer control capabilities including mouse movements, keyboard actions, screenshot capture with OCR, and window management through a unified API.727 PyPI174MIT
- AlicenseNot gradedqualityDmaintenanceA desktop automation MCP server that enables AI agents to interact with Linux environments through screenshots, window inspection, and input simulation. It provides tools for mouse control, keyboard input, and screen capture using xdotool and XDG Desktop Portals.MIT
- AlicenseAqualityDmaintenanceA standalone MCP server for Linux desktop control, enabling screenshots, mouse/keyboard input, app/window management, and clipboard access via a Python bridge.24MIT