Skip to main content

Jupyter MCP Spaces

Lists and opens the notebooks of a Datalayer space.

Datalayer keeps notebooks in spaces, addressed by uid. There is no filesystem and no kernels API, so the tools that assume a Jupyter server have nothing to answer:

Tool On a Jupyter server On Datalayer
list_files lists the directory nothing to list
list_kernels lists kernels runtimes, provisioned on demand
list_notebooks notebooks bound this session

This extension replaces list_notebooks with one that answers the question people actually ask, adds list_spaces and find_notebook, and hides the tools that cannot work — so an agent is never offered a tool that always fails.

Install

pip install jupyter-mcp-spaces

It registers itself on the jupyter_mcp_server.extensions entry point and activates only when the server runs with --document-provider datalayer. Pointed at a Jupyter server it does nothing, and the ordinary tools stay.

jupyter-mcp-server start --transport streamable-http \
  --document-provider datalayer \
  --document-url https://prod1.datalayer.run

Tools

Tool What it answers
list_spaces The spaces you can reach
list_notebooks The notebooks in them, with uid and space
find_notebook Which notebook a name means — or the candidates, when it is ambiguous

find_notebook never picks between candidates. Guessing which notebook somebody meant is how an agent edits the wrong one.

Credentials

Every call carries the token of the request being served, from jupyter_mcp_server.identity. A server acting for several people over its life must use the credential each request arrived with, not one configured at startup — see the identity documentation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_mcp_spaces-0.1.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_mcp_spaces-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_mcp_spaces-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f498f27def5084f32200a4538ab5498fa83d95bab61aa257d955fad2b7074d51
MD5 4a6a3b4906882e272f8afe926f06d7ac
BLAKE2b-256 7598be75771c83a0a33de5b62068d80d666e4351da74a462320a3fa2889f674e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

1 file

This release

0.1.2 This release

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page