Automates the desktop with RobotJS mouse and keyboard control and captures screenshots.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add desktop-automation -- npx -y mcp-desktop-automation~/.codex/config.toml
[mcp_servers.desktop-automation]
command = "npx"
args = ["-y", "mcp-desktop-automation"]
# codex mcp add desktop-automation -- npx -y mcp-desktop-automation~/.cursor/mcp.json
{
"mcpServers": {
"desktop-automation": {
"command": "npx",
"args": [
"-y",
"mcp-desktop-automation"
]
}
}
}.vscode/mcp.json
{
"servers": {
"desktop-automation": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-desktop-automation"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"desktop-automation": {
"command": "npx",
"args": [
"-y",
"mcp-desktop-automation"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"desktop-automation": {
"command": "npx",
"args": [
"-y",
"mcp-desktop-automation"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"desktop-automation": {
"command": "npx",
"args": [
"-y",
"mcp-desktop-automation"
]
}
}
}