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.0.tar.gz (3.6 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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: carrot_mcp_sys-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 a70cd412fdfe8f162a7341c2165f4fb98c95cd83686a885bbd74ac58ded50063
MD5 70abdaa5de2a3c4eeb995ee94e6d5190
BLAKE2b-256 8202a75082455de116ccfd461a59456fed909e518478c706ec5018c604c75ecb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: carrot_mcp_sys-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5af5badf0b5a908d4f8e8afc7e07e3937dc36b2561d15a6fdf3cd6ce69e8c9
MD5 1d8ee4af3d3a64530e7f23d0e8ce34b8
BLAKE2b-256 7d103273a8d9c378a65677580993efe97915dae7edcdf762b78d67bd9461d54f

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