Skip to main content

Cross-platform MCP server giving AI assistants screen vision and Unity Console-log access (macOS / Windows / Linux).

Project description

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

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

mcp_window_vision-0.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

mcp_window_vision-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_window_vision-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_window_vision-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_window_vision-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fe3163464ce86e283321b80e5bcc94f05b07e58a470305ad5df826668a17c015
MD5 0884a1aa59930ed7f812921e37357a12
BLAKE2b-256 63c2c0532ab2687650adb1c42b836ed4b70ca52c2c35df12366df636faba319b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_window_vision-0.2.0.tar.gz:

Publisher: publish.yml on opieeipo/MCPWindowVision

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_window_vision-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_window_vision-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5832896645b4c036f2e16dd8b83ea8b365856a7787766f805caaca6a00ee0ba
MD5 d676af28bab5978fc351a15c811fa00f
BLAKE2b-256 f35341f353ac0231bdc95f27c9513f18586bb66cc6c767c8eec36e52e23ab5eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_window_vision-0.2.0-py3-none-any.whl:

Publisher: publish.yml on opieeipo/MCPWindowVision

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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