Skip to main content
Glama

JavaFX 用モデルコンテキストプロトコルサーバー

このモデル コンテキスト プロトコル (MCP) サーバーは、大規模言語モデル (LLM) が JavaFX プリミティブを使用して描画を作成できるようにします。

サーバーは、Quarkus MCP と JavaFX を使用して実装されています。

最初のアイデアと実装は@konczdevによるものです

JFXデモ

こちらのビデオをご覧ください。

一般的な使用法

  1. jbangをインストールする

  2. MCP クライアントをjbang jfx@quarkiverse/quarkus-mcp-serversとしてサーバーを実行するように構成します (以下のClaude Desktop Config を参照)

Related MCP server: Paint MCP

Claude デスクトップ設定とmcp-cli

これをclaude_desktop_config.jsonまたはserver_config.jsonファイルに追加します。

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

ネイティブイメージ/実行可能ファイル

現時点では、JavaFX の依存関係により、jfx サーバーをネイティブ実行可能ファイルにコンパイルすることはできません。

GluonFXを使えば実現できるはずですが、今のところは読者の皆さんの課題として残しておきます。この件にご興味をお持ちの方は、Issue または PR を投稿してください。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Exposes a Pygame-based drawing canvas as an MCP server, allowing LLMs to create digital art using standard shapes and freehand paths. It features a specialized oil paint mode that simulates realistic color mixing, paint depletion, and textured brush strokes.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables creating and refining pencil-style drawings as layered HTML Canvas snippets through natural language descriptions, using classical construction methodology.
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      Gives AI agents a real paint canvas over MCP — layers, anti-aliased shapes, paths, brushes, fills, gradients, filters, transforms, undo/redo, and PNG/JPG/BMP/SVG import-export — with every drawing call returning the picture so the model can inspect and correct its own work. Ships one tool per operation plus a batch tool, preview, inspect, and an optional localhost live view.
      25
      MIT