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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe3163464ce86e283321b80e5bcc94f05b07e58a470305ad5df826668a17c015
|
|
| MD5 |
0884a1aa59930ed7f812921e37357a12
|
|
| BLAKE2b-256 |
63c2c0532ab2687650adb1c42b836ed4b70ca52c2c35df12366df636faba319b
|
Provenance
The following attestation bundles were made for mcp_window_vision-0.2.0.tar.gz:
Publisher:
publish.yml on opieeipo/MCPWindowVision
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_window_vision-0.2.0.tar.gz -
Subject digest:
fe3163464ce86e283321b80e5bcc94f05b07e58a470305ad5df826668a17c015 - Sigstore transparency entry: 1758619718
- Sigstore integration time:
-
Permalink:
opieeipo/MCPWindowVision@a74ef2aa2b13a9b3d098f268b43b306f9c6a7c4a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/opieeipo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a74ef2aa2b13a9b3d098f268b43b306f9c6a7c4a -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_window_vision-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcp_window_vision-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5832896645b4c036f2e16dd8b83ea8b365856a7787766f805caaca6a00ee0ba
|
|
| MD5 |
d676af28bab5978fc351a15c811fa00f
|
|
| BLAKE2b-256 |
f35341f353ac0231bdc95f27c9513f18586bb66cc6c767c8eec36e52e23ab5eb
|
Provenance
The following attestation bundles were made for mcp_window_vision-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on opieeipo/MCPWindowVision
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_window_vision-0.2.0-py3-none-any.whl -
Subject digest:
c5832896645b4c036f2e16dd8b83ea8b365856a7787766f805caaca6a00ee0ba - Sigstore transparency entry: 1758619794
- Sigstore integration time:
-
Permalink:
opieeipo/MCPWindowVision@a74ef2aa2b13a9b3d098f268b43b306f9c6a7c4a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/opieeipo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a74ef2aa2b13a9b3d098f268b43b306f9c6a7c4a -
Trigger Event:
release
-
Statement type: