Query UI elements in a JavaFX application by various selectors
Simulate a mouse click on a JavaFX UI element
Input text into a JavaFX text component
Get a property value from a JavaFX UI element
Capture a screenshot of the current JavaFX application state
JavaFX UI Automation provides a powerful interface for controlling and automating JavaFX applications. This MCP server enables AI assistants to interact with JavaFX-based user interfaces, allowing for testing, automation, and enhanced accessibility features. The server bridges the gap between AI systems and JavaFX applications, providing programmatic access to UI elements, event handling, and application state. This makes it ideal for developers looking to implement automated testing, create AI-powered UI assistants, or build accessibility tools for JavaFX applications.
This MCP server provides automation capabilities for JavaFX applications, allowing AI assistants to interact with and control JavaFX-based user interfaces.
To install the JavaFX UI Automation MCP server, you'll need to add it to your MCP client configuration. The server requires Java and JavaFX to be installed on your system.
git clone https://github.com/mcpso/mcp-server-javafx
cd mcp-server-javafx
mvn clean package
Once installed, the JavaFX UI Automation server allows you to:
The server can be configured with the following options:
port
: The port on which the MCP server will listen (default: 8080)applicationPath
: Path to the JavaFX application to automatedebugMode
: Enable detailed logging for troubleshooting (true/false)You can specify these options in the configuration file or as command-line arguments when starting the server.
If you encounter issues with the JavaFX UI Automation server:
For additional help, please open an issue on the GitHub repository.