About UFO
UFO is an MCP server published by microsoft in the Automation category: uFO³: Weaving the Digital Agent Galaxy. Conduid read 93 tools from its source: add_control_list, add_dependency, add_task, arduino_hid_connect, arduino_hid_disconnect, arduino_hid_status and 87 more. No package is published for it, so it installs from a source checkout.
The repository has 10K stars and 1.1K forks, is licensed MIT, and its last commit was on 30 Oct 2026. The latest release is v3.0.10 (22 Sep 2026). It follows v3.0.9 (14 Sep 2026), and the 5 most recent releases go back to 3.0.6 (6 Jun 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include automation, gui and windows.
Install
git clone https://github.com/microsoft/UFOTools (93)
add_control_listAdd a list of control elements from grounding results to the control dictionary.| Parameter | Type | Description |
|---|---|---|
| control_list * | array |
add_dependency| Parameter | Type | Description |
|---|---|---|
| condition_description | string | Human-readable description explaining the specific conditions or requirements for this dependency relationship. Describe why the target task needs to wait for the source task and what conditions must be met. This helps with understanding the workflow logic and debugging. Examples: 'Wait for successful user authentication before accessing user data', 'Ensure file download completes successfully before processing the file', 'Database must be initialized and ready before running queries', 'Wait for data processing to finish before generating the final report'. |
| dependency_id * | string | Unique identifier of the dependency relationship to add. This is the line_id of the TaskStarLine object, typically in format 'from_task_id->to_task_id'. You MUST generate a unique dependency_id in the arguments, and do not omit it! |
| from_task_id * | string | Unique identifier of the source/prerequisite task that must complete first before the target task can begin execution. This task acts as a dependency that the target task waits for. Examples: 'login_system', 'download_file', 'initialize_database'. The task with this ID must already exist in the constellation. |
| to_task_id * | string | Unique identifier of the target/dependent task that will wait for the source task to complete before it can start execution. This task depends on the completion of the source task. Examples: 'process_data', 'send_report', 'cleanup_files'. The task with this ID must already exist in the constellation. |
add_task| Parameter | Type | Description |
|---|---|---|
| description * | string | Detailed description of what this task should accomplish, including specific steps, expected outcomes, and any important details. This should provide enough information for someone to understand exactly what needs to be done and how to do it. Examples: 'Open Chrome browser and navigate to the specified URL, wait for the page to fully load, then take a screenshot and save it to the designated folder', 'Connect to the database using provided credentials, execute the data processing query, and export results to CSV format'. |
| name * | string | Human-readable name for the task that briefly describes what the task does. This should be a concise, clear title that anyone can understand at a glance. Examples: 'Open Browser', 'Login to System', 'Process Data File', 'Send Notification Email'. Keep it short but descriptive. |
| target_device_id | string | Identifier of the specific device where this task should be executed. This is useful in multi-device environments where different tasks need to run on different machines, phones, or systems. Examples: 'DESKTOP-ABC123', 'iPhone-001', 'android_device_1', 'server_node_2'. It must be chosen from the provided Device Info List |
| task_id * | string | Unique identifier for the task within the constellation. This ID must be unique across the entire constellation and will be used to reference this task in dependencies. Examples: 'open_browser', 'login_system', 'process_data', 'send_email'. Use descriptive names that clearly indicate the task's purpose. |
| tips | array | List of critical tips, hints, and key points for successfully completing this task. Include important considerations, potential pitfalls to avoid, troubleshooting advice, and best practices. This helps task executors perform the task more effectively and handle common issues. Examples: 'Wait for page to fully load before proceeding, close any popup dialogs that appear, ensure stable network connection throughout the process', 'Handle authentication timeouts gracefully, retry up to 3 times if connection fails, log all errors for debugging'. |
arduino_hid_connectConnect to the Arduino HID device (dummy).arduino_hid_disconnectDisconnect from the Arduino HID device (dummy).arduino_hid_statusGet the current status of the Arduino HID device (dummy).bb8_blade_attachAttach the blade (mock).bb8_blade_detachDetach the blade (mock).bb8_button_long_pressLong press a physical button (mock).| Parameter | Type | Description |
|---|---|---|
| button_name * | string |
bb8_button_pressPress a physical button (mock).| Parameter | Type | Description |
|---|---|---|
| button_name * | string |
bb8_connectConnect to the BB-8 test fixture (mock).bb8_disconnectDisconnect from the BB-8 test fixture (mock).bb8_lid_closeClose the lid (mock).bb8_lid_openOpen the lid (mock).bb8_psu_charger_plugPlug in the PSU charger (mock).bb8_psu_charger_unplugUnplug the PSU charger (mock).bb8_statusGet the current status of the BB-8 test fixture (mock).bb8_usb_port_plugPlug in a USB device to the specified port (mock).| Parameter | Type | Description |
|---|---|---|
| port_name * | string |
bb8_usb_port_unplugUnplug a USB device from the specified port (mock).| Parameter | Type | Description |
|---|---|---|
| port_name * | string |
build_constellation| Parameter | Type | Description |
|---|---|---|
| clear_existing | boolean | Whether to clear all existing tasks and dependencies before building the new constellation. If false, new tasks and dependencies will be added to existing ones. |
| config * | any | Configuration dictionary for building constellation with the following structure: { "tasks": [ { "task_id": "string (required)", "name": "string (optional)", "description": "string (required)", "priority": int (1-4, optional), "status": "string (optional)", "task_data": dict (optional), ... other task fields } ], "dependencies": [ { "from_task_id": "string (required)", "to_task_id": "string (required)", "dependency_type": "string (optional)", "condition_description": "string (optional)", ... other dependency fields } ], "metadata": dict (optional) - constellation-level metadata } All tasks will be created first, then dependencies will be established. The constellation will be validated for DAG integrity. |
capture_desktop_screenshotCapture a screenshot of the desktop (all screens or primary screen).| Parameter | Type | Description |
|---|---|---|
| all_screens | boolean |
capture_screenshotcapture_window_screenshotCapture a screenshot of the currently selected application window.click_control| Parameter | Type | Description |
|---|---|---|
| control_id * | string | The precise annotated ID of the control to click (from get_app_window_controls_target_info) |
| control_name * | string | The precise name of the control to click, must match the selected control_id |
click_inputClick on a UI control element using the mouse. All type of controls elements are supported.| Parameter | Type | Description |
|---|---|---|
| button | string | The mouse button to click. One of ''left'', ''right'', ''middle'' or ''x' |
| double | boolean | Whether to perform a double click |
| id * | string | The precise annotated ID of the selected control item to be clicked, adhering strictly to the provided options in the field of 'id' in the control information. |
| name * | string | The precise name of the selected control item to be clicked, adhering strictly to the provided options in the field of 'name' in the control information, and must match the name of its selected id. |
click_mouseClick the specified mouse button (dummy).| Parameter | Type | Description |
|---|---|---|
| button | string | |
| count | integer | |
| interval | number |
click_on_coordinatesClick on specific coordinates within the application window, instead of clicking on a specific control item.| Parameter | Type | Description |
|---|---|---|
| button | string | Mouse button to use ('left', 'right', 'middle') |
| double | boolean | Whether to perform a double click |
| x * | number | The relative fractional x-coordinate of the point to click on, ranging from 0.0 to 1.0. The origin is the top-left corner of the application window. |
| y * | number | The relative fractional y-coordinate of the point to click on, ranging from 0.0 to 1.0. The origin is the top-left corner of the application window. |
double_click_mousePerform a double-click (dummy).| Parameter | Type | Description |
|---|---|---|
| button | string |
double_tap_screenSimulate a double tap at the specified location (mock).| Parameter | Type | Description |
|---|---|---|
| location * | array |
drag_mouseDrag the mouse from start to end position (dummy).| Parameter | Type | Description |
|---|---|---|
| button | string | |
| duration | number | |
| end * | array | |
| start * | array |
drag_on_coordinates| Parameter | Type | Description |
|---|---|---|
| button | string | Mouse button to use ('left', 'right', 'middle') |
| duration | number | Duration of the drag operation in seconds |
| end_x * | number | The relative fractional x-coordinate of the ending point to drag to, ranging from 0.0 to 1.0. The origin is the top-left corner of the application window. |
| end_y * | number | The relative fractional y-coordinate of the ending point to drag to, ranging from 0.0 to 1.0. The origin is the top-left corner of the application window. |
| key_hold | string | Key to hold during drag operation (e.g., 'ctrl', 'shift') |
| start_x * | number | The relative fractional x-coordinate of the starting point to drag from, ranging from 0.0 to 1.0. The origin is the top-left corner of the application window. |
| start_y * | number | The relative fractional y-coordinate of the starting point to drag from, ranging from 0.0 to 1.0. The origin is the top-left corner of the application window. |
draw_on_screenSimulate drawing on the screen by following a path of coordinates (mock).| Parameter | Type | Description |
|---|---|---|
| path * | array |
execute_command| Parameter | Type | Description |
|---|---|---|
| api_key * | string | API key for authentication. Must match the UFO_MCP_API_KEY environment variable configured on the server. |
| command * | string | Shell command to execute on the Linux system. Only allow-listed base commands are permitted (e.g. ls, cat, grep, find, df, ps). Shell metacharacters, pipes, and chaining operators are blocked. Examples: 'ls -la /home', 'cat /etc/os-release', 'grep -r "pattern" /path'. |
| cwd | string | Working directory for command execution. Must be an absolute path. Defaults to the server's current directory. |
| timeout | integer | Maximum execution time in seconds (1-120). Default is 30. |
extract_all_pdfs_text| Parameter | Type | Description |
|---|---|---|
| directory_path * | string | The directory path containing PDF files to extract text from. |
| simulate_human | boolean | Whether to simulate human-like behavior for each PDF. Default: True |
extract_pdf_text| Parameter | Type | Description |
|---|---|---|
| pdf_path * | string | The full path to the PDF file to extract text from. |
| simulate_human | boolean | Whether to simulate human-like behavior (opening, reading, closing PDF). Default: True |
get_app_window_controls_infoGet information about controls in the currently selected application window.| Parameter | Type | Description |
|---|---|---|
| field_list * | array |
get_app_window_controls_target_info| Parameter | Type | Description |
|---|---|---|
| force_refresh | boolean | Force refresh from device, ignoring cache (default: False) |
get_app_window_infoGet information about the currently selected application window.| Parameter | Type | Description |
|---|---|---|
| field_list * | array |
get_desktop_app_infoGet information about all application windows currently open on the desktop.| Parameter | Type | Description |
|---|---|---|
| refresh_app_windows | boolean | |
| remove_empty | boolean |
get_desktop_app_target_infoGet information about all application windows currently open on the desktop.| Parameter | Type | Description |
|---|---|---|
| refresh_app_windows | boolean | |
| remove_empty | boolean |
get_device_infoget_mobile_app_target_info| Parameter | Type | Description |
|---|---|---|
| filter | string | Filter pattern for package names (optional, e.g., 'com.android') |
| force_refresh | boolean | Force refresh from device, ignoring cache (default: False) |
| include_system_apps | boolean | Whether to include system apps (default: False, only show user-installed apps) |
get_range_valuesGet the values from a specified range in the sheet.| Parameter | Type | Description |
|---|---|---|
| end_col * | integer | The end column. |
| end_row * | integer | The end row. |
| sheet_name * | string | The name of the sheet. |
| start_col * | integer | The start column. |
| start_row * | integer | The start row. |
get_system_info| Parameter | Type | Description |
|---|---|---|
| api_key * | string | API key for authentication. Must match the UFO_MCP_API_KEY environment variable configured on the server. |
get_ui_treeinsert_excel_table| Parameter | Type | Description |
|---|---|---|
| sheet_name * | string | The name of the sheet to insert the table. |
| start_col * | integer | The start column to insert the table, starting from 1. |
| start_row * | integer | The start row to insert the table, starting from 1. |
| table * | array | The table content to insert. The table is a list of list of strings or numbers. |
insert_table| Parameter | Type | Description |
|---|---|---|
| columns * | integer | The number of columns in the table. |
| rows * | integer | The number of rows in the table. |
invalidate_cache| Parameter | Type | Description |
|---|---|---|
| cache_type | string | Type of cache to invalidate: 'controls', 'apps', 'ui_tree', 'device_info', or 'all' |
keyboard_input| Parameter | Type | Description |
|---|---|---|
| control_focus | boolean | Whether to focus the selected control id before sending keys. If False, the hotkeys will operate on the application window. |
| id * | string | The precise annotated ID of the selected control item to send keyboard input to, adhering strictly to the provided options in the field of 'id' in the control information. |
| keys * | string | Key sequence to send. It can be any key on the keyboard, with special keys represented by their virtual key codes, for example, '{VK_CONTROL}c' for Ctrl+C. |
| name * | string | The precise name of the selected control item to send keyboard input to, adhering strictly to the provided options in the field of 'name' in the control information. |
launch_app| Parameter | Type | Description |
|---|---|---|
| id | string | Optional: The precise annotated ID of the app from get_mobile_app_target_info. |
| package_name * | string | Package name of the app to launch (e.g., 'com.android.settings') |
list_pdfs_in_directory| Parameter | Type | Description |
|---|---|---|
| directory_path * | string | The directory path to scan for PDF files. |
long_press_screenSimulate a long press at the specified location (mock).| Parameter | Type | Description |
|---|---|---|
| duration | number | |
| location | array |
middle_click_mouseShortcut for middle mouse button click (dummy).move_mouseMove the mouse pointer (dummy).| Parameter | Type | Description |
|---|---|---|
| absolute | boolean | |
| x * | integer | |
| y * | integer |
press_hotkeyPress multiple keys simultaneously (dummy).| Parameter | Type | Description |
|---|---|---|
| keys * | array |
press_keySimulate pressing a keyboard key, optionally with modifier keys (mock).| Parameter | Type | Description |
|---|---|---|
| duration | number | |
| key | string | |
| modifiers | array |
press_key_sequencePress a sequence of keys (dummy).| Parameter | Type | Description |
|---|---|---|
| interval | number | |
| keys * | array |
press_mouse_buttonPress and hold the specified mouse button (dummy).| Parameter | Type | Description |
|---|---|---|
| button | string |
release_mouse_buttonRelease the specified mouse button (dummy).| Parameter | Type | Description |
|---|---|---|
| button | string |
remove_dependency| Parameter | Type | Description |
|---|---|---|
| dependency_id * | string | Unique identifier of the dependency relationship to remove. This is the line_id of the TaskStarLine object, typically in format 'from_task_id->to_task_id'. |
remove_task| Parameter | Type | Description |
|---|---|---|
| task_id * | string | Unique identifier of the task to remove from the constellation. All dependencies involving this task will also be automatically removed to maintain constellation integrity. |
reorder_columnsGet the values from a specified range in the sheet.| Parameter | Type | Description |
|---|---|---|
| desired_order * | array | The list of column names in the new order. |
| sheet_name * | string | The name of the sheet. |
right_click_mouseShortcut for right mouse button click (dummy).robot_arm_connectConnect to the Robot Arm (mock).robot_arm_disconnectDisconnect from the Robot Arm (mock).robot_arm_statusGet the current status of the Robot Arm (mock).run_shellLaunch an allow-listed application by name only, without arguments.| Parameter | Type | Description |
|---|---|---|
| bash_command * | string |
save_as| Parameter | Type | Description |
|---|---|---|
| file_dir | string | The directory to save the file. If not specified, the current directory will be used. |
| file_ext | string | The extension of the file. If not specified, the default extension '.csv' will be used. |
| file_name | string | The name of the file without extension. If not specified, the original file name will be used. |
scroll_mouseScroll the mouse wheel (dummy).| Parameter | Type | Description |
|---|---|---|
| horizontal | integer | |
| vertical | integer |
select_application_windowSelect an application window for UI automation.| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| name * | string |
select_paragraph| Parameter | Type | Description |
|---|---|---|
| end_index * | integer | The end index of the paragraph, if ==-1, select to the end of the document. |
| non_empty | boolean | If True, select the non-empty paragraphs only. |
| start_index * | integer | The start index of the paragraph to be selected. |
select_table| Parameter | Type | Description |
|---|---|---|
| number * | integer | The index number of the table to be selected. |
select_table_range| Parameter | Type | Description |
|---|---|---|
| end_col * | integer | The end column. If ==-1, select to the end of the document with content. Please map the letter to the number, e.g., A=1, B=2, etc. |
| end_row * | integer | The end row. If ==-1, select to the end of the document with content. |
| sheet_name * | string | The name of the sheet. |
| start_col * | integer | The start column, starting from 1. Please map the letter to the number, e.g., A=1, B=2, etc. |
| start_row * | integer | The start row, starting from 1. |
select_text| Parameter | Type | Description |
|---|---|---|
| text * | string | The exact text to be selected. |
set_background_color| Parameter | Type | Description |
|---|---|---|
| color * | string | The hex color code (in RGB format) to set the background color. |
| slide_index | array | The list of slide indexes to set the background color. If None, set the background color for all slides. |
set_edit_textType text in a control element.| Parameter | Type | Description |
|---|---|---|
| clear_current_text | boolean | Whether to clear the current text in the Edit before setting the new text. If True, the current text will be completely replaced by the new text. |
| id * | string | The precise annotated ID of the selected control item to be set text, adhering strictly to the provided options in the field of 'id' in the control information. |
| name * | string | The precise name of the selected control item to be set text, adhering strictly to the provided options in the field of 'name' in the control information, and must match the name of its selected id. |
| text * | string | The text input to the Edit control item. You must also use Double Backslash escape character to escape the single quote in the string argument. |
set_fontMain function to run the MCP server.| Parameter | Type | Description |
|---|---|---|
| font_name | string | The name of the font (e.g., 'Arial', 'Times New Roman', '宋体'). If None, the font name will not be changed. |
| font_size | integer | The font size (e.g., 12). If None, the font size will not be changed. |
summaryCreate and return the Data MCP server instance.| Parameter | Type | Description |
|---|---|---|
| text * | string | The summary text to provide. |
swipe| Parameter | Type | Description |
|---|---|---|
| duration | integer | Duration of swipe in milliseconds (default 300) |
| end_x * | integer | Ending X coordinate |
| end_y * | integer | Ending Y coordinate |
| start_x * | integer | Starting X coordinate |
| start_y * | integer | Starting Y coordinate |
swipe_screenSimulate a swipe gesture from start to end location (mock).| Parameter | Type | Description |
|---|---|---|
| duration | number | |
| end_location | array | |
| start_location | array |
swipe_trackpadSimulate a swipe gesture on the trackpad from start to end location (mock).| Parameter | Type | Description |
|---|---|---|
| duration | number | |
| end_location | array | |
| start_location | array |
table2markdown| Parameter | Type | Description |
|---|---|---|
| sheet_name * | any | The name or index of the sheet to get the table content. The index starts from 1. |
take_screenshotSimulate taking a screenshot (mock).tap| Parameter | Type | Description |
|---|---|---|
| x * | integer | X coordinate to tap (pixels from left) |
| y * | integer | Y coordinate to tap (pixels from top) |
tap_screenSimulate tap(s) at the specified location on the screen (mock).| Parameter | Type | Description |
|---|---|---|
| count | integer | |
| interval | number | |
| location | array |
tap_trackpadSimulate tap(s) at the specified location on the trackpad (mock).| Parameter | Type | Description |
|---|---|---|
| count | integer | |
| interval | number | |
| location | array |
textsRetrieve all text content from a control element.| Parameter | Type | Description |
|---|---|---|
| id * | string | The precise annotated ID of the selected control item to retrieve text from, adhering strictly to the provided options in the field of 'id' in the control information. |
| name * | string | The precise name of the selected control item to retrieve text from, adhering strictly to the provided options in the field of 'name' in the control information. |
touch_screenSimulate a touch at the specified location on the screen (mock).| Parameter | Type | Description |
|---|---|---|
| location * | array |
type_textType a string of text (dummy).| Parameter | Type | Description |
|---|---|---|
| text * | string |
update_dependency| Parameter | Type | Description |
|---|---|---|
| condition_description * | string | New human-readable description explaining the specific conditions or requirements for this dependency relationship. Describe why the target task needs to wait for the source task and what conditions must be met. This helps with understanding the workflow logic and debugging. Examples: 'Wait for successful user authentication before accessing user data', 'Ensure file download completes successfully before processing the file', 'Database must be initialized and ready before running queries', 'Wait for data processing to finish with valid output before generating the final report'. |
| dependency_id * | string | Unique identifier of the dependency to update (line_id of TaskStarLine) |
update_task| Parameter | Type | Description |
|---|---|---|
| description | string | New detailed description of what this task should accomplish. Include specific steps, expected outcomes, and important details. This should provide enough information for task execution. Examples: 'Open Chrome browser, navigate to URL, wait for full page load, then take screenshot', 'Connect to database, execute query, export to CSV'. Leave empty if you don't want to change the current description. |
| name | string | New human-readable name for the task. This should be a concise, clear title that describes what the task does. Examples: 'Open Browser', 'Login to System', 'Process Data File'. Leave empty if you don't want to change the current name. |
| target_device_id | string | New target device identifier where this task should execute. Use this to change which device will run the task. Examples: 'DESKTOP-ABC123', 'iPhone-001', 'android_device_1'. Leave empty string if you don't want to change the current target device. It must be chosen from the provided Device Info List |
| task_id * | string | Unique identifier of the task to update |
| tips | array | List of New critical tips and key points for completing this task successfully. Include important considerations, potential pitfalls, troubleshooting advice, and best practices. Examples: 'Wait for page load, close popups, ensure stable network', 'Handle auth timeouts, retry 3 times, log errors'. Leave empty if you don't want to change the current tips. |
wait| Parameter | Type | Description |
|---|---|---|
| seconds | number | Number of seconds to wait (can be decimal, e.g., 0.5 for 500ms) |
wheel_mouse_input| Parameter | Type | Description |
|---|---|---|
| id * | string | The precise annotated ID of the selected control item to send mouse wheel input to, adhering strictly to the provided options in the field of 'id' in the control information. |
| name * | string | The precise name of the selected control item to send mouse wheel input to, adhering strictly to the provided options in the field of 'name' in the control information. |
| wheel_dist | integer | The number of wheel notches to scroll. Positive values indicate upward scrolling, negative values indicate downward scrolling. |
Security checks
Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by galaxy/webui/frontend/package-lock.json.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 2.6K words, fetched 22 hours ago. The original in the repository is authoritative.
Read full README