Skip to main content

Zero-dependency MCP server giving AI assistants screen vision and Unity Console-log access on macOS.

Project description

MCP Window Vision

A tiny, zero-dependency MCP server that gives an AI assistant eyes on your macOS 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.

Pure Python standard library + macOS's built-in screencapture and sips. Runs on the system Python (3.9+). Nothing to compile, no packages to install for it to run.

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
  • Python 3.9+
  • Screen Recording permission for whatever process launches the server (your terminal or MCP client): System Settings → Privacy & Security → Screen Recording.

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

  • v1 (this): screen/region capture + Unity log reading.
  • v2: 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.1.0.tar.gz (5.3 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.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_window_vision-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 739d6bcc19a2b4e71cad55e022fda6439d93a7617180962e56b87d8bc87659db
MD5 d298d901b907f2704575125e8e0cfb1b
BLAKE2b-256 af7ffa013c43b918935a86e9a021b07fd8a93db945ec856bcabe0267dda9e449

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_window_vision-0.1.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_window_vision-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbd54eab115dd0eed8368cd0fe0d0364ace420ca479df98226b3a17375c82ac
MD5 161aa02d6b9c658e9b374f9dcaa0a8d8
BLAKE2b-256 8f96e8f9380ad5e660e9baabc44e0d6ddcf925a905cfaa20153d5bd5477dda07

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_window_vision-0.1.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