Instala la conexión
Ya creaste un token — ahora entrégaselo a tu asistente. Es un solo comando: tu dirección de Nirvai (ya incluida abajo) más el token que copiaste.
Ejecuta el comando de tu asistente
Reemplaza <YOUR_TOKEN> por el token de conexión de Ajustes → Conexiones.
https://3kt55hmm4ixi5duur67snxkgz40nklgn.lambda-url.us-west-2.on.aws/nirvai/mcpclaude mcp add --transport http nirvai "https://3kt55hmm4ixi5duur67snxkgz40nklgn.lambda-url.us-west-2.on.aws/nirvai/mcp" --header "Authorization: Bearer <YOUR_TOKEN>"npx add-mcp "https://3kt55hmm4ixi5duur67snxkgz40nklgn.lambda-url.us-west-2.on.aws/nirvai/mcp" --header "Authorization: Bearer <YOUR_TOKEN>"Reemplaza <YOUR_TOKEN> por el token de conexión que copiaste.
Y listo — tu asistente ya ve Nirvai. Pídele "¿Qué tengo en Nirvai?" y listará tus agentes, bases de datos y conexiones. Lo primero que suele ofrecer es reconciliar lo que ya sabe de ti en tu proyecto compartido.
En el campo de texto de tu asistente, escribe /nirvai: para ver los comandos integrados de Nirvai — connect, remember, recall, new_agent, activity y más. Son atajos que inician los pasos correctos por ti.
Enséñale qué puede hacer Nirvai
Tu asistente ya puede acceder a Nirvai, pero un chat nuevo no sabe cuándo usar cada capacidad — una base de datos, un proyecto, una automatización. Deja un archivo inicial en tu proyecto y las aprende todas. Elige tu asistente, descarga el archivo (o cópialo) y edítalo como quieras.
Le indica al agente que Nirvai está conectado y — la parte que le falta a una sesión nueva — cuándo recurrir a cada capacidad. Cópialo y edítalo a tu gusto.
Working with Nirvai (connected over MCP)
Nirvai is your backend and native UI: shared memory, structured databases, hundreds
of credentialed tools, cloud skills, agents, live apps, and automations — with an
activity feed where every action you take is visible and deep-linked.
The shape of every action
- Discover, don't guess:
nirvai_list_resources(kind)thennirvai_describe(ref). Address resources by their uuid, never by name. - One thing per call:
nirvai_execute(alias, args, description, session).descriptionis a REQUIRED one-line "why" — it is what the user reads in their feed. - Keep a session:
nirvai_create_session(name)once, pass its uuid assessionon every related call so the work threads together. - Every call returns a link. Hand it to the user; never paste raw data dumps.
First move in a new session
nirvai_download_skill_package("_root", session)and read it.nirvai_list_resourcesfor what already exists — reuse by uuid before creating.nirvai_describethe thing you will touch, download its entity pack, then act.
Where each kind of data belongs
- Databases — anything that is a LIST OF RECORDS THAT NEEDS ORDER: a CRM of contacts, a task tracker, leads, inventory, invoices. Spaces hold Databases (tables) with typed columns (text, status, select, date, person, relation, file) and views (grid, kanban, calendar, form). Verbs:
db.create_space,db.create_database,db.create_view,db.insert,db.update,db.select. Hand back the table link. - Projects — long-term KNOWLEDGE ABOUT SPECIFIC THINGS you must remember across conversations: a client's preferences, an ongoing investigation, decisions and their reasons. A knowledge graph plus a file appendix. Verbs:
projects.recall,projects.add,projects.store_file. Reach for a Project when the fact matters next week, not just this turn — andprojects.recallBEFORE you answer from memory. - Live apps — an interactive dashboard or app built on the user's real tools and data, not a static report. Verbs under
live_apps.*. - Agents — build and run AI agents on the user's account:
agents.run,agents.create. Delegate a real task, then show the run transcript link. - Automations — a workflow on a trigger (manual, schedule, webhook, or an app event) with agent steps and free deterministic steps. Flow:
automations.templatesthenautomations.validate(spec)thenautomations.create(spec); hand off the review link — the user tests and activates. - Tools & credentials — connect a provider and run its credentialed tools in the cloud. Call
credentials.native_requirementsandtools.search_templatesFIRST, thentools.use. Built-ins:web.search,web.fetch,media.image. - Skills — run one of the user's cloud skills end to end:
skills.run. - Help —
docs.search/docs.readfor product documentation.
Non-negotiables
- You NEVER hold a secret. Propose a credential by field NAME; the user types the value on the link Nirvai returns. Never ask the user to paste an API key into chat.
- Reuse before you create. A retry with the same
idempotency_keywill not duplicate. - One plain-language
descriptionper action. It is the spine of the activity feed.
Master tools
nirvai_list_resources · nirvai_describe · nirvai_execute · nirvai_create_session ·
nirvai_list_sessions · nirvai_get_session · nirvai_sync_session · nirvai_transfer_file ·
nirvai_download_skill_package
Recipes
Stand up a CRM
db.create_space { name: "Sales" }db.create_database { database_session, name: "Contacts", columns: [...] }db.insert/db.select— hand back the table link.
Remember a client across sessions
projects.create_store { name, description }(description = when to use it)projects.addto store observations;projects.recallnext time before answering.
Run a task with an agent
nirvai_list_resources("agents")then pick by uuidagents.run { agent_uuid, message }then show the run link.
Ship an automation
automations.templatesthen pick a triggerautomations.validate(spec)then fix the reported issuesautomations.create(spec)then send the review link; the user tests + activates.
¿Ya está conectado? Solo ejecuta /nirvai:setup_file y tu asistente escribe este archivo en tu proyecto por ti.
Solución de problemas
| Problema | Solución |
|---|---|
El comando muestra la dirección como <your-nirvai-backend> | La dirección de conexión no se configuró para esta compilación de la documentación. Toma la dirección exacta desde Ajustes → Conexiones en la app — aparece junto al comando de instalación ahí. |
| "No autorizado" / el asistente no ve nada | El token es incorrecto, expiró o fue revocado. Crea uno nuevo en Ajustes → Conexiones y vuelve a ejecutar el comando. |
| Puede leer pero no crear | Los permisos del token son muy limitados. Crea un token nuevo con escribir y crear habilitados. |
| Una página de revisión pide una contraseña | Es lo esperado — los secretos siempre los ingresas tú, en la página segura de Nirvai. Tu asistente no puede completar un acceso por ti. |
Siguiente paso
Mira lo que hace tu agente en el Feed de Actividad, o lee la documentación MCP para el panorama completo de lo que expone la conexión.