mcp-server-jfx

Apache 2.0
26

Model Context Protocol Server for JavaFX

This Model Context Protocol(MCP) server enables Large Language Models (LLMs) to make drawings using JavaFX primities.

The server is implemented using Quarkus MCP and JavaFX.

Initial idea and implementation is from @konczdev

See video here.

General Usage

  1. Install jbang
  2. Configure your MCP Client to run the server as jbang jfx@quarkiverse/quarkus-mcp-servers (see Claude Desktop Config below)

Claude Desktop Config and mcp-cli

Add this to your claude_desktop.json or server_config.json file:

{ "mcpServers": { "jfx": { "command": "jbang", "args": [ "jfx@quarkiverse/quarkus-mcp-servers" ] } } }

Native Image/Executable

At this moment the jfx server cannot be compiled to a native executable given the JavaFX dependencies.

It should be possible to do this using GluonFX, but that is for now left up as an exercise to the reader. If you are interested in working on this, please open issue or PR.

-
security - not tested
A
license - permissive license
-
quality - not tested

Make drawings on a JavaFX canvas

  1. General Usage
    1. Claude Desktop Config and mcp-cli
      1. Native Image/Executable