keyboard_press
How to use it
keyboard_press is exposed by the MCP Desktop Automation MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the keyboard_press 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
key
(string, required): Key to press (e.g., 'enter', 'a', 'control')
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