Button Color Fix: - Changed CSS selector to target data-testid="baseButton-primary" - Primary buttons now yellow (#FFC407) with black text - Hover state: darker yellow (#E6B006) - Delete/Remove buttons stay red for safety - Better font-weight (600) for buttons Critical Issue Documented: - Created CRITICAL_ISSUE.md documenting data leakage - ALL users share ONE LlamaCloud pipeline - Chat queries return documents from ALL notebooks (not just user's) - SEVERE privacy/security issue - Must be fixed before production use Issue Details: - utils.py uses single PIPELINE_ID from .env - All documents added to same index - query_index() searches entire shared index - No user/notebook isolation in queries Recommended Fix: - Per-notebook pipelines (best for NotebookLM model) - Store pipeline_id in notebooks table - Create pipeline when notebook created - Query only that notebook's pipeline - Complete data isolation Background Queue Status: - Document processing IS using background queue ✓ - Some tasks failing with "Event loop is closed" - Need to investigate async/threading issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
94 lines
8.2 KiB
Text
94 lines
8.2 KiB
Text
[10/01/25 17:08:12] INFO Starting MCP server 'MCP For server.py:1358
|
|
NotebookLM' with transport
|
|
'streamable-http' on
|
|
http://127.0.0.1:8000/mcp/
|
|
INFO:FastMCP.fastmcp.server.server:Starting MCP server 'MCP For NotebookLM' with transport 'streamable-http' on http://127.0.0.1:8000/mcp/
|
|
/Users/daveporter/notebookllama/notebookllama/.venv/lib/python3.13/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
|
|
warnings.warn( # deprecated in 14.0 - 2024-11-09
|
|
/Users/daveporter/notebookllama/notebookllama/.venv/lib/python3.13/site-packages/uvicorn/protocols/websockets/websockets_impl.py:17: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
|
|
from websockets.server import WebSocketServerProtocol
|
|
INFO: Started server process [9983]
|
|
INFO: Waiting for application startup.
|
|
INFO:mcp.server.streamable_http_manager:StreamableHTTP session manager started
|
|
INFO: Application startup complete.
|
|
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
|
|
INFO: 127.0.0.1:56539 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: a97441f5cebf4f8b9de93a1c59333123
|
|
INFO: 127.0.0.1:56539 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:56542 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:56543 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:56542 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:56543 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:56545 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:56545 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:56552 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: a97441f5cebf4f8b9de93a1c59333123
|
|
INFO: 127.0.0.1:56552 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:58570 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: 403d8c9b18ba43e98eb1ca532b7fbe2d
|
|
INFO: 127.0.0.1:58570 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:58573 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:58574 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:58573 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:58574 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:58576 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:58576 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:58582 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: 403d8c9b18ba43e98eb1ca532b7fbe2d
|
|
INFO: 127.0.0.1:58582 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:59487 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: b505497d41044d28bb59b2684753a6fc
|
|
INFO: 127.0.0.1:59487 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:59490 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:59491 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:59490 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:59491 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:59493 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:59493 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:59500 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: b505497d41044d28bb59b2684753a6fc
|
|
INFO: 127.0.0.1:59500 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:60605 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: 1bb3384b1c43444e8c5092b7426d62a4
|
|
INFO: 127.0.0.1:60605 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:60608 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:60609 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:60608 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:60609 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:60611 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:60611 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:60625 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: 1bb3384b1c43444e8c5092b7426d62a4
|
|
INFO: 127.0.0.1:60625 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:62746 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: de58f9d86a2d473fa8ba5984f624e277
|
|
INFO: 127.0.0.1:62746 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:62749 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:62750 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:62749 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:62750 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:62752 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:62752 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:62762 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: de58f9d86a2d473fa8ba5984f624e277
|
|
INFO: 127.0.0.1:62762 - "DELETE /mcp/ HTTP/1.1" 200 OK
|