Skip to main content
Glama
screen-capture-mcp

screen-capture-mcp

screen-capture-mcp

A small local MCP server that lets an AI assistant (e.g. Claude Code) take a single still screenshot of one of your monitors, only when you ask it to.

  • No web server, no background capture, no video stream. The assistant launches it over stdio and it grabs one frame per tool call.

  • Images are downscaled (default 1568px on the long edge) to keep token cost reasonable while keeping text legible.

  • Works on Windows, macOS, and Linux (via mss).

Tools

Tool

What it does

list_monitors

Lists monitors numbered left to right (1 = leftmost), with resolution, position, and which is primary.

capture_screen

Captures one monitor. monitor: "primary" (default), "all", or a number. Optional max_dimension (256-4096) and image_format ("jpeg" default, or "png").

Related MCP server: Desktop MCP

Install

Requires uv.

git clone <this-repo-url> screen-capture-mcp
cd screen-capture-mcp
uv sync

Register with Claude Code (all projects)

Substitute the absolute path to your clone:

claude mcp add --scope user screen-capture -- uv run --directory /absolute/path/to/screen-capture-mcp screen-capture-mcp

Restart Claude Code, then ask something like "take a look at my left monitor."

Claude Code asks permission before each tool call by default. To skip the prompt, allow mcp__screen-capture__capture_screen in your permissions.

Notes

  • Games: use borderless fullscreen or windowed mode. Exclusive fullscreen can produce black captures.

  • macOS: grant your terminal the Screen Recording permission.

  • Privacy: captures go to whatever model your client uses. Nothing is saved to disk.

Development

uv run screen-capture-mcp   # runs the stdio server

Available Tools

2 tools
capture_screenA
Read-only

Take one screenshot of a monitor and return it as an image.

Args: monitor: "primary", "all" (every screen stitched together), or a monitor number (1 = leftmost). See list_monitors. max_dimension: Longest edge of the returned image in pixels (256-4096). The default balances legibility and token cost; raise it only when small text is unreadable. image_format: "jpeg" (smaller, default) or "png" (lossless, crisper small text).

Inputs: monitor, image_format, max_dimension.

list_monitorsA
Read-only

List connected monitors with their numbers, resolutions, positions, and which is primary.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have completely distinct purposes: list_monitors enumerates displays, while capture_screen takes a screenshot. There is no overlap or chance of misselection.

    Naming Consistency5/5

    Both names follow the same verb_noun snake_case convention (list_monitors, capture_screen), making the set highly predictable.

    Tool Count4/5

    Two tools is on the lean side, but for a tightly scoped screen-capture server they cover the essential list-then-capture workflow. A minor addition could enrich it, but nothing feels extraneous.

    Completeness4/5

    The core lifecycle of discovering monitors and capturing them is covered, with thoughtful options for monitor selection, sizing, and format. Gaps remain around region/window capture or recording, but the stated purpose is well served.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers