
Genai Capture
io.github.linhnnmt由 GitHub 账号 linhnnmt 发布v1.0.1更新于 Oct 24, 2026
Capture & annotate your screen from an AI agent: arrows, boxes, text, highlight, blur/redact.
概览
让 AI 助手截取屏幕、查看图像,并用箭头、方框、文字、高亮和模糊或打码进行标注。
- 可以做什么
- 桌面应用同时充当本地 MCP 服务器,提供 capture_fullscreen、capture_region、annotate、get_image 和 save_image 工具。助手可以截取全屏或区域截图、查看生成的图像、添加箭头、形状、文字、高亮、马赛克打码和水印等标注,然后保存结果。截图时会发出提示音,处理过程都在本机进行。
- 适用场景
- 适合让助手根据一句指令生成可视化缺陷报告、前后对比证明或带标注的截图。适用于助手需要查看屏幕内容并加以标注的桌面工作场景。
- 运行要求
- 作为本地进程在用户机器上运行,仅支持桌面端。需先安装桌面应用(v1.2.0 及以上),然后通过 npm 启动器 genai-capture-mcp 配合 npx 添加服务器,或直接用 --mcp 参数指向已安装的二进制文件(无需 Node)。在 macOS 上需授予屏幕录制权限,否则截图会是黑屏。
安装
在 SourceWeft 中
- 打开 控制台中的 Genai Capture,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
GenAI Capture
Screen capture + annotation, two ways:
- Desktop app — capture the whole desktop, annotate (arrows, shapes, text, highlighter, mosaic redaction, watermark), then copy / save / pin. Global hotkeys, gallery, themes. Cross-platform (Java).
- JetBrains IDE plugin (this repo's source) — the same engine inside any JetBrains IDE: GoLand, PhpStorm, PyCharm, WebStorm, IntelliJ, CLion, Rider, …
Download the desktop app
Grab the installer for your OS from Releases:
macOS note: the app isn't notarized yet. If macOS blocks the first launch, allow it under System Settings ▸ Privacy & Security ▸ "Open Anyway", and grant Screen Recording permission when asked. Details ship in the DMG's First Launch.txt.
The plugin is on the JetBrains Marketplace — search for GenAI Capture (or install the zip from Releases by hand).
Use with AI agents (MCP)
The desktop app (v1.2.0+) doubles as an MCP server: AI agents that speak the Model Context Protocol — Claude Code, Claude Desktop, Cursor, … — can capture your screen, look at the image, annotate it (arrows, boxes, text, highlight, blur/redact), and save the result. Visual bug reports and before/after proof, driven by one sentence to your AI.
Install the desktop app, then add the server to your client. Easiest (cross-platform,
via the genai-capture-mcp launcher on npm):
Or point directly at the installed binary (no Node needed):
Tools: capture_fullscreen, capture_region, annotate, get_image,
save_image. Captures play an audible cue; everything runs locally — images
only go to the AI client you connected.
JetBrains IDE plugin
Brings the screenshot capture + annotation engine inside any JetBrains IDE (GoLand, PhpStorm, PyCharm, WebStorm, IntelliJ, CLion, Rider, …).
Features
- Tools ▸ Take Screenshot —
⌘⇧1(macOS) /Ctrl+Shift+1(Win/Linux). Captures the whole desktop (IDE included) and opens the annotation overlay. - Tools ▸ Capture Desktop (Hide IDE) —
⌘⇧2/Ctrl+Shift+2. Temporarily hides the IDE, captures the desktop behind it, and keeps the IDE hidden until you dismiss the overlay (ESC / save / copy / pin / close). - Tools ▸ Take Delayed Screenshot ▸ 3s / 5s / 10s — shows an on-screen countdown, then captures (time to switch windows or open a menu first).
- Status-bar buttons — a camera icon (immediate capture) and a monitor icon (hide-IDE desktop capture). Toggle either via the status-bar right-click menu.
- Annotation overlay — arrows, shapes, text, highlighter, mosaic redaction, watermark, with copy / save / pin.
- Settings ▸ Tools ▸ GenAI Capture — a Watermark page (appearance, default text, behaviour, live preview) and a Toolbar page (choose/reorder the tools on the capture toolbar). All shortcuts are rebindable in Settings ▸ Keymap.
On macOS, grant the IDE Screen Recording permission (System Settings ▸ Privacy & Security ▸ Screen Recording) or the capture comes back black — same requirement as any screen-capture tool.
How it's built
It reuses the desktop app's code (../src/main/java + ../src/main/resources)
via a Gradle Copy step that filters out the app shell and the parts that don't
load inside the IDE's JBR (the osystem/ FFM code, jnativehook global-hotkey, tray,
and the desktop-themed Settings panels). Thin FFM-free shims under
src/main/java/io/genai/screenshot/ (osystem/AbstractOs, CaptureController,
ScreenshotApp) satisfy the few OS calls the overlay makes. The capture itself uses
java.awt.Robot (no native code). The plugin's own actions, settings pages, and
status-bar widgets live under src/main/java/io/genai/screenshot/plugin/.
Built against the platform module only (com.intellij.modules.platform), so a
single build runs in every JetBrains IDE.
Prerequisites
- JDK 17+ (a JBR or any JDK 17+).
- A JetBrains IDE installed (the build targets your local GoLand by default —
see
build.gradle.kts). To use a different IDE, edit thelocal("…")line, or switch to a downloaded one, e.g.intellijIdeaCommunity("2024.1"). - Gradle: easiest is to open this
jetbrains-plugin/folder in IntelliJ IDEA (it imports the Gradle project and provides the wrapper). Orbrew install gradleand rungradle wrapperonce.
Run it (sandbox IDE)
Then use Tools ▸ Take Screenshot (⌘⇧1) or the status-bar camera icon.
Build an installable plugin
Install in any IDE: Settings ▸ Plugins ▸ ⚙ ▸ Install Plugin from Disk… → pick the zip.
Notes / next steps
- The reused overlay code is verified to compile at Java 17 with no FFM / jnativehook dependency.
- First
runIdemay need minor tweaks to the IntelliJ Platform Gradle DSL or thelocal(...)IDE path for your exact versions — iterate from there. - Possible future options: capture a chosen region only, or a configurable default delay.
来源:README.md,提交 c92a5a2
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分