Jupyter Notebooks · Capability
Jupyter Notebook Server REST API
REST API for the Jupyter Notebook server, providing access to notebook contents, kernels, kernel specs, sessions, and terminals. Used by clients to drive interactive computing workflows.
What You Can Do
GET
Getcontents
— Get contents at a path
/contents/{path}
PUT
Savecontents
— Save or upload contents at a path
/contents/{path}
PATCH
Renamecontents
— Rename or move contents
/contents/{path}
POST
Createcontents
— Create a new file or directory
/contents/{path}
DELETE
Deletecontents
— Delete contents at a path
/contents/{path}
GET
Listcheckpoints
— List checkpoints for a file
/contents/{path}/checkpoints
POST
Createcheckpoint
— Create a new checkpoint
/contents/{path}/checkpoints
POST
Restorecheckpoint
— Restore a file to a checkpoint
/contents/{path}/checkpoints/{checkpoint_id}
DELETE
Deletecheckpoint
— Delete a checkpoint
/contents/{path}/checkpoints/{checkpoint_id}
GET
Listkernels
— List running kernels
/kernels
POST
Startkernel
— Start a new kernel
/kernels
GET
Getkernel
— Get kernel info
/kernels/{kernel_id}
DELETE
Shutdownkernel
— Shut down a kernel
/kernels/{kernel_id}
POST
Interruptkernel
— Interrupt a kernel
/kernels/{kernel_id}/interrupt
POST
Restartkernel
— Restart a kernel
/kernels/{kernel_id}/restart
GET
Listkernelspecs
— List installed kernel specs
/kernelspecs
GET
Listsessions
— List active sessions
/sessions
POST
Createsession
— Create a new session
/sessions
GET
Getsession
— Get a session
/sessions/{session_id}
PATCH
Updatesession
— Update a session
/sessions/{session_id}
DELETE
Deletesession
— Delete a session
/sessions/{session_id}
GET
Listterminals
— List active terminals
/terminals
POST
Startterminal
— Start a new terminal
/terminals
GET
Getterminal
— Get a terminal
/terminals/{terminal_id}
DELETE
Stopterminal
— Stop a terminal
/terminals/{terminal_id}
MCP Tools
getcontents
Get contents at a path
read-only
idempotent
savecontents
Save or upload contents at a path
idempotent
renamecontents
Rename or move contents
createcontents
Create a new file or directory
deletecontents
Delete contents at a path
idempotent
listcheckpoints
List checkpoints for a file
read-only
idempotent
createcheckpoint
Create a new checkpoint
restorecheckpoint
Restore a file to a checkpoint
deletecheckpoint
Delete a checkpoint
idempotent
listkernels
List running kernels
read-only
idempotent
startkernel
Start a new kernel
getkernel
Get kernel info
read-only
idempotent
shutdownkernel
Shut down a kernel
idempotent
interruptkernel
Interrupt a kernel
restartkernel
Restart a kernel
listkernelspecs
List installed kernel specs
read-only
idempotent
listsessions
List active sessions
read-only
idempotent
createsession
Create a new session
getsession
Get a session
read-only
idempotent
updatesession
Update a session
deletesession
Delete a session
idempotent
listterminals
List active terminals
read-only
idempotent
startterminal
Start a new terminal
getterminal
Get a terminal
read-only
idempotent
stopterminal
Stop a terminal
idempotent