-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I'm experiencing an issue while attempting to connect my MCP server to Claude through Adobe Photoshop. The connection is failing immediately with the server disconnecting. Below are the error logs from Adobe Photoshop:
025-04-16T15:04:57.214Z [Adobe Photoshop] [info] Initializing server... 2025-04-16T15:04:57.285Z [Adobe Photoshop] [error] spawn uv ENOENT {"context":"connection","stack":"Error: spawn uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"} 2025-04-16T15:04:57.285Z [Adobe Photoshop] [error] spawn uv ENOENT {"stack":"Error: spawn uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"} 2025-04-16T15:04:57.286Z [Adobe Photoshop] [info] Server transport closed 2025-04-16T15:04:57.286Z [Adobe Photoshop] [info] Client transport closed 2025-04-16T15:04:57.286Z [Adobe Photoshop] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e.
console.error('...')in JavaScript,
print('...', file=sys.stderr) in python) and it will appear in this log. 2025-04-16T15:04:57.287Z [Adobe Photoshop] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
It appears that there’s an issue with spawning a process (uv) — potentially due to a missing dependency or incorrect path configuration. Unfortunately, I’m unsure what is causing this issue on my end and would appreciate any assistance in resolving it.
Additionally, when checking the MCP Inspector logs, I observe the following information:
LOGGER : Python path: /Users/username/Documents/adb-mcp-main/mcp/.venv/bin/python LOGGER : PYTHONPATH: None LOGGER : Current working directory: /Users/username/Documents/adb-mcp-main/mcp LOGGER : Sys.path: ['/Users/username/Documents/adb-mcp-main/mcp', '/Users/username/Documents/adb-mcp-main/mcp/.venv/bin', '/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python313.zip', '/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13', '/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/lib-dynload', '/Users/username/Documents/adb-mcp-main/mcp/.venv/lib/python3.13/site-packages'] LOGGER : Socket client configured: app=photoshop, url=http://localhost:3001, timeout=20
From the logs, it appears that the Python virtual environment (.venv) is set up, but the error may still be related to the process not spawning properly. The server is being initialized for the photoshop app and is configured to use localhost:3001, but the connection fails.
Could someone please help me troubleshoot this further? It seems like a potential misconfiguration or missing dependency issue, and I’m unsure how to proceed.
Any guidance would be highly appreciated.