open_colab_browser_connection returns false - missing URL parameters #54
Replies: 7 comments 10 replies
|
yes, invoke open_colab_browser_connection failed. |
|
yes |
|
@xiaods @kiwamizamurai are you both also on Kiro IDE? |
|
I'm using Claude Code as the MCP client { |
|
Whats next |
I managed to run with OpenCodeI was getting this problem and that's what I did that fixed it:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"colab_mcp": {
"type": "local",
"command": [
"uvx",
"git+https://github.com/googlecolab/colab-mcp"
],
"timeout": 30000,
"enabled": true
}
}
}
To connect with an existent notebook:
Hope it helps! |
|
Hit this exact issue, open_colab_browser_connection returns false and the tab never connects. For me it was two server bugs: ColabClient initialized without the Prod() env arg, and on Windows the proxy port (53919) is blocked (WinError 10013), so the token/port never made it into the URL fragment. Patched both in a fork (also pre-registered the notebook tools so they show up immediately): https://github.com/SebastianGilPinzon/colab-mcp, happy to help if anyone tries it and still hits the false. |
Uh oh!
There was an error while loading. Please reload this page.
open_colab_browser_connection returns false - missing URL parameters
Problem
open_colab_browser_connectionreturnsfalseeven though browser opens successfully. The WebSocket connection fails because URL parameters are missing.Setup
Config:
{ "mcpServers": { "colab-mcp": { "command": "uvx", "args": ["git+https://github.com/googlecolab/colab-mcp", "--enable-proxy"], "timeout": 30000 } } }What Happens
open_colab_browser_connectionhttps://colab.research.google.com/notebooks/empty.ipynbfalseExpected vs Actual
Expected: URL should include
#mcpProxyToken=TOKEN&mcpProxyPort=PORTActual: URL has no connection parameters
Investigation
mcpProxyTokenandmcpProxyPortparametersRoot Cause
The browser URL generation isn't including the token/port parameters needed for WebSocket connection back to the local MCP server.
All reactions