NotebookLM MCP supports Streamable HTTP, but it is designed primarily for local, single-user operation. It is not a secure, turnkey public connector.
The MCP HTTP endpoint has no built-in authentication, authorization, or TLS.
The server binds to loopback by default and refuses external binds unless
NOTEBOOKLM_ALLOW_EXTERNAL_BIND=1 is set. That override only removes the bind
guard; it does not secure the endpoint.
Never expose notebooklm-mcp directly to the public internet. If remote access
is required:
127.0.0.1.Safe local HTTP startup:
notebooklm-mcp \
--transport http \
--host 127.0.0.1 \
--port 8000 \
--path /mcp
This exposes http://127.0.0.1:8000/mcp and a local health endpoint at
http://127.0.0.1:8000/health.
Remote operation involves two separate credentials:
nlm login must maintain the Google browser session used for NotebookLM.The MCP server uses one process-wide NotebookLM profile. Every caller operates
the same Google account, and nlm login switch <profile> changes the account
for the whole server. An OAuth gateway controls access to the endpoint but does
not create per-user NotebookLM isolation.
Google can require interactive sign-in again at any time. Persistent local browser profiles give the best recovery behavior. VPS and container deployments may require manual authentication maintenance, especially when storage is ephemeral or cookies are supplied only through environment variables.
MCP file paths always refer to the filesystem of the machine running the server:
source_add(
notebook_id="...",
source_type="file",
file_path="/path/on/server/document.pdf",
)
A browser or phone path is not uploaded automatically. Likewise,
download_artifact(output_path=...) writes to the server host; it does not
return a secure browser download URL. Remote file upload and download require a
separate, authenticated file-transfer layer.
Remote deployments are therefore best suited to URL, text, and Drive sources; research; queries; Studio creation/status; and metadata operations.
The full repository guide is docs/REMOTE_MCP.md.