llama.cpp can now pass tool screenshots to a local AI app

A screenshot returned by an MCP tool takes two paths. Earlier llama.cpp servers dropped the image. The b12708 prerelease forwards it to the client.

INGOAMPT Editorial · November 25, 2026

A screenshot tool could capture an app screen and still pass a local AI assistant only the accompanying text. The November 25 prerelease of llama.cpp fixes that break in the chain. Its server now passes along images and audio returned by tools. Previously, it kept only their text.

That opens up a practical use for an Apple silicon Mac. An iOS developer could check a batch of App Store screenshots for clipped captions before launching a campaign. The tool supplies the pixels. A compatible vision model examines them, and a person decides which images need fixing.

What reaches the app?

The fix covers tools called through the llama.cpp server using the Model Context Protocol (MCP). A single result can contain several parts.

What the b12708 server forwards
Tool returns App receives
Text The text, as before.
Image or audio with a media type and data A line of encoded media that the app can turn back into an attachment.
Media missing its type or data The server skips that part. It also skips unsupported content types.

Try it on one launch asset

Make two versions of a campaign image. Clip the final word of a headline in one and leave the other intact. Connect a trusted screenshot tool to an image-capable model on the Mac.

  1. Check the handoff. Open each returned attachment in the client before asking the model to inspect it.
  2. Check the judgment. Ask which caption is clipped and where. Record correct flags and false alarms on the intact image.
  3. Check the economics. Time a full batch, including a person checking each flag, before quoting a price.

A 128 GB Mac can host the tool and a compatible model. Whether this could pay as a batch-review service depends on the errors it catches and the human review time it saves. Check where the screenshot tool runs before handling a client’s unreleased campaign. A remote tool can still receive those images.

One detail for implementers

The server strips whitespace and adds a single data: URI per media part to plain_text_response. A 300,000-byte image becomes 400,000 base64 characters before the media-type prefix. Decode the attachment in the client. Audio uses the same path and still needs a compatible model.

llama.cpp published b12708 at 03:35 UTC on November 25, with an Apple silicon macOS binary and an iOS XCFramework. The implementation change merged November 24. INGOAMPT reviewed the release and code. The screenshot checker is an untested product idea.

For the hardware trade-offs, see our MLX, CUDA and ROCm comparison. Read more in INGOAMPT AI News.