cua icon indicating copy to clipboard operation
cua copied to clipboard

[MCP] MCP server is disconnecting

Open tomascupr opened this issue 8 months ago • 3 comments

I did everything from README and Claude Desktop is returning this

2025-04-21T08:26:10.326Z [cua-agent] [info] Initializing server... 2025-04-21T08:26:10.353Z [cua-agent] [info] Server started and connected successfully 2025-04-21T08:26:10.354Z [cua-agent] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} /bin/bash: ~/.cua/start_mcp_server.sh: No such file or directory 2025-04-21T08:26:10.356Z [cua-agent] [info] Server transport closed 2025-04-21T08:26:10.356Z [cua-agent] [info] Client transport closed 2025-04-21T08:26:10.356Z [cua-agent] [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-21T08:26:10.356Z [cua-agent] [error] Server disconnected. For troubleshooting guidance, please visit our debugging documentation {"context":"connection"} 2025-04-21T08:26:10.357Z [cua-agent] [info] Client transport closed

tomascupr avatar Apr 21 '25 08:04 tomascupr

Hi @tomascupr - this issue might be relevant: https://github.com/trycua/cua/issues/117#issuecomment-2822873210

If not, feel free to join the conversation in the #mcp channel on our Discord - we’d be happy to help troubleshoot and figure out what’s going on.

f-trycua avatar Apr 23 '25 02:04 f-trycua

I reinstalled the package and have the same issue. README looks the same. What were the extra dependencies?

On Wed 23. 4. 2025 at 4:05, f-trycua @.***> wrote:

Hi @tomascupr https://github.com/tomascupr - this issue might be relevant: #117 (comment) https://github.com/trycua/cua/issues/117#issuecomment-2822873210

If not, feel free to join the conversation in the #mcp channel on our Discord https://discord.com/invite/mVnXXpdE85 - we’d be happy to help troubleshoot and figure out what’s going on.

— Reply to this email directly, view it on GitHub https://github.com/trycua/cua/issues/120#issuecomment-2822877157, or unsubscribe https://github.com/notifications/unsubscribe-auth/BQCPGMH7P2M2NVH445TVT2D223YONAVCNFSM6AAAAAB3Q24VPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRSHA3TOMJVG4 . You are receiving this because you were mentioned.Message ID: @.***> f-trycua left a comment (trycua/cua#120) https://github.com/trycua/cua/issues/120#issuecomment-2822877157

Hi @tomascupr https://github.com/tomascupr - this issue might be relevant: #117 (comment) https://github.com/trycua/cua/issues/117#issuecomment-2822873210

If not, feel free to join the conversation in the #mcp channel on our Discord https://discord.com/invite/mVnXXpdE85 - we’d be happy to help troubleshoot and figure out what’s going on.

— Reply to this email directly, view it on GitHub https://github.com/trycua/cua/issues/120#issuecomment-2822877157, or unsubscribe https://github.com/notifications/unsubscribe-auth/BQCPGMH7P2M2NVH445TVT2D223YONAVCNFSM6AAAAAB3Q24VPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRSHA3TOMJVG4 . You are receiving this because you were mentioned.Message ID: @.***>

tomascupr avatar Apr 23 '25 06:04 tomascupr

@tomascupr - step 1 to 4 needs to happen before starting the MCP server: https://github.com/trycua/cua?tab=readme-ov-file#option-2-full-computer-use-agent-capabilities

francedot avatar Apr 26 '25 23:04 francedot