Skip to main content
Glama

Uindow - AI browser immune to prompt injections

Uindow drives a real, signed Chromium/Electron browser with genuine OS-level input - actual cursor movement, real keystrokes, and native file dialogs rather than synthetic page events. It runs entirely on your own machine and your own network, and every line of code it executes sits in plain sight in this repository.

Automate it three ways:

  • No code - build automations in the integrated editor and record complex workflows without writing code.

  • From any AI assistants - Uindow ships a local MCP server, so Claude, Cursor, VS Code, or any MCP-compatible client can list, create, and run automation modules directly. See Control Uindow from AI assistants.

  • Write automations in pure JavaScript - Use the integrated development environment to write, test, and debug automations with ease. Auto-completion, code healing, JavaScript parsing, and linting are all built in.

Related MCP server: autoit-mcp

Running Uindow

In order to use the app, create an account for free at uindow.com and follow the on-screen instructions.

We build signed binaries for macOS, Windows, and Linux directly from the dist source, and host them on the GitHub Releases page (current and older versions) and on the Uindow install page.

Option 2 - npx

One command to fetch the CLI and launch the app:

npx -y @uindow/cli@latest app:start

Other lifecycle commands:

npx @uindow/cli app:status  # check whether the app is running
npx @uindow/cli app:stop    # stop the app

Option 3 - Run from source

Clone the repository and launch the app directly from source.

git clone https://github.com/uindow/uindow.git uindow
cd ./uindow/
npm install
npm start

Control Uindow from AI assistents (MCP)

Uindow exposes a local Model Context Protocol server, so any MCP-compatible client can drive web-automation agents directly. The server communicates over stdio securely and is launched on demand by the AI assistant.

Requirements: Node.js 18+ with npx on your PATH.

npx -y @uindow/cli@latest mcp

Quick reference

Uindow provides a 1-click connector for the most popular AI assistants.

Go to Uindow > AI assistants > Connect

AI assistant

Instant connect

Root key

Config location

Claude Code (CLI + Desktop Code)

✅ yes

mcpServers

~/.claude.json

Claude Desktop (Chat / Cowork)

✅ yes

mcpServers

claude_desktop_config.json

Cursor

✅ yes

mcpServers

~/.cursor/mcp.json

VS Code (Copilot)

✅ yes

servers

mcp.json (MCP: Open User Configuration)

Windsurf

✅ yes

mcpServers

~/.codeium/windsurf/mcp_config.json

Zed

✅ yes

context_servers

settings.json

Codex

✅ yes

TOML [mcp_servers.*]

~/.codex/config.toml

Gemini CLI

✅ yes

mcpServers

~/.gemini/settings.json

Cline

✅ yes

mcpServers

cline_mcp_settings.json

Goose

✅ yes

YAML extensions

~/.config/goose/config.yaml


JetBrains AI Assistant

Go to Settings > Tools > AI Assistant > Model Context Protocol (MCP) and click Add, then paste the JSON. In the same dialog, set the scope to Global rather than project-scoped so the server is available in every project you open, then click Apply to start it.

{
    "mcpServers": {
        "uindow": {
            "command": "npx",
            "args": ["-y", "@uindow/cli@latest", "mcp"]
        }
    }
}

Any other AI Assistant

Most remaining AI assistants accept the same object under mcpServers. Look for the config file in your home directory (~/.<client>/...) rather than the one in your project root - the home-directory copy is the global one:

{
    "mcpServers": {
        "uindow": {
            "command": "npx",
            "args": ["-y", "@uindow/cli@latest", "mcp"]
        }
    }
}

Point the AI assistant at the command npx with arguments -y @uindow/cli@latest mcp.

If your AI assistant requires an explicit transport field, use "type": "stdio".

Verifying the connection

Run the launch command by hand first - it's the fastest way to separate "Uindow is broken" from "the AI assistant can't start it":

npx -y @uindow/cli@latest mcp

