Image pasting support on Linux in Cursor CLI

Describe the request

I cannot past images into the Cursor CLI. GPT5.2 summary of what’s going on with the clipboard on my computer:

Arch Linux (X11), CopyQ 13.0.0. When an image is in the clipboard, xclip -selection clipboard -t TARGETS -o includes image/png (and others, plus application/x-qt-image):

$ xclip -selection clipboard -t TARGETS -o
application/x-qt-image
image/png
image/bmp
image/cur
image/icns
image/ico
image/jfif
image/jp2
image/jpeg
image/jpg
image/pbm
BITMAP
image/pgm
image/ppm
PIXMAP
image/tif
image/tiff
image/wbmp
image/webp
image/xbm
image/xpm
TARGETS
MULTIPLE
TIMESTAMP
SAVE_TARGETS

Also confirmed the clipboard data is actually readable as valid PNG bytes:

$ xclip -selection clipboard -t image/png -o >/tmp/clip.png && file /tmp/clip.png
/tmp/clip.png: PNG image data, 963 x 260, 8-bit/color RGB, non-interlaced

So on Linux/X11 the CLI should be able to “paste image from clipboard” by retrieving image/png from the clipboard selection (optionally falling back to image/jpeg/image/webp if image/png is not available).

From conversation here https://x.com/n2parko/status/2009816451428102335

Hey, thanks for the detailed feature request and the technical explanation!

This is a known limitation: pasting images in the CLI on Linux isn’t supported right now. The team is aware of it, and it’s on the roadmap for future improvements.

Thanks for the technical context about xclip and clipboard targets too. That info will be helpful when we implement this feature.

1 Like

MCP servers can send images to agents no-problem - plus agents can probably read image files - so one or both of these might be workarounds?