- S1: Eliminar 'triggers' duplicado en run (líneas 109/131) - S2: Eliminar cli/commit.rb (truncado, sin uso) - S3: Eliminar cli/inicio.rb y cli/cierre.rb (legacy, jornada.rb los reemplaza) - S4: Mover 4 planes obsoletos de docs/plan/adn/ a docs/_hist/plan/adn/ - S5: Mover 14 backups de planes y 3 docs técnicos a docs/_hist/ - S6: Eliminar manifiesto vacío P2604_proyecto_p2604.md - S7: Corregir referencia a plan obsoleto en run - S8: Dejar de cargar core/validador.rb obsoleto en run - S9: Limpiar progreso duplicado en P2604_mejoras_ADN.md - Agregar Fase 10 al plan P2604 con 10 tareas - Un solo punto de verdad: adn/README.md - Un solo plan: docs/proy/p2604_mejoras_ADN/P2604_mejoras_ADN.md - Registro en bitácora: evento 1073
5.8 KiB
5.8 KiB
MSPs en Antigravity - Guía de Referencia
¿Qué son los MSPs?
Los MSP (Markdown Style Papers) son documentos generados por NotebookLM en formato de paper académico con:
- Título y autores
- Resumen estructurado
- Secciones temáticas
- Citas y referencias
- Formato académico profesional
MCPs Actualmente Configurados en Antigravity
Archivo de configuración: ~/.gemini/antigravity/mcp_config.json
1. NotebookLM MCP
"notebooklm": {
"command": "bash",
"args": ["-c", "/home/rmonla/.local/share/notebooklm-mcp/bin/notebooklm-mcp"],
"env": {},
"disabled": false
}
| Campo | Valor |
|---|---|
| Tipo | MCP Server (stdio) |
| Ejecutable | /home/rmonla/.local/share/notebooklm-mcp/bin/notebooklm-mcp |
| Estado | Habilitado |
| Soporta MSP | No (solo desde UI web) |
2. Firebase MCP Server
"firebase-mcp-server": {
"command": "npx",
"args": ["-y", "firebase-tools@latest", "mcp"],
"env": {},
"disabled": false
}
| Campo | Valor |
|---|---|
| Tipo | MCP Server (npx) |
| Paquete | firebase-tools@latest |
| Estado | Habilitado |
| Herramientas | Auto-detección basada en firebase.json |
Herramientas disponibles (según contexto del proyecto):
- Core: deploy, init, login, logout, projects:list
- Firestore: firestore:indexes, firestore:rules
- Hosting: hosting:deploy
- Functions: functions:deploy
- Storage: storage:rules
3. Google Stitch MCP
"stitch": {
"serverUrl": "https://stitch.googleapis.com/mcp",
"headers": {
"X-Goog-Api-Key": "AQ.Ab8RN6KSXqPMkt6b6-l9-fOF_L6MFDobit1k2uCZark0orUM0g"
}
}
| Campo | Valor |
|---|---|
| Tipo | HTTP MCP Server |
| URL | https://stitch.googleapis.com/mcp |
| Estado | Habilitado |
| API Key | Configurada |
Verificar MCPs configurados
# Ver configuración actual
cat ~/.gemini/antigravity/mcp_config.json | jq '.mcpServers | keys'
# Probar cada MCP
~/.local/share/notebooklm-mcp/bin/notebooklm-mcp --transport http --port 8765
npx -y firebase-tools@latest mcp --help
Configuración de NotebookLM MCP
Verificar conexión
# 1. Verificar ejecutable
ls -la ~/.local/share/notebooklm-mcp/bin/notebooklm-mcp
# 2. Probar inicio del servidor
~/.local/share/notebooklm-mcp/bin/notebooklm-mcp --transport http --port 8765
# 3. Verificar en Antigravity
# Abrir "Manage MCP servers" → buscar "notebooklm" → estado "conectado"
Autenticación
# Ejecutar autenticación via navegador
notebooklm-mcp-auth
# O configurar manualmente con variables de entorno
export NOTEBOOKLM_COOKIES="..."
export NOTEBOOKLM_CSRF_TOKEN="..."
export NOTEBOOKLM_SESSION_ID="..."
Ubicaciones importantes
| Recurso | Ruta |
|---|---|
| Executable | ~/.local/share/notebooklm-mcp/bin/notebooklm-mcp |
| Auth cache | ~/.notebooklm-mcp/auth.json |
| Logs | ~/.config/Antigravity/logs/ |
| Config MCP | ~/.gemini/antigravity/mcp_config.json |
Herramientas MCP Disponibles (32 herramientas)
Notebooks
notebook_create- Crear nuevo cuadernonotebook_list- Listar cuadernosnotebook_get- Obtener cuadernonotebook_delete- Eliminar cuadernonotebook_rename- Renombrar cuadernonotebook_add_text- Añadir textonotebook_add_url- Añadir URLnotebook_add_drive- Añadir archivo de Drivenotebook_query- Consultar cuaderno
Fuentes
source_get_content- Obtener contenidosource_delete- Eliminar fuentesource_describe- Describir fuentesource_list_drive- Listar archivos de Drivesource_sync_drive- Sincronizar Drive
Studio (generación de contenido)
audio_overview_create- Audio overviewvideo_overview_create- Video overviewslide_deck_create- Presentacióninfographic_create- Infografíaflashcards_create- Tarjetasquiz_create- Cuestionariomind_map_create- Mapa mentaldata_table_create- Tabla de datosreport_create- Reporte
Investigación
research_start- Iniciar investigaciónresearch_status- Estado de investigaciónresearch_import- Importar investigación
IMPORTANTE: MSPs no están en el MCP
Limitación: El MCP de NotebookLM NO incluye herramienta para generar MSP.
Cómo generar un MSP manualmente
- Ir a: https://notebooklm.google.com
- Crear/abrir un cuaderno con fuentes
- En el cuaderno, hacer clic en "More" (tres puntos)
- Seleccionar "Generate MSP" o "Create paper"
- Esperar generación y descargar
Alternativas para automatizar
- Usar la API de Google NotebookLM (si está disponible)
- Integrar con Vertex AI para generación de documentos
- Crear custom skill en Antigravity que use la web
Verificar estado de conexión en código
import subprocess
import json
def check_notebooklm_mcp():
# Verificar ejecutable existe
result = subprocess.run(
["ls", "-la", "/home/rmonla/.local/share/notebooklm-mcp/bin/notebooklm-mcp"],
capture_output=True
)
if result.returncode != 0:
return {"status": "error", "message": "Executable not found"}
# Verificar auth
with open("/home/rmonla/.notebooklm-mcp/auth.json") as f:
auth = json.load(f)
has_auth = bool(auth.get("cookies") and auth.get("csrf_token"))
return {
"status": "ok" if has_auth else "needs_auth",
"auth": auth
}
Troubleshooting
| Problema | Solución |
|---|---|
| MCP no aparece conectado | Reiniciar Antigravity |
| Error de autenticación | Ejecutar notebooklm-mcp-auth |
| No hay herramientas disponibles | Verificar tokens en ~/.notebooklm-mcp/auth.json |
| Timeout en requests | Aumentar NOTEBOOKLM_QUERY_TIMEOUT |
Referencias
- Docs MCP:
docs/promp/Configuracion-MCP-Antigravity.md - Prompt NotebookLM:
docs/promp/Prompt NotebookLM MCP X Antigravity.md