Skip to main content

MCP Window Vision

A small, cross-platform MCP server (macOS / Windows / Linux) that gives an AI assistant eyes on your screen and access to Unity's Console log — so an agent working on a GUI app (like a Unity project) can see the result and read the errors itself, instead of asking you to screenshot and paste.

Screenshots use mss + Pillow (both cross-platform). The MCP transport is pure standard library. Runs on Python 3.9+.

Tools

Tool What it does
capture_screen Screenshot the main display (downscaled), returned as a PNG image
capture_region Screenshot a rectangle {x, y, w, h} (pixels)
read_unity_console Tail Unity's Editor.log (Debug.Log / errors / compile messages); optional substring filter

Requirements

  • macOS, Windows, or Linux (Linux capture needs X11)
  • Python 3.9+
  • macOS only: Screen Recording permission for whatever process launches the server (your terminal / MCP client): System Settings → Privacy & Security → Screen Recording.

Unity Editor.log is found automatically per-OS:

OS Path
macOS ~/Library/Logs/Unity/Editor.log
Windows %LOCALAPPDATA%\Unity\Editor\Editor.log
Linux ~/.config/unity3d/Editor.log

Install

pip install mcp-window-vision

This installs the mcp-window-vision console command.

Verify screen capture works (and that permission is granted):

mcp-window-vision --selftest
# -> "capture OK — NNNNN base64 chars"

Use with Claude Code

User scope (available in every project):

claude mcp add window-vision --scope user -- mcp-window-vision

…or per-project via a .mcp.json at the project root:

{
  "mcpServers": {
    "window-vision": {
      "type": "stdio",
      "command": "mcp-window-vision"
    }
  }
}

Restart the session so the client picks up the server. (Before publishing/installing, you can point command at python3 with args: ["/path/to/src/mcp_window_vision/server.py"].)

Develop

git clone https://github.com/opieeipo/MCPWindowVision
cd MCPWindowVision
pip install -e .
mcp-window-vision --selftest

Roadmap

  • v0.1: macOS screen/region capture + Unity log reading.
  • v0.2 (current): cross-platform (macOS / Windows / Linux) via mss + Pillow.
  • next: a Unity-side C# bridge for live editor control (run menu items, inspect serialized references, enter/exit Play) — closing the loop fully.

License

MIT

Metadata

Release files for mcp-window-vision 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-window-vision 0.2.0
File Size Uploaded Provenance
mcp_window_vision-0.2.0.tar.gz 5.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-window-vision 0.2.0
File Interpreter ABI Platform
mcp_window_vision-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / mcp_window_vision-0.2.0.tar.gz

Download URL mcp_window_vision-0.2.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fe3163464ce86e283321b80e5bcc94f05b07e58a470305ad5df826668a17c015
BLAKE2b-256 checksum
How to use checksums
63c2c0532ab2687650adb1c42b836ed4b70ca52c2c35df12366df636faba319b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 8, 2026.

Transparency log

Release files / mcp_window_vision-0.2.0-py3-none-any.whl

Download URL mcp_window_vision-0.2.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5832896645b4c036f2e16dd8b83ea8b365856a7787766f805caaca6a00ee0ba
BLAKE2b-256 checksum
How to use checksums
f35341f353ac0231bdc95f27c9513f18586bb66cc6c767c8eec36e52e23ab5eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 8, 2026.

Transparency log

Security for mcp-window-vision 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_window_vision-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page