key
(string, required): Key to press (e.g., 'enter', 'a', 'control')
How to use it
key is exposed by the MCP Desktop Automation MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the key tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MCP DESKTOP AUTOMATION LISTINGOther tools in MCP Desktop Automation (9)
button
(string, optional, default: "left"): Mouse button to click. Possible values: "left", "right", "middle"
double
(boolean, optional, default: false): Whether to perform a double click
get_screen_size
keyboard_press
keyboard_type
modifiers
(array of strings, optional): Modifier keys to hold while pressing the key. Possible values: "control", "shift", "alt", "command"
mouse_click
mouse_move
screen_capture