code-server should just work, for instance this repo let’s you run it on mybinder:
[image]
GitHub - betatim/vscode-binder: VS Code on Binder
VS Code on Binder. Contribute to betatim/vscode-binder development by creating an account on GitHub.
You can choose wh… Answer from manics on discourse.jupyter.org
Visual Studio Code
code.visualstudio.com › docs › datascience › jupyter-notebooks
Jupyter Notebooks in VS Code
November 3, 2021 - To work with Python in Jupyter Notebooks, you must activate an Anaconda environment in VS Code, or another Python environment in which you've installed the Jupyter package. To select an environment, use the Python: Select Interpreter command from the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)). Once the appropriate environment is activated, you can create and open a Jupyter Notebook, connect to a remote Jupyter server for running code cells, and export a Jupyter Notebook as a Python file.
Top answer 1 of 15
1
code-server should just work, for instance this repo let’s you run it on mybinder:
[image]
GitHub - betatim/vscode-binder: VS Code on Binder
VS Code on Binder. Contribute to betatim/vscode-binder development by creating an account on GitHub.
You can choose wh…
2 of 15
1
You may consider using jupyter-server-proxy
I compiled and wrote plugins to run several apps within jupyterlab. Not all work well, but code-server does, though you may need to adapt it to your environment:
jupyterhub-deploy-docker-VM/singleuser/srv/jupyter_codeserver_proxy at master ·...
…
Videos
How to run Jupyter Lab, Code Server and RStudio on Ibex
Getting Started with Jupyter Notebooks in VS Code
06:33
Jupyter Notebook Setup with VSCode and Virtual Env - Raw version ...
03:48
Get started with Jupyter Notebooks in less than 4 minutes - YouTube
15:57
Getting Started with Jupyter Notebooks in VS Code - YouTube
24:04
Jupyter Notebook Setup on a Remote Server Then in Visual Studio ...
GitHub
github.com › pc2 › jupyter-code-server
GitHub - pc2/jupyter-code-server: Running VSCode Web IDE inside the Jupyter environment · GitHub
If running code-server is listening to UNIX socket, environment variable JSP_CODE_SERVER_SOCKET may be set to socket file path. If none of these environment variables are set, jupyter-code-server starts new code-server process and proxies requests to its socket.
Starred by 9 users
Forked by 7 users
Languages Python
GitHub
github.com › dirkcgrunwald › jupyter_codeserver_proxy-
GitHub - dirkcgrunwald/jupyter_codeserver_proxy-: jupyter proxy for the coder.com code-server version of VScode
$ make build # ... # Successfully tagged codeserver-notebook:latest # Built image size: 2.08GB $ make dev # ... # [I 07:14:39.235 LabApp] Jupyter Notebook 6.1.4 is running at: # [I 07:14:39.236 LabApp] http://d30367ff292a:8888/?token=048a06d6769cc34698365cfa427904d80b43498faaefb4e2 # [I 07:14:39.237 LabApp] or http://127.0.0.1:8888/?token=048a06d6769cc34698365cfa427904d80b43498faaefb4e2 # [I 07:14:39.238 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Starred by 28 users
Forked by 24 users
Languages Python 38.6% | Makefile 31.9% | Dockerfile 29.5% | Python 38.6% | Makefile 31.9% | Dockerfile 29.5%
PyPI
pypi.org › project › jupyter-vscode-server
jupyter-vscode-server
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
PyPI
pypi.org › project › jupyter-code-server
jupyter-code-server · PyPI
» pip install jupyter-code-server
Published May 26, 2025
Version 1.2
Visual Studio Code
code.visualstudio.com › docs › datascience › notebooks-web
Jupyter Notebooks on the web
November 3, 2021 - This will download and start the VS Code Server on your remote machine and then create a tunnel to it. Use the CLI's output vscode.dev URL tied to this remote machine, such as https://vscode.dev/tunnel/<machine_name>/<folder_name> for access to this remote machine on any client. Open a notebook file and select any Jupyter kernel or Python environment to run your code.
GitHub
github.com › coder › code-server › issues › 1242
Jupyter Notebooks inside coder vscode? · Issue #1242 · coder/code-server
January 1, 2020 - Hello, Is it possible to run jupyter notebooks inside coder, if so is there any documentation about connecting anaconda and coder? https://www.youtube.com/watch?v=FSdIoJdSnig Thanks
Author bhope78
Stack Overflow
stackoverflow.com › questions › 75875664 › jupyter-notebook-cells-not-showing-in-code-server-running-in-a-docker
python - Jupyter Notebook cells not showing in code-server running in a docker - Stack Overflow
FROM python:3.9.13 # install some basic stuff RUN apt-get update && apt-get install -y \ openssl \ net-tools \ git \ locales \ dumb-init \ vim \ curl \ wget \ python3-pip \ && rm -rf /var/lib/apt/lists/* # install kernel RUN pip install ipykernel # install the latest code-server version RUN curl -fsSL https://code-server.dev/install.sh | sh RUN groupadd -g 999 coder && \ useradd -r -u 999 -g coder coder && \ mkdir /home/coder && \ chown coder:coder /home/coder USER 999:999 EXPOSE 3000 ENV HOME /home/coder ENV GIT_DISCOVERY_ACROSS_FILESYSTEM 1 # install VS Code extensions for the user RUN code-server --install-extension ms-python.python ENTRYPOINT ["dumb-init", "--"] CMD ["bash", "-c", "exec code-server --host 0.0.0.0 --port 3000 --auth none /home/coder"]
Cloudera
docs.cloudera.com › machine-learning › cloud › projects › topics › ml-vs-code-with-jupyter.html
(Optional) Using VS Code with Jupyter
1 month ago - This creates a Jupyter server that any new Notebooks you launch will run in. After you install the Jupyter Notebooks, you can use it inside VS Code.
Medium
medium.com › @chongdashu › connecting-visual-studio-code-with-jupyter-notebooks-on-a-remote-gpu-server-instance-8f7cc0696a45
Connecting Visual Studio Code with Jupyter Notebooks on a remote GPU server instance | by Chong-U Lim | Medium
February 1, 2024 - As there is actually a way to get to our desired end state: where VS Code has access to not just the kernel, but the file system and also the ability for Pylance and other extensions to work! Let’s walk through how… · The key idea here is that rather than just connecting to the Jupyter kernel, we instead connect to the server instance entirely!
GitHub
github.com › jupyterhub › jupyter-server-proxy
GitHub - jupyterhub/jupyter-server-proxy: Jupyter notebook server extension to proxy web services. · GitHub
Jupyter Server Proxy lets you run arbitrary external processes (such as RStudio, Shiny Server, Syncthing, PostgreSQL, Code Server, etc) alongside your notebook server and provide authenticated web access to them using a path like /rstudio next to others like /lab. Alongside the python package that provides the main functionality, the JupyterLab extension (@jupyterhub/jupyter-server-proxy) provides buttons in the JupyterLab launcher window to get to RStudio for example.
Starred by 392 users
Forked by 152 users
Languages Python 88.0% | TypeScript 7.8% | RobotFramework 3.1%
Medium
medium.com › @francisferreiracunha › vscode-remote-jupyter-server-setup-12992a11bba8
VSCode remote SSH Jupyter server setup | by Francisco Cunha | Medium
March 7, 2022 - It’s now time to check the connectivity with the jupyter server. Is it accessible from your local machine? That’s the question for now. Open your preferred web browser and copy the URL highlighted a few paragraphs above, however slightly changed! Replace $PORT_NUMBER_TO_SERVE_JUPYTER_NOTEBOOK by $LOCAL_PORT_NUMBER. Could you visualize your jupyter session locally? Great, it means you are a step closer to be able to edit your notebooks in VSCode and deploy them remotely. Open VS Code (with Python, Jupyter and Remote SSH extensions installed), go to the Command Palette and choose Jupyter: Specify Jupyter server for connections -> Existing and fill in the line edit shown by copying the contents of the URL obtained after applying the aforementioned changes.
Top answer 1 of 5
1
As far as I know you can’t run the official VSCode yourself in Jupyter (though I might well be wrong!), but you can run one of the related forks:
[image]
GitHub - betatim/vscode-binder: VS Code on Binder
VS Code on Binder. Contribute to betatim/vscode-binder development by creating an ac…
2 of 5
1
You can use jupyter_server (backend server for JupyterLab and Notebook) as a proxy to spawn a code-server using jupyter-server-proxy. The repo @manics linked provides an entry point to jupyter-server-proxy to spawn a code-server (which is VSCode in browser).
Here is another implementation of entry …


