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 桌面配置)

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。

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    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
    D
    maintenance
    A shared whiteboard for you and your AI agent I wanted my AI agent and me to be able to point at the same thing. Any MCP-capable agent can read the canvas, draw on it, drop thought bubbles, animate elements, and react when you sketch something.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Controls Windows Paint from Claude via GUI automation, enabling drawing of lines, rectangles, and freehand strokes on the canvas.
    -