Skip to content

Commit 3d33704

Browse files
enhance docs (#126)
1 parent 3f88f66 commit 3d33704

File tree

5 files changed

+27
-35
lines changed

5 files changed

+27
-35
lines changed

CHANGELOG.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ To get started with development, you'll need to set up your environment.
5252
make test
5353
```
5454

55+
5. **Build Python Package/Docker Image:**
56+
```bash
57+
# Build the Python package
58+
make build
59+
# Build the Docker image
60+
make build-docker
61+
```
62+
5563
## (Optional) Manual Agent Testing
5664

5765
1. **Build Python Package:**
@@ -93,11 +101,8 @@ To get started with development, you'll need to set up your environment.
93101
"jupyter-mcp-server"
94102
],
95103
"env": {
96-
"DOCUMENT_URL": "http://localhost:8888",
97-
"DOCUMENT_TOKEN": "MY_TOKEN",
98-
"DOCUMENT_ID": "notebook.ipynb",
99-
"RUNTIME_URL": "http://localhost:8888",
100-
"RUNTIME_TOKEN": "MY_TOKEN",
104+
"JUPYTER_URL": "http://localhost:8888",
105+
"JUPYTER_TOKEN": "MY_TOKEN",
101106
"ALLOW_IMG_OUTPUT": "true"
102107
}
103108
}

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,10 @@ Then, configure your client:
207207

208208
> [!TIP]
209209
> 1. **Port Configuration**: Ensure the `port` in your Jupyter URLs matches the one used in the `jupyter lab` command. For simplified config, set this in `JUPYTER_URL`.
210-
> 2. **Server Separation**: The different URL and token variables exist because some deployments separate notebook storage (`DOCUMENT_*`) from kernel execution (`RUNTIME_*`). Use `JUPYTER_URL` and `JUPYTER_TOKEN` when both services are on the same server, or set individual variables for advanced deployments.
210+
> 2. **Server Separation**: Use `JUPYTER_URL` when both services are on the same server, or set individual variables for advanced deployments. The different URL variables exist because some deployments separate notebook storage (`DOCUMENT_URL`) from kernel execution (`RUNTIME_URL`).
211211
> 3. **Authentication**: In most cases, document and runtime services use the same authentication token. Use `JUPYTER_TOKEN` for simplified config or set `DOCUMENT_TOKEN` and `RUNTIME_TOKEN` individually for different credentials.
212-
> 4. **Notebook Path**: The `DOCUMENT_ID` parameter specifies the path to the notebook you want to connect to. It should be relative to the directory where JupyterLab was started.
213-
> - **Optional:** If you omit `DOCUMENT_ID`, the MCP client can automatically list all available notebooks on the Jupyter server, allowing you to select one interactively via your prompts.
214-
> - **Flexible:** Even if you set `DOCUMENT_ID`, the MCP client can still browse, list, switch to, or even create new notebooks at any time.
212+
> 4. **Notebook Path**: The `DOCUMENT_ID` parameter specifies the path to the notebook the MCP client default to connect. It should be relative to the directory where JupyterLab was started. If you omit `DOCUMENT_ID`, the MCP client can automatically list all available notebooks on the Jupyter server, allowing you to select one interactively via your prompts.
213+
> 5. **Image Output**: Set `ALLOW_IMG_OUTPUT` to `false` if your LLM does not support mutimodel understanding.
215214
216215
For detailed instructions on configuring various MCP clients—including [Claude Desktop](https://jupyter-mcp-server.datalayer.tech/clients/claude_desktop), [VS Code](https://jupyter-mcp-server.datalayer.tech/clients/vscode), [Cursor](https://jupyter-mcp-server.datalayer.tech/clients/cursor), [Cline](https://jupyter-mcp-server.datalayer.tech/clients/cline), and [Windsurf](https://jupyter-mcp-server.datalayer.tech/clients/windsurf) — see the [Clients documentation](https://jupyter-mcp-server.datalayer.tech/clients).
217216

@@ -244,7 +243,7 @@ Looking for blog posts, videos, or other materials about Jupyter MCP Server?
244243

245244
👉 Visit the [**Resources section**](https://jupyter-mcp-server.datalayer.tech/resources) in our documentation for more!
246245

247-
<a href="https://star-history.com/#/repos/datalayer/jupyter-mcp-server&type=Date">
246+
<a href="https://star-history.com/#datalayer/jupyter-mcp-server&type=Date">
248247
<img src="https://api.star-history.com/svg?repos=datalayer/jupyter-mcp-server&type=Date" alt="Star History Chart">
249248
</a>
250249

docs/docs/contribute/index.mdx

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
11
# Contribute
22

3-
## Develop
4-
5-
Clone the repository and install the dependencies.
6-
7-
```bash
8-
git clone https://github.com/datalayer/jupyter-mcp-server
9-
cd jupyter-mcp-server
10-
pip install -e .
11-
```
12-
13-
Build the Docker image from source.
14-
15-
```bash
16-
make build-docker
17-
```
18-
19-
## Contribute
20-
213
We invite you to contribute by [opening issues](https://github.com/datalayer/jupyter-mcp-server/issues) and submitting [pull requests](https://github.com/datalayer/jupyter-mcp-server/pulls).
224

5+
We welcome contributions of all kinds, including:
6+
- 🐛 Bug fixes
7+
- 📝 Improvements to existing features or documentation
8+
- ✨ New feature development
9+
2310
Your contributions help us improve the project and make it more useful for everyone!
11+
12+
See more in [CONTRIBUTING.md](https://github.com/datalayer/jupyter-mcp-server/blob/main/CONTRIBUTING.md)

docs/docs/releases/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
## 0.16.x - 13 Oct 2025
44

55
- [Merge the three execute tools into a single unified tool](https://github.com/datalayer/jupyter-mcp-server/pull/111)
6+
- [Docs: update readme and contributing](https://github.com/datalayer/jupyter-mcp-server/pull/112)
7+
- CI: build Auto Releases CI/CD: [#114](https://github.com/datalayer/jupyter-mcp-server/pull/114), [#115](https://github.com/datalayer/jupyter-mcp-server/pull/115), [#119](https://github.com/datalayer/jupyter-mcp-server/pull/119), [#120](https://github.com/datalayer/jupyter-mcp-server/pull/120)
8+
- [fix negative index](https://github.com/datalayer/jupyter-mcp-server/pull/116)
9+
- [fix ressources and prompts list](https://github.com/datalayer/jupyter-mcp-server/pull/117)
10+
- [Refactor: separate and simplify the server.py](https://github.com/datalayer/jupyter-mcp-server/pull/123)
11+
- [Feat/add JUPYTER_URL and JUPYTER_TOKEN](https://github.com/datalayer/jupyter-mcp-server/pull/125)
612

713
## 0.15.x - 08 Oct 2025
814

0 commit comments

Comments
 (0)