## Description The `insert_execute_code_cell` tool stuck when `PYTHONDEVMODE=1` environment variable is set ## Reproduce 1. Create the following `.mcp.json` ``` { "mcpServers": { "jupyter": { "command": "uvx", "args": [ "jupyter-mcp-server" ], "env": { "JUPYTER_URL": "http://localhost:8888", "JUPYTER_TOKEN": "my token", "ALLOW_IMG_OUTPUT": "true", "PYTHONDEVMODE": "1" } } } } ``` 2. Run `claude` cli 3. Ask the agent to use `insert_execute_code_cell` Then `claude` cli stuck. ## Expected behavior `claude` cli should not get stuck. ## Context Workaround: unset `PYTHONDEVMODE`