Skip to content

For agents

Screenshots for your coding agent

Kestrel includes an MCP server over stdio. Your agent asks, Kestrel captures with its own Screen Recording permission, and you see a notification for every capture.

Turn it on

Agent access is off by default. Open Kestrel → Settings → General and enable Allow agents (MCP). The same pane offers one-click setup for every agent Kestrel finds.

  • Claude Code
  • Codex
  • Claude Desktop
  • Cursor
  • Windsurf
  • VS Code
  • Gemini CLI

Manual setup

Claude Code

claude mcp add kestrel -- /Applications/Kestrel.app/Contents/MacOS/kestrel --mcp

Other clients

Use this command and argument in any MCP client that speaks stdio:

/Applications/Kestrel.app/Contents/MacOS/kestrel --mcp

JSON config (Cursor, Claude Desktop, Windsurf …)

{
  "mcpServers": {
    "kestrel": {
      "command": "/Applications/Kestrel.app/Contents/MacOS/kestrel",
      "args": [
        "--mcp"
      ]
    }
  }
}

Tools

Images are scaled down to 1568 px on the long side. Pass maxSize to change that, or save: true to also keep the full-size file in your Kestrel folder.

ToolWhat it doesArguments
list_displaysDisplays with id, position and size in points.–
list_windowsVisible windows of other apps, front-most first: id, app, title, position, size.query
capture_screenScreenshot of a whole display.display, maxSize, save
capture_windowScreenshot of one window, even if covered by others.window, shadow, maxSize, save
capture_active_windowScreenshot of the front-most window of another app.maxSize, save
capture_areaScreenshot of a rectangle in global points.x, y, width, height, maxSize, save
recognize_textOn-device text and QR recognition of a window, display or rectangle.window, display, x, y, width, height

How it stays safe

  • kestrel --mcp only relays to the running app, over a socket that only your user can open.
  • If Kestrel is not running, the bridge starts it.
  • Captures happen inside Kestrel, with Kestrel’s permission, not your terminal’s.
  • Turning off Allow agents makes every tool call fail with a clear message.

~/Library/Application Support/de.pixelandprocess.kestrel/mcp.sock