A stdio server prints nothing and blocks. A silent, hung terminal means it started correctly; press Ctrl-C and go back to your AI assistant. Any stack trace you see here is the real error your AI assistant was swallowing.

Then confirm the scope took: open the AI assistant from a different directory than the one you configured it in, and check that Uindow's tools are still listed. If they vanish, the entry landed in a project-local config.

Troubleshooting

  • Server works in one project but not another.

    • Classic scope problem - the entry is project-local. In Claude Code, claude mcp list from the other directory will come up empty; re-add with --scope user. In Gemini CLI, re-add with -s user. In Cursor and VS Code, move the entry from .cursor/mcp.json or .vscode/mcp.json to ~/.cursor/mcp.json or the user-profile mcp.json.

  • spawn npx ENOENT / server never starts in a GUI app.

    • Desktop apps don't inherit your shell's PATH, which bites anyone using nvm, asdf, or Volta. Run which npx (where npx on Windows) and put the absolute path in command.

  • Config saved, nothing happened.

    • Most desktop AI assistants only reload MCP config on a full restart - quit the app entirely (macOS: Cmd+Q; Windows: quit from the tray icon) rather than closing the window.

  • Tools missing after adding the server.

    • Check the root key against the table above: servers for VS Code, context_servers for Zed, mcp_servers in TOML for Codex, mcpServers everywhere else. A wrong key is ignored silently in most AI assistants.

  • Duplicate or shadowed entries.

    • Several AI assistants resolve project config ahead of global config, so an old project-local uindow entry will silently win over the new global one. Delete the stale entry rather than editing both.

  • Server connects but tools aren't used.

    • In Claude Code, MCP tools are deferred behind tool search by default and loaded on demand, so they may not appear in an upfront tool list. Ask for a Uindow tool by name, or set "alwaysLoad": true on the server entry to load its tools at session start.

  • Where to look next.

    • claude mcp list and /mcp (Claude Code), Output panel > MCP Logs (Cursor), Output > MCP (VS Code), ~/Library/Logs/Claude/mcp*.log or %APPDATA%\Claude\logs\mcp*.log (Claude Desktop).

Command-line interface

You can run Uindow from any CI/CD pipeline or command-line interface.

npx -y @uindow/cli@latest --help

Alternatively, you can use node dist/bin.js --help instead of npx @uindow/cli --help for a faster response.

  USAGE
    $ npx @uindow/cli <command> [options]

  AVAILABLE COMMANDS
    $ npx @uindow/cli mcp                     Uindow MCP server (stdio) 
    $ npx @uindow/cli app_docs                Query SDK documentation 
    $ npx @uindow/cli app_status              Get application status 
    $ npx @uindow/cli app_start               Start application 
    $ npx @uindow/cli app_stop                Stop application 
    $ npx @uindow/cli agent_list              List agents 
    $ npx @uindow/cli agent_create            Create agent 
    $ npx @uindow/cli agent_update            Update agent 
    $ npx @uindow/cli agent_delete            Delete agent 
    $ npx @uindow/cli agent_status            Get agent status 
    $ npx @uindow/cli agent_start             Start agent 
    $ npx @uindow/cli agent_stop              Stop agent 
    $ npx @uindow/cli agent_screenshot        Grab agent screenshot 
    $ npx @uindow/cli agent_viewport          Scan agent viewport 
    $ npx @uindow/cli agent_execute           Execute code in an agent 
    $ npx @uindow/cli agent_logs              Get agent logs 
    $ npx @uindow/cli agent_settings_get      Get settings 
    $ npx @uindow/cli agent_settings_set      Update settings 
    $ npx @uindow/cli agent_results_get       Get latest results 
    $ npx @uindow/cli src_sample              Module: get sample (yaml) 
    $ npx @uindow/cli src_export              Module: get source (yaml) 
    $ npx @uindow/cli src_code_get            Module: get state or function code 
    $ npx @uindow/cli src_code_set            Module: set state or function code 
    $ npx @uindow/cli src_keys_list           Module: list item keys 
    $ npx @uindow/cli src_keys_reorder        Module: reorder item keys 
    $ npx @uindow/cli src_keys_update         Module: update item key 
    $ npx @uindow/cli src_keys_delete         Module: delete item 
    $ npx @uindow/cli src_input_get           Module: get input 
    $ npx @uindow/cli src_input_set_bool      Module: set boolean input 
    $ npx @uindow/cli src_input_set_int       Module: set integer input 
    $ npx @uindow/cli src_input_set_string    Module: set string input 
    $ npx @uindow/cli src_input_set_files     Module: set files input 
    $ npx @uindow/cli src_input_set_table     Module: set table input 
    $ npx @uindow/cli src_output_get          Module: get output 
    $ npx @uindow/cli src_output_set_bool     Module: set boolean output 
    $ npx @uindow/cli src_output_set_int      Module: set integer output 
    $ npx @uindow/cli src_output_set_string   Module: set string output 
    $ npx @uindow/cli src_output_set_files    Module: set files output 
    $ npx @uindow/cli src_output_set_table    Module: set table output 

  OPTIONS
    --help      Help menu for a specific command 
    --version   Package version 

Creating modules

There are three ways to build a module - reach for them in this order:

  1. Record it - zero learning curve. Open the integrated recorder and use the browser exactly as you normally would: point, click, scroll, upload and download files. The recorder turns your actions into JavaScript for you - deterministically, without any AI, and instantly. What you see is what you get.

  2. Let an AI assistant write it via MCP. Want something more involved? Hand control to your local AI assistant over MCP and have it author the module on your behalf. Describe the outcome and let it produce the code for you. You're always in control of your automations, and you can use the included IDE to debug your code.

  3. Write it yourself in plain JavaScript. If the recorder and the AI-driven approach both come up short, go straight to the source:

    1. Visit the Uindow SDK Reference

    2. Download the sample module and import it into Uindow

    3. Experiment with the dollar-sign methods - the integrated editor has auto-complete, code hints, formatting and linting

For most people the learning curve is zero - the recorder is all you'll ever touch. And if you decide to go pro, it stays shallow: the SDK is there when you want it, not before.

Available Tools

38 tools
agent_createA

Create agent

Add a new agent with the specified name. A maximum of 9 agents can exist at a time; creating a 10th agent will fail. The name is trimmed and truncated to 64 characters.

Use the agent_list tool to fetch all available agents and their indexes.

Returns: A unique index from 1 to 9, which is used to identify this agent with various tools.

Inputs: agentName (required).

agent_deleteA

Delete agent

Delete an agent from the list.

Use the agent_list tool to fetch all available agents and their indexes.

Returns: True on success, false on failure

Inputs: index (required).

agent_executeA

Execute code in an agent

Execute asynchronous JavaScript code in the agent and forward the returned value. Remember to use return as your last statement; for example: return await $.navGetTitle();.

The code runs safely outside the browser, so it has no access to window, document, cookies, or other DOM APIs. It can only use plain JavaScript and the dollar sign ($) object to perform the kinds of actions a regular user can perform - navigate, click, scroll, read text, save files, and so on.

Before running this tool, you must first make sure the agent has been stopped using the agent_status and agent_stop tools.

Never run this tool without first using the app_docs tool twice: once to list all SDK methods, and again to query the specific methods you intend to use, including their detailed arguments and examples.

You must never wrap your code in an async IIFE (immediately invoked function expression) because all code blocks in Uindow, both functions and FSM states, are already asynchronous JavaScript.

Use the agent_list tool to fetch all available agents and their indexes. Use the app_docs tool to query the available dollar sign ($) methods and properties for use in the code argument of this tool.

Returns: Any value returned by the executed code.

Inputs: code (required), index (required).

agent_listA

List agents

Get the list of agents that can perform tasks on this machine. Each agent is assigned a unique index from 1 to 9, which is used to identify the agent when issuing commands. You may use this list to map an agent's name to its index when a user refers to an agent by name, and to check whether the agent is currently executing a task.

Returns: List of agents

Inputs: no named parameters. Returns: value

agent_logsA

Get agent logs

Output agent logs generated since the last agent_logs tool call. Logs are output as lines of text with the following structure: [info/success/warning/error] {multi-line message} ({date and time}). Example: [info] state: Testing $.sleep (12/12/2020, 10:10:00 PM)

Logs are present in the content value of the MCP tool response, not in structuredContent. The structured content part of the response is an object representing the current agent status: either stopped, paused, or running.

Recommendation: call agent_logs in a loop until the returned status is stopped or paused.

Use the agent_status tool to get only the agent status object (without the latest logs). Use the agent_list tool to fetch all available agents and their indexes. Use the agent_start tool to start or unpause the agent as needed. Use the agent_stop tool to stop the agent as needed.

Returns: Agent status object

Inputs: index (required). Returns: Agent status object

agent_results_getA

Get latest results

Fetch the results from the most recent call to either agent_start or agent_execute. Results are populated only when $.ioOutput*(), $.ioSave*(), or similar SDK methods are invoked correctly with the appropriate output keys.

Outputs declared using src_output_* tools are rendered as form elements in the Results tab.

Use the agent_list tool to fetch all available agents and their indexes. Use the app_docs tool to look up ioOutput and ioSave methods for arguments lists and examples.

Returns: List of outputs and their values

Inputs: index (required). Returns: value

agent_screenshotA

Grab agent screenshot

Capture a PNG screenshot of the current web page directly as a Base64-encoded string. No need to set up a file output for this agent. It works even if the agent is already executing another task.

Use the agent_list tool to fetch all available agents and their indexes. Use the agent_viewport tool to capture a text version of the viewport if your model does not support images.

Returns: PNG screenshot, an object with { mimeType: "image/png", data: "base-64 string" }

Inputs: index (required).

agent_settings_getA

Get settings

Fetch the input configurations that will be used by the $.ioInput*() SDK methods when starting this agent with agent_start.

The inputs declared using src_input_* tools are rendered as form elements in the Settings tab. Use this tool to get all input keys and their current values as configured by the user. At most 5000 rows will be returned for table inputs.

Use the agent_list tool to fetch all available agents and their indexes.

Returns: List of inputs and their values

Inputs: index (required). Returns: value

agent_settings_setA

Update settings

Set the value of an input declared with the src_input_set_* tools. The value type is resolved from the input's own definition, so pass the natural value for that input:

  • boolean -> true or false

  • int -> 42, or [1, 2, 3] if isList is true

  • string -> "foo", or ["foo", "bar"] if isList is true

  • files -> array of absolute file paths

  • table -> array of row objects keyed by the input's columns

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcInputs to get all input keys. Use the src_input_get tool to inspect an input's declared type.

Returns: Extended list of inputs and their values

Inputs: key (required), index (required), value (required). Returns: value

agent_startA

Start agent

Start or unpause the agent and run the source code (to which users may refer to as a module) as defined using the src_* tools. The purpose of the source code is to provide permanence and safe transferability for automations.

If you wish to execute SDK methods on the fly (without saving them), call the agent_execute tool instead.

Use the agent_list tool to fetch all available agents and their indexes. Call the agent_status tool from time to time or use the agent_logs tool to check execution progress. Use the src_export tool to review the complete module source code before executing it. Use the agent_settings_set tool to set the values for all inputs before running this tool. Use the agent_results_get tool to fetch the captured outputs after running this tool.

Returns: True if the agent was started (it had previously been stopped or paused), false if it was already running.

Inputs: index (required).

agent_statusA

Get agent status

Check whether the agent is currently executing a task.

Use the agent_logs tool to get the agent status object and the latest logs. Use the agent_list tool to fetch all available agents and their indexes. Use the agent_start tool to start or unpause the agent as needed. Use the agent_stop tool to stop the agent as needed.

Returns: Agent status object

Inputs: index (required). Returns: Agent status object

agent_stopA

Stop agent

Stop the agent and return control back to the user or AI assistant.

Use the agent_list tool to fetch all available agents and their indexes.

Returns: True if the agent was stopped (it had been running or paused), false if it was already stopped.

Inputs: index (required).

agent_updateA

Update agent

Update an agent's name. The name is trimmed and truncated to 64 characters.

Use the agent_list tool to fetch all available agents and their indexes.

Returns: True on success

Inputs: index (required), agentName (required).

agent_viewportA

Scan agent viewport

Get a structured list of the HTML elements currently visible in the agent's viewport. This is a lightweight, text-based alternative to agent_screenshot for text-only AI models.

The first entry is always a synthetic <viewport> entry describing the page and the viewport itself. Its x, y, width and height are the viewport box that every other entry's coordinates are relative to, and its scroll values describe how far the viewport is scrolled and how much content lies outside it.

The remaining entries are ordered by how likely they are to be worth acting on rather than by document position.

Use the agent_list tool to fetch all available agents and their indexes. Use the app_docs tool with query set to "doQuery" and maxResults set to 10 to learn more about the available DOM inspection methods. Use the agent_execute tool to with $.do* methods to perform deeper DOM inspection.

Returns: List of DOM elements visible in the viewport

Inputs: index (required), maxResults. Returns: value

app_docsA

Query SDK documentation

Never attempt to guess arguments! Always call the app_docs tool again with query set to the method or property you are about to use. This retrieves its full argument details and available code examples, which are usually complete Uindow modules exported in YAML format.

Get the full list of available dollar sign ($) object properties and methods, or search for a particular method. Results are sorted in ascending order based on how closely the query string matches the beginning of the paragraph.

Use these dollar sign ($) object properties and methods in pure JavaScript code blocks when calling agent_execute or src_code_set.

Returns: Documentation for a dollar sign ($) object property or method in Markdown format, or a list of all available dollar sign ($) object properties and methods in Markdown format.

Inputs: query, maxResults.

app_startA

Start application

If Uindow is already running, silently return false. Otherwise, download the required version of Electron.js and Uindow as needed, launch the Uindow application, and return true.

Returns: True if the app was launched, false if it was already running

Inputs: no named parameters.

app_statusB

Get application status

Check whether Uindow was installed and started on this computer.

Returns: True if the app was started, false otherwise

Inputs: no named parameters.

app_stopA

Stop application

If Uindow was already stopped, or the quit signal could not be delivered, return false. Otherwise, issue a quit signal, wait for the app to exit gracefully, and return true.

Returns: True if the app was stopped, false otherwise

Inputs: no named parameters.

src_code_getA

Module: get state or function code

Fetch the source code for this finite-state machine (FSM) state, or function.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcStateMachine to get all state keys. Use the src_keys_list tool with section srcFunctions to get all function keys. Use the app_docs tool to look up any dollar sign ($) methods used in the returned code.

Returns: Source code object

Inputs: key (required), index (required), section (required). Returns: Source code object

src_code_setA

Module: set state or function code

Set the source code for a finite-state machine (FSM) state (srcStateMachine) or a function (srcFunctions).

You must never wrap your code in an async IIFE (immediately invoked function expression) because all code blocks in Uindow, both functions and FSM states, are already asynchronous JavaScript.

For srcStateMachine: When using the agent_start tool, the first defined state is executed. Jump to another state by returning an object with the next and args keys. Example: return { next: "another-state-key", args: ["foo", "bar"] } The new state can access the passed arguments through the $.args property. The FSM stops when the last executed state no longer returns an object with a next property. A maximum of 64 states can be defined.

