JavaFX icon

JavaFX MCP Server

Make drawings using a JavaFX canvas

CommunityActiveModerate Popularity0.43 stars/dayUpdated 2 mo ago

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

JFX Demo

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_config.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.

EUMade in Europe

40+ AI models in one chat, from a German company.

Claude, ChatGPT and Gemini next to EU-hosted open models. Run by a German company; processing terms shown per model.

App herunterladen:

Laden im App StoreJetzt bei Google Play