Is the NotebookLM MCP server safe? What it can reach
What the NotebookLM MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Google hosts an official remote MCP server for its Gemini Notebook API, a Public Preview, at notebook.googleapis.com. It signs in with an OAuth 2.0 bearer token and acts as your Google account. It has seven tools: it can list, read, create and update notebooks and sources, and it has no delete tool. Google’s page names no server-side limits, so tool rules in your client are the main control.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Gemini Notebook API MCP server (Google, hosted) | Official | active |
| gemini-notebook-mcp-cli (jacob-bd, community) | Community | active |
| PleasePrompto/notebooklm-mcp (community) | Community | archived |
It runs as a hosted remote server. The documented endpoint is https://notebook.googleapis.com/mcp.
How it signs in
An OAuth 2.0 bearer token from Application Default Credentials, sent with an x-goog-user-project header. The server acts with your Google account’s access to notebooks.
| Scope or permission | Access |
|---|---|
https://www.googleapis.com/auth/notebook | write |
What its tools can do
| Kind | Tools |
|---|---|
| Read | get_notebook, list_notebooks, get_source, list_sources |
| Write | create_notebook, update_notebook, create_source |
| Can’t be undone | none documented |
Google’s page lists seven tools and describes what each does. File uploads are not available through MCP. The Gemini Notebook API is labeled Public Preview, so details may change.
Built-in limits
| Option | What it does |
|---|---|
Token lifetime | Tokens from gcloud application-default print-access-token expire after one hour; the page names this as the only time limit. |
list_notebooks filter | Can filter by notebook.is_owner, which narrows results but is not an access control. |
Client tool rules | The page documents no server-side read-only mode or toolset flag, so limit tools in your client. |
The risks
- A source added to a notebook can carry hidden instructions, and create_source and update_notebook let a prompt-injected agent add content or change a notebook you own.
- Notebook and source text returned by get_source goes to your AI client and its model provider, so anything private in a notebook can leave Google.
- Google’s examples store the bearer token in a plaintext client config for some clients, so a leaked config gives access to your notebooks until the token expires.
- Google’s page says personal Google accounts are required and Workspace accounts are not yet supported, so the setup may not fit managed accounts.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http notebooklm https://notebook.googleapis.com/mcpClaude Code names MCP tools mcp__notebooklm__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__notebooklm__create_notebook",
"mcp__notebooklm__update_notebook",
"mcp__notebooklm__create_source"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.notebooklm]
url = "https://notebook.googleapis.com/mcp"Checklist
- Keep the bearer token out of committed config files.
- Ask before create_source and update_notebook in your client rules.
- Do not add untrusted web pages or files as sources while edit tools are allowed.
- Treat community servers that use browser sessions as a larger risk and read their code first.
Checked against the vendor documentation on November 25, 2026. Gemini Notebook API MCP server (Google) · gemini-notebook-mcp-cli repository
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing