Skip to main content

Carrot MCP System Server - screenshot, keyboard, app launcher

Project description

carrot-mcp-sys

Carrot MCP System Server — screenshot capture for multimodal analysis.

Features

  • Multi-monitor support: Capture individual monitors or all at once
  • Region capture: Crop to any rectangular area using absolute screen coordinates
  • Save to file: Optionally save captured images to disk
  • MCP-compatible output: Returns base64-encoded PNG images ready for LLM processing

Tools

Tool Description
version Get server version info
list_monitors List all monitors with coordinates and resolution
screenshot Capture screenshot — supports monitor index, region coordinates, or all monitors

Installation

# From project root
uv sync --all-packages

# Or install standalone
pip install carrot-mcp-sys

Usage

Run as MCP server

carrot-mcp sys
python -m carrot_mcp_sys

Coordinate system

All coordinates are absolute screen pixels with origin (0,0) at the top-left corner of the virtual screen.

Monitor 1 (left):  left=0,    top=0, width=1920, height=1080
Monitor 2 (right): left=1920, top=0, width=2560, height=1440

Use list_monitors to discover each monitor's position.

Examples

Capture full monitor:

{"tool": "screenshot", "monitor": 1}

Capture an absolute region:

{"tool": "screenshot", "left": 1920, "top": 100, "width": 800, "height": 600}

Capture all monitors:

{"tool": "screenshot"}

Save to file:

{"tool": "screenshot", "monitor": 1, "save_path": "/tmp/capture.png"}

Output format

Each monitor capture returns:

{
  "width": 1920,
  "height": 1080,
  "origin": {"left": 0, "top": 0},
  "bytes": 524288,
  "image": {
    "type": "image",
    "base64": "data:image/png;base64,...",
    "mime": "image/png"
  },
  "monitor": {"index": 1, "left": 0, "top": 0, "width": 1920, "height": 1080}
}

Dependencies

  • mcp>=1.28.0
  • mss>=9.0.0 — fast cross-platform screenshot library

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

carrot_mcp_sys-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

carrot_mcp_sys-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file carrot_mcp_sys-0.1.1.tar.gz.

File metadata

  • Download URL: carrot_mcp_sys-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for carrot_mcp_sys-0.1.1.tar.gz
Algorithm Hash digest
SHA256 154983dae38e15c5ddb56e781279cf5cf893fdacc950522c7eb49135d1dcf21f
MD5 478574fff890fc79200c94bef42c0fea
BLAKE2b-256 3a3879ace7b58ca4ab8af212d30f6a860179b799d59bf690abe5ab51a0f2ee84

See more details on using hashes here.

File details

Details for the file carrot_mcp_sys-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: carrot_mcp_sys-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for carrot_mcp_sys-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00e62891231b2072983b97b7bb3b432e9fd5864176d7f67eff02376f809d1fef
MD5 c3b8c743eb65d2717d70b9b049cd86dc
BLAKE2b-256 b5c95cd1f8935a2ff0c100c3dbe45023b07dcc59f257a6d65fe1dc347d9f676b

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