High-risk tools in Affinity MCP Server
8 of the 23 tools in Affinity MCP Server are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
affinity_click_menuExecuteClick a menu item. Path: [
-
affinity_click_uiExecuteClick a UI element in the front window by description or title
-
affinity_key_codeExecuteSend a key code (Escape=53, Return=36, Delete=51, Tab=48, Left=123, Right=124, Down=125, Up=126)
-
affinity_keystrokeExecuteSend a keystroke to Affinity with optional modifiers
-
affinity_launchExecuteLaunch Affinity app if not already running
-
affinity_mouse_actionExecuteClick or drag at screen coordinates. For drag, provide endX and endY.
-
affinity_run_macroExecuteImport and run an .afmacro file
-
affinity_select_toolExecuteSelect a drawing/editing tool via keyboard shortcut
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.