For srcFunctions: Call a function from a state or another function using the $.fn SDK method. To learn more about $.fn, use the app_docs tool with "$.fn" as query. Pass arguments as an array; for example: await $.fn("function-key", ["foo", "bar"]). The function reads them through the $.args property, which is always an array. Unlike FSM states, a function's return value has no special role and does not trigger any state transition. A maximum of 128 functions can be defined.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with the same section to get all existing keys. Use the app_docs tool to view available SDK methods for the code argument. Use the src_sample tool to better understand how the FSM, functions and IO interact.

Returns: Updated state or function

Inputs: key (required), code (required), index (required), section (required). Returns: Updated state or function

src_exportA

Module: get source (yaml)

Export the agent's source as a YAML string. The source is always an object with these keys: srcStateMachine, srcFunctions, srcInputs, and srcOutputs.

To edit these properties, you must use the appropriate tool:

  • srcStateMachine and srcFunctions: use the src_code_* tools

  • srcInputs: use the src_input_* tools

  • srcOutputs: use the src_output_* tools

Use the agent_list tool to fetch all available agents and their indexes. Use the src_sample tool to better understand how the FSM, functions and IO interact.

If the user asks to save this automation/module as a file, please use the ".js.yaml" extension.

Returns: Agent source code in YAML format

Inputs: index (required).

src_input_getA

Module: get input

Fetch the definition for this input.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcInputs to get all input keys.

Returns: Input definition

Inputs: key (required), index (required). Returns: Input definition

src_input_set_boolA

Module: set boolean input

Define a boolean input that can be configured manually in the Settings tab or via the agent_settings_set tool.

If an input with this key already exists, it will be converted to a boolean input with the specified properties.

Boolean inputs can act as UI controls when used as dependencies for other non-boolean inputs. If a boolean input is configured to false - that is, its checkbox in the Settings tab is unchecked - any dependent inputs will be hidden from the application's Settings tab.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with the srcInputs section to get all input keys. Use the src_sample tool to better understand how the FSM, functions and IO interact. Use the agent_settings_set tool to set the values for this and other inputs before using the agent_start tool.

Returns: Input definition

Inputs: key (required), name (required), index (required), desc. Returns: Input definition

src_input_set_filesA

Module: set files input

Define a files input that can be configured manually in the Settings tab or via the agent_settings_set tool. If an input with this key exists, it will be changed to a files input with these properties.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcInputs to get all input keys. Use the src_sample tool to better understand how the FSM, functions and IO interact. Use the agent_settings_set tool to set the value for this and other inputs before using the agent_start tool.

Returns: Input definition

Inputs: key (required), name (required), index (required), max, +5 more. Returns: Input definition

src_input_set_intA

Module: set integer input

Define an integer input that can be configured manually in the Settings tab or via the agent_settings_set tool. If an input with this key exists, it will be changed to an integer input with these properties.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcInputs to get all input keys. Use the src_sample tool to better understand how the FSM, functions and IO interact. Use the agent_settings_set tool to set the value for this and other inputs before using the agent_start tool.

Returns: Input definition

Inputs: key (required), name (required), index (required), def, +6 more. Returns: Input definition

src_input_set_stringA

Module: set string input

Define a string input that can be configured manually in the Settings tab or via the agent_settings_set tool. If an input with this key exists, it will be changed to a string input with these properties.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcInputs to get all input keys. Use the src_sample tool to better understand how the FSM, functions and IO interact. Use the agent_settings_set tool to set the value for this and other inputs before using the agent_start tool.

Returns: Input definition

Inputs: key (required), name (required), index (required), def, +6 more. Returns: Input definition

src_input_set_tableA

Module: set table input

Define a table input that can be configured manually in the Settings tab or via the agent_settings_set tool. If an input with this key exists, it will be changed to a table input with these properties. You can define a maximum of 6 input tables.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcInputs to get all input keys. Use the src_sample tool to better understand how the FSM, functions and IO interact. Use the agent_settings_set tool to set the value for this and other inputs before using the agent_start tool.

