Back to MCP Catalog

JavaFX Drawing MCP Server

Art & CultureJava
Create drawings using JavaFX primitives through LLM interactions
Available Tools

drawCircle

Draw a circle on the JavaFX canvas

drawRectangle

Draw a rectangle on the JavaFX canvas

drawLine

Draw a line on the JavaFX canvas

drawText

Draw text on the JavaFX canvas

The JavaFX Drawing MCP server enables Large Language Models to create visual content using JavaFX primitives. Built on Quarkus MCP, this tool allows AI models to generate and manipulate graphical elements in real-time. Originally conceived by @konczdev, this implementation provides a powerful interface for AI-driven visual creation.

Overview

The JavaFX Drawing MCP server bridges the gap between Large Language Models and graphical creation, allowing AI models to generate visual content using JavaFX primitives. This server enables AI assistants to create drawings, diagrams, and visual representations directly through conversation.

Installation

To use the JavaFX Drawing MCP server, you'll need to:

  1. Install JBang on your system
  2. Configure your MCP client to run the server using JBang

The server runs as a JBang application, making it easy to deploy without complex setup procedures.

Configuration

For Claude Desktop

Add the following configuration to your claude_desktop_config.json file:

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

For mcp-cli

If you're using mcp-cli, add the same configuration to your server_config.json file.

Usage

Once configured, you can interact with the JavaFX Drawing MCP through your AI assistant. The server will interpret commands to create visual elements using JavaFX primitives.

You can ask the AI to:

  • Draw shapes (circles, rectangles, lines)
  • Create complex diagrams
  • Visualize concepts through drawings
  • Manipulate existing elements

Limitations

Currently, the JavaFX server cannot be compiled to a native executable due to JavaFX dependencies. While it may be possible to create a native image using GluonFX, this functionality is not yet implemented.

Examples

You can see a demonstration of the JavaFX Drawing MCP in action in the demo video.

Related MCPs

Video Jungle
Art & CulturePython

Upload, edit, search, and generate videos with AI assistance

Rijksmuseum
Art & CultureTypeScript

Access and explore the Rijksmuseum's art collection through natural language

AniList
Art & CultureTypeScript

Access and interact with anime, manga, character, and user data from AniList

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.