type_text
Type text into active app (max 500 chars)
How to use it
type_text is exposed by the MCP Osascript MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the type_text tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Osascript
claude mcp add osascript -- npx -y mcp-osascriptOther tools in MCP Osascript (11)
List or click menu items in any app
List tabs in Safari, Chrome, or Arc
Read clipboard as text
Get active app name + bundle ID
List / move / resize / minimize / fullscreen / close
Launch or bring app to front
Open URL in browser (http/https/mailto only)
Press key with modifiers (cmd+c, return, f5)
Execute any AppleScript or JXA script
Show macOS notification banner
Write text to clipboard