Returns: Input definition

Inputs: key (required), name (required), index (required), columns (required), +2 more. Returns: Input definition

src_keys_deleteA

Module: delete item

Delete this item, but first make sure it is no longer used by reading the full source code exported with the src_export tool.

  • For the srcStateMachine section, no state should still call return { next: "this-state" }

  • For the srcFunctions section, no state or function should still call $.fn("this-function-key")

  • For the srcInputs section, no state or function should still use $.ioInput*("this-input-key")

  • For the srcOutputs section, no state or function should still use $.ioOutput*("this-output-key")

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with the corresponding section to list all available items.

Returns: Returns true if the item was found and removed, false otherwise

Inputs: key (required), index (required), section (required).

src_keys_listA

Module: list item keys

Get a list of all keys defined in a module section.

  • For srcStateMachine: finite-state machine (FSM) states; the first state is executed when the agent starts.

  • For srcFunctions: functions that can be used in states and other functions with await $.fn("function-key").

  • For srcInputs: inputs that can be configured with src_settings_set and read from states and functions with $.ioInput*().

  • For srcOutputs: outputs that can be accessed with src_results_get and written to from states and functions with $.ioOutput*() and $.ioSave*().

Use the agent_list tool to fetch all available agents and their indexes. Use the src_export tool to review the complete module source code.

Returns: List of keys in this section.

Inputs: index (required), section (required). Returns: value

src_keys_reorderA

Module: reorder item keys

Reorder the items in a module section.

  • For srcStateMachine: the order matters; the first state is executed when the agent starts.

  • For srcFunctions: the item order does not matter; reorder for ease of debugging.

  • For srcInputs: each input item generates a UI element in the agent Settings tab; reorder for improved UX.

  • For srcOutputs: each output item generates a UI element in the agent Results tab; reorder for improved UX.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with the corresponding section to list all available items. Use the src_export tool to review the complete module source code.

Returns: Updated list of keys in this section

Inputs: index (required), section (required), keys. Returns: value

src_keys_updateA

Module: update item key

Change this item's key to make the source code easier to understand. Please make sure to check and update references to this item by reading the full source code exported with the src_export tool.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with the corresponding section to list all available items. Use the src_export tool to review the complete module source code.

Returns: Updated key

Inputs: index (required), newKey (required), oldKey (required), section (required).

src_output_getA

Module: get output

Fetch the definition for this output.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcOutputs to get all output keys.

Returns: Output definition

Inputs: key (required), index (required). Returns: Output definition

src_output_set_boolA

Module: set boolean output

Define a boolean output that can be viewed manually in the Results tab or via the agent_results_get tool. If an output with this key exists, it will be changed to a boolean output with these properties.

Boolean outputs are rendered as simple green or red dots in the Results tab. You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcOutputs to get all output keys. Use the src_sample tool to better understand how the FSM, functions and IO interact.

Returns: Output definition

Inputs: key (required), name (required), index (required), desc. Returns: Output definition

src_output_set_filesA

Module: set files output

Define a files output that can be viewed manually in the Results tab or via the agent_results_get tool. If an output with this key exists, it will be changed to a files output with these properties.

Files outputs are used by all $.ioSave* SDK methods to store files on disk and display them in the Results tab. You must always use the returned key property, as it has been sanitized and checked for uniqueness.

You can optionally hide the rendered file explorer for this output (visible set to false). Use tool app_docs with query set to "osFileGetUrl" to learn more about file URLs in output table rows.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcOutputs to get all output keys. Use the src_sample tool to better understand how the FSM, functions and IO interact.

Returns: Output definition

Inputs: key (required), name (required), index (required), max, +4 more. Returns: Output definition

src_output_set_intA

Module: set integer output

