mcp-swing-17
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-swing-17
MCP server and Java agent for automating Swing and JavaFX desktop applications, built for Java 17. Fork of Swing MCP.
Version:
1.5.0-java17Upstream commit:
abfacfaLicense: MIT (see
LICENSE)Usage guide: USAGE.md
Contents
dist/mcp-swing-17-server.jar MCP server (stdio)
dist/mcp-swing-17-agent.jar Java agent loaded into the target JVM
dist/*.mcpb MCPB bundle for one-click clients
build.ps1 Windows build (JDK 17)
build.sh Linux/macOS build
mcp-swing-17-server/ server sources
mcp-swing-17-agent/ agent sources
mcp-swing-17-common/ shared classesRelated MCP server: qt-mcp
Build
powershell -NoProfile -ExecutionPolicy Bypass -File build.ps1Requires JDK 17. Maven 3.9.9 is downloaded into .build/ on first use.
On Linux/macOS:
./build.shor:
mvn -s maven-settings.xml -DskipTests packageRun
SWING_MCP_AGENT_JAR=<path>/dist/mcp-swing-17-agent.jar
java -jar <path>/dist/mcp-swing-17-server.jarThe server uses stdio and is normally started by an MCP client. The agent attaches to an already
running Java application by PID through attach_to_app.
{
"mcpServers": {
"mcp-swing-17": {
"command": "java",
"args": ["-jar", "<path>/dist/mcp-swing-17-server.jar"],
"env": {
"SWING_MCP_AGENT_JAR": "<path>/dist/mcp-swing-17-agent.jar"
}
}
}
}Differences from upstream
Java 17 instead of Java 21: virtual threads replaced with a regular executor.
Removed the Java 17-incompatible
JMenu instanceof JMenuItempattern.Replaced
List.getFirst()withget(0).Relocated the agent's Jackson package so the target application's Jackson cannot shadow it.
java.version=17, JavaFX 17.Real-mouse
robotinput is disabled by default.close_windowcloses only the focused dialog unless awindowIndexis passed explicitly.
Security
the agent listens on loopback only;
keep
evaluate_javadisabled;use as a development/testing tool;
do not expose the agent port or the response-file token.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server to assist with JxBrowser development.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn experimental MCP server providing full control over the macOS user interface through mouse, keyboard, and window management tools. It enables AI assistants to automate desktop tasks by utilizing native accessibility APIs and OCR for real-time screen comprehension.7Creative Commons Zero v1.0 Universal
- AlicenseAqualityDmaintenanceAn MCP server for inspecting, debugging, and interacting with PySide6 desktop applications. It enables AI agents to capture UI snapshots, read widget properties, and perform actions like clicking buttons or typing text.223Apache 2.0
- AlicenseAqualityDmaintenanceMCP server for launching, inspecting, and interacting with Tkinter GUI applications. Enables AI agents to automate Tkinter apps without code modifications.165MIT
- FlicenseNot gradedqualityDmaintenanceThis MCP server enables an AI agent to control a Windows PC through human-like interactions such as screen capture, OCR, mouse, keyboard, and navigation, without using shortcut APIs.-