# NotebookLM — how to use (mcp.ai)

Google NotebookLM em linguagem natural: crie notebooks, adicione fontes (PDF, URL, YouTube) e faça perguntas com respostas fundamentadas + citações. NotebookLM não tem API oficial, conecte com 1 clique pela extensão do mcp.ai (captura os cookies da sua sessão Google; ficam criptografados na plataforma).

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_notebooklm?ms=1781045160000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `notebooklm_list`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/notebooklm`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/notebooklm/_endpoints`

## Example prompts
- "Liste meus notebooks do NotebookLM"
- "Pergunte ao meu notebook: qual o resumo das fontes?"
- "Adicione esta URL como fonte ao notebook"

## More
- Page: https://mcp.ai/notebooklm
- Agent spec (llms.txt): https://mcp.ai/notebooklm/llms.txt
- Postman collection: https://mcp.ai/notebooklm/postman.json
