---
title: "Install Nuxt AI Ready"
description: "Install Nuxt AI Ready and verify Markdown output for your deployment."
canonical_url: "https://nuxtseo.com/docs/ai-ready/getting-started/installation"
last_updated: "2026-09-25T15:50:53.335Z"
---

## Setup Module

::module-install{name="nuxt-ai-ready"}
::

Use Nuxt 4 and a [Node.js](https://nodejs.org) version supported by Nuxt.
If your Node version lacks built-in [SQLite](https://sqlite.org), install `better-sqlite3` alongside the module:

```bash
pnpm add better-sqlite3
```

The module uses built-in SQLite on Node 22.13+, Node 23.4+, and later major versions.
[Bun](https://bun.sh) uses `bun:sqlite`. [Cloudflare](https://cloudflare.com) uses D1 for stored pages.
If you set `POSTGRES_URL`, [Vercel](https://vercel.com) can use Neon.
See [Database Configuration](/docs/ai-ready/guides/runtime-indexing#database-configuration) for deployment requirements.

Runtime database setup is skipped when no enabled feature needs stored pages.
Prerender indexing still needs a SQLite driver on the build machine.

Generate an Agent Skill for this package with [skilld](https://github.com/harlan-zw/skilld):

```bash
npx skilld add nuxt-ai-ready
```

## Verifying Installation

Start your development server and request a page as Markdown:

```bash
curl http://localhost:3000/about.md
```

Replace `/about` with a page that exists in your app.
To generate static content files, run `nuxi generate` or `nuxi build --prerender`.
Then inspect `/llms.txt` and `/llms-full.txt` on the preview server or deployed site.

The module does not emit [Content Signals](/docs/ai-ready/guides/content-signals) by default.
If you enable them, also check the generated `/robots.txt`.

## Configuration

### MCP Integration (Optional)

Install MCP Toolkit to expose indexed pages to remote agents:

```bash
npx nuxi module add @nuxtjs/mcp-toolkit
```

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: [
    'nuxt-ai-ready',
    '@nuxtjs/mcp-toolkit',
  ],
})
```

Follow the [MCP guide](/docs/ai-ready/guides/mcp) to connect a client and configure production access.
The MCP endpoint requires a running server.

### Rendering Mode Support

Choose how pages enter the index before using search or full-content exports.
A normal page visit does not index its content.

| Deployment        | Markdown pages                      | Context files                                | MCP                                      |
| ----------------- | ----------------------------------- | -------------------------------------------- | ---------------------------------------- |
| Static generation | Files for prerendered pages         | Generated files                              | Requires a separate server               |
| Hybrid server     | Static files and runtime conversion | Static exports or runtime stored content     | Available with Toolkit and indexed pages |
| SSR server        | Runtime conversion                  | Sitemap links; stored content after indexing | Available with Toolkit and indexed pages |
| Client-only SPA   | No rendered page content to convert | Limited without prerendered content          | No page content to index                 |

**SSG**: `nuxi generate` indexes prerendered pages and writes static exports.
Static hosting cannot run the module's server handlers.

**Hybrid**: Prerendered pages enter the build index.
For an existing page change, call the manual reindex utility.
Runtime polling processes pending pages; TTL expiry alone does not reindex healthy stored pages.
See [runtime indexing](/docs/ai-ready/guides/runtime-indexing) for triggers.

**SSR-only**: Configure runtime sync with a polling trigger, or call the manual indexing utilities.
`llms.txt` can list sitemap URLs before indexing. `llms-full.txt` streams stored pages once available.

**SPA**: The converter needs rendered content.
Use server rendering or prerender pages that should be readable without client-side JavaScript.

## Next Steps

- [llms.txt Generation](/docs/ai-ready/guides/llms-txt): choose sections and page links.
- [Runtime Indexing](/docs/ai-ready/guides/runtime-indexing): keep stored pages current.
- [Cloudflare Deployment](/docs/ai-ready/guides/cloudflare): configure D1 for a Workers deployment.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
