Skip to main content

MCP server for capturing Windows screenshots and sharing them as base64 images

Project description

WindowsCaptureMCP

An MCP (Model Context Protocol) server for capturing Windows screenshots and sharing them as base64-encoded images with LLMs.

Windows only — This package requires Windows and uses Win32 APIs for screen capture and window management.

Features

  • List and filter visible windows
  • Capture windows, full screen, or custom regions
  • Low-quality preview images for quick verification before full capture
  • Window management (focus, maximize, resize, move)
  • Multi-display support
  • PNG / JPEG / WebP output formats

Requirements

  • Windows
  • Python >= 3.11

Installation

# Using uvx (recommended)
uvx windows-capture-mcp

# Using pip
pip install windows-capture-mcp

MCP Client Configuration

Claude Code

claude mcp add windows-capture-mcp -s user -- uvx windows-capture-mcp

Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "windows-capture-mcp": {
      "command": "uvx",
      "args": ["windows-capture-mcp"]
    }
  }
}

Available Tools

Information

Tool Description
list_windows List visible windows with optional title filtering (case-insensitive)
list_displays List all connected displays with resolution, position, and scale info

Screen Capture (Full Quality)

Tool Description
capture_window Capture a specific window by handle
capture_fullscreen Capture an entire display
capture_region Capture a rectangular region

All capture tools support format ("png", "jpeg", "webp") and quality (1-100) parameters.

Preview (Lightweight)

Tool Description
preview_window Low-quality preview of a window
preview_fullscreen Low-quality preview of a display
preview_region Low-quality preview of a region

Preview images are JPEG at quality 30, resized to max 1280px on the longest side. Use these to verify capture targets before taking full-quality screenshots.

Window Management

Tool Description
focus_window Bring a window to the foreground
maximize_window Maximize a window
resize_window Resize a window (keeps position)
move_window Move a window (keeps size)

Usage Example

1. list_windows(filter="Chrome")       → Find browser windows
2. preview_window(hwnd=12345)           → Quick preview to verify
3. capture_window(hwnd=12345)           → Full-quality capture

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

windows_capture_mcp-0.1.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

windows_capture_mcp-0.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file windows_capture_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: windows_capture_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.12

File hashes

Hashes for windows_capture_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d17ba71de71f0f337708ffb21aeecf61120937c0bf2717021c0197c187f9802
MD5 970805d7ae4a8341e407bb995d052cee
BLAKE2b-256 182fd55bfe433ad4f0dd9da7d9e010d780532a4c76e6ad69090f4cfd58632f7b

See more details on using hashes here.

File details

Details for the file windows_capture_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for windows_capture_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbf7ea919a1243eb4f301d7c13c7caccd88dc026799372f8fb0645ac2a248637
MD5 51ca447d8d5b7bdf1d9328235dbd2874
BLAKE2b-256 c94135e4f8bc0f1c724f4b37995f6719af33bacee49e8e3edf2bd89a361fe00e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page