From 3e19a0b2fd7d51194198e32383c3d1b56707e5af Mon Sep 17 00:00:00 2001 From: fengping hu Date: Thu, 2 Jul 2026 17:39:40 -0500 Subject: [PATCH] docs(jupyter): add /proxy/3001 to BinderHub MCP endpoint path Co-Authored-By: Claude Opus 4.8 --- docs/uchicago/jupyter.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/uchicago/jupyter.md b/docs/uchicago/jupyter.md index b99bb5d..388e5b1 100644 --- a/docs/uchicago/jupyter.md +++ b/docs/uchicago/jupyter.md @@ -448,7 +448,7 @@ you launched: | Surface | Endpoint | Token | Token lifetime | Endpoint lifetime | | --------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `https://jupyterhub.af.uchicago.edu` (BinderHub-launched) | `/user//mcp` | JupyterHub API token, scope **`access:servers`** (or the tighter `access:servers!user=`) | Durable — mint once at `/hub/token`, reuse across spawns | Only while your server is running; if culled, the endpoint 404s until you spawn again, then the **same** token reconnects | +| `https://jupyterhub.af.uchicago.edu` (BinderHub-launched) | `/user//proxy/3001/mcp` | JupyterHub API token, scope **`access:servers`** (or the tighter `access:servers!user=`) | Durable — mint once at `/hub/token`, reuse across spawns | Only while your server is running; if culled, the endpoint 404s until you spawn again, then the **same** token reconnects | | `https://af.uchicago.edu/jupyterlab` (af-portal-launched) | `./mcp` | The `?token=…` from your notebook URL — this is the singleuser server's `IdentityProvider` token | Generated per pod; **gone forever** when the pod is reaped | Same as token lifetime | Both designs are intentional: the credential is scoped to your identity, the @@ -471,7 +471,7 @@ For Claude Code: ```bash claude mcp add jupyter --transport http \ - https://jupyterhub.af.uchicago.edu/user//mcp \ + https://jupyterhub.af.uchicago.edu/user//proxy/3001/mcp \ --header "Authorization: Bearer " ``` @@ -486,7 +486,7 @@ For Claude app, Cursor, Continue, or any client configured via "args": [ "-y", "mcp-remote", - "https://jupyterhub.af.uchicago.edu/user//mcp", + "https://jupyterhub.af.uchicago.edu/user//proxy/3001/mcp", "--header", "Authorization:${JUPYTERHUB_AUTH_HEADER}" ],