description :
this is my mcp
{
"mcpServers": {
"camera-mcp": {
"command": "uv",
"args": [
"--directory",
"/home/distiller/distiller-cm5-mcp-hub/projects/camera-mcp",
"run",
"python",
"server.py"
]
}
}
}
it return camera snapshot, base64, just like this
img_bytes = capture_snapshot()
img_base64 = base64.b64encode(img_bytes).decode("utf-8")
return [
types.ImageContent(
type="image",
data=img_base64,
mimeType="image/png"
)
]
actually everything works fine, able to call the mcp and Im able to see the image show in chat
but it will 100% trigger this error
Connection failed. If the problem persists, please check your internet connection or VPN
operating system is : 6.12.25+rpt-rpi-2712 (where cursor server running) and I ssh in with my mac (which my ide is running on)
The issue doesnt stops me from using Cursor, but it stops the fun im gonna have. like how cool it would be to let cursor spy on ppl with camera for me duh, and it almost worked