Desktop AutomationSAFE
A Model Context Protocol server that provides desktop automation capabilities using RobotJS and screenshot capabilities
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A Model Context Protocol server that provides desktop automation capabilities using RobotJS and screenshot capabilities. This server enables LLMs to control mouse movements, keyboard inputs, and capture screenshots of the desktop environment.
Configuration to use Desktop Automation Server
Here's how to configure Claude Desktop to use the MCP Desktop Automation server:
NPX
{
"mcpServers": {
"desktop-automation": {
"command": "npx",
"args": ["-y", "mcp-desktop-automation"]
}
}
}Permissions
This server requires system-level permissions to:
- Capture screenshots of your screen
- Control mouse movement and clicks
- Simulate keyboard input
When first running Claude Desktop with this server, you may need to grant these permissions in your operating system's security settings.
Limitations
While this server works with various MCP clients, it has been primarily tested with Claude Desktop.
Important: The current implementation has a 1MB response size limit. For screen captures, this means:
- High-resolution screenshots may exceed this limit and fail
- Testing has shown 800x600 resolution works reliably
- Consider reducing screen resolution or capturing specific screen areas if you encounter issues
Requirements
- Node.js (>=14.x)
Components
Tools
- get_screen_size
- Gets the screen dimensions
- No input parameters required
- screen_capture
- Captures the current screen content
- No input parameters required
- keyboard_press
- Presses a keyboard key or key combination
- Inputs:
key(string, required): Key to press (e.g., 'enter', 'a', 'control')modifiers(array of strings, optional): Modifier keys to hold while pressing the key. Possible values: "control", "shift", "alt", "command"
- keyboard_type
- Types text at the current cursor position
- Input:
text(string, required): Text to type
- mouse_click
- Performs a
050b790dd2bfOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add mcp-desktop-automation -- npx -y [email protected]
{
"mcpServers": {
"mcp-desktop-automation": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (6)
5 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_screen_size | read | Gets the screen dimensions |
keyboard_press | read | Presses a keyboard key or key combination |
keyboard_type | read | Types text at the current cursor position |
mouse_click | read | Performs a mouse click |
mouse_move | write | Moves the mouse to specified coordinates |
screen_capture | read | Captures the current screen content |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxtst-dev libpng++-dev
@modelcontextprotocol/sdk, axios, cors, express, robotjs, screenshot-desktop, ws, zod
Gates applied: no_behavioural_pass.
050b790dd2bffull audit observations/trust-audit/mcp-server/tanob__desktop-automation.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 050b790dd2bf | SAFE | B | 89 | first audit |
Questions
What is the Desktop Automation MCP server?
A Model Context Protocol server that provides desktop automation capabilities using RobotJS and screenshot capabilities
What tools does Desktop Automation expose?
6 in total: 5 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Desktop Automation safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Desktop Automation need?
No credential environment variables were found in its source, so it appears to need none.
How does Desktop Automation run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-desktop-automation at 0.1.6.
How current is this page?
The grade is for one exact copy of the source (050b790dd2bf), read on 2026-10-08. The repository is watched and re-audited when it changes.