Notebook MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JUPYTER_TOKEN | Yes | The authentication token for the Jupyter server | |
| JUPYTER_BASE_URL | No | The base URL of the Jupyter server | http://localhost:8888 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| notebook_analyzeC | Analyze a notebook and return structured cell info and dependency edges. |
| notebook_contextC | Return a focused, dependency-aware context slice for a given cell. |
| notebook_export_scriptC | Export notebook code to a best-effort deterministic Python script. |
| notebook_stateC | Compute best-effort execution state for each cell using execution_count + dependency edges. |
| notebook_rerun_planC | Recommend a rerun plan (best-effort offline) for a focus cell. |
| jupyter_list_sessionsB | List Jupyter Server sessions (requires JUPYTER_BASE_URL and optional JUPYTER_TOKEN). |
| jupyter_get_kernelC | Get kernel metadata from Jupyter Server. |
| jupyter_executeC | Execute code on a Jupyter kernel via Jupyter Server websocket channels. Requires:
|
| jupyter_execution_submitD | – |
| jupyter_execution_statusD | – |
| jupyter_execution_outputD | – |
| jupyter_execution_cancelD | – |
| jupyter_inspectC | Inspect an expression on a kernel using user_expressions (repr + type). Requires:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akram-side-projects/notebook-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server