Define an integer output that can be viewed manually in the Results tab or via the agent_results_get tool. If an output with this key exists, it will be changed to an integer output with these properties.

Integer outputs are rendered as a line graph in the Results tab. You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcOutputs to get all output keys. Use the src_sample tool to better understand how the FSM, functions and IO interact.

Returns: Output definition

Inputs: key (required), name (required), index (required), max, +2 more. Returns: Output definition

src_output_set_stringA

Module: set string output

Define a string output that can be viewed manually in the Results tab or via the agent_results_get tool. If an output with this key exists, it will be changed to a string output with these properties.

You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcOutputs to get all output keys. Use the src_sample tool to better understand how the FSM, functions and IO interact.

Returns: Output definition

Inputs: key (required), name (required), index (required), max, +2 more. Returns: Output definition

src_output_set_tableA

Module: set table output

Define a table output that can be viewed manually in the Results tab or via the agent_results_get tool. If an output with this key exists, it will be changed to a table output with these properties. You can use a maximum of 6 output tables.

Table outputs are rendered as an interactive table in the Results tab. You must always use the returned key property, as it has been sanitized and checked for uniqueness.

Use the agent_list tool to fetch all available agents and their indexes. Use the src_keys_list tool with section srcOutputs to get all output keys. Use the src_sample tool to better understand how the FSM, functions and IO interact.

Returns: Output definition

Inputs: key (required), name (required), index (required), columns (required), +1 more. Returns: Output definition

src_sampleA

Module: get sample (yaml)

Get a fully functional Uindow module in YAML format. The module is always an object with these keys: srcStateMachine, srcFunctions, srcInputs, and srcOutputs.

The sample illustrates the interactions between finite-state machine (FSM) states, functions, inputs, and outputs. It also shows how the $.args property can be used when passing arguments to FSM states and functions.

Use the app_docs tool to look up any dollar sign ($) methods used in the returned code. Use the other src_* tools to author your own automation, which users may refer to as a module.

Returns: Sample source code in YAML format

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 38 tools

    Disambiguation5/5

    Tools are cleanly separated into app lifecycle, agent management/execution, and module-source editing groups. Potential lookalikes like agent_start/agent_execute and agent_status/agent_logs are explicitly distinguished in their descriptions. Even the many type-specific input/output setters are unambiguous because each name names the type.

    Naming Consistency5/5

    Naming follows a predictable domain prefix plus snake_case action pattern (app_*, agent_*, src_*). Type-specific setters like src_input_set_bool and src_output_set_table are parallel and easy to generalize. No mixed casing or arbitrary verb styles appear.

    Tool Count2/5

    38 tools is well above the 25+ threshold and feels heavy even for a broad automation/module-authoring server. The type-specific input and output setter tools (10 variants) inflate the count and could have been consolidated behind one generic setter with a type parameter. Still, no tool feels completely redundant.

    Completeness5/5

    The surface covers the full workflow: docs, app lifecycle, agent CRUD/status/execution/logging/screenshots, source export/import, FSM/function editing, keys management, and all input/output definitions. There are no obvious dead ends or missing lifecycle operations.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      civyk-winwright is a Playwright-style MCP server for Windows desktop and browser automation. It provides 59 tools for controlling WPF, WinForms, Win32 apps, and Chrome/Edge via the Model Context Protocol. A unified automation layer connecting Claude and MCP-compatible agents to native Windows UI and web interfaces.
      21
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Windows GUI automation MCP server for Claude Code, enabling deterministic desktop app control via 32 tools including window management, input, pixel search, and file verification, leveraging the AutoIt backend.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Agent-native browser control MCP server that enables AI agents to browse and interact with web pages via accessibility tree snapshots and ref ID-based commands.
      15
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that gives AI assistants full control over native Windows applications — launch, inspect, click, type, screenshot, and test any WinUI3, WPF, WinForms, UWP, or Win32 app.
      103 npm
      45
      MIT