Getting Started

Install Nuxt AI Ready

Last updated by Harlan Wilton in doc: sync.

Setup Module

bash
npx nuxt module add ai-ready

Nuxt AI Ready requires a Nuxt SEO Pro license.

NUXT_SEO_PRO_KEY=your-license-key-here

Sign in to see your license key.

Verifying Installation

Zero-config module. After installation:

  • Visit any route with .md suffix (e.g., /about.md) to see markdown output
  • Run nuxi build then check /llms.txt and /llms-full.txt
  • /robots.txt shows Content Signals

Configuration

MCP Integration (Optional)

Connect AI agents to your site via Model Context Protocol:

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

Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "my-site": {
      "command": "npx",
      "args": ["-y", "@nuxtjs/mcp-client", "http://localhost:3000/mcp"]
    }
  }
}

See the MCP guide for tools, resources, and production setup.

Rendering Mode Support

Works best with prerendering. Feature availability by mode:

FeatureSSGHybridSSR-onlySPA
llms.txt with titles
llms-full.txt✅ Prerendered only❌ Placeholder
Runtime .md routes
MCP tools/resources✅ Partial❌ Empty

SSG: Full support. All pages processed during nuxi generate.

Hybrid: Page data only for prerendered pages.

SSR-only: No page data generated. Runtime .md routes work.

SPA: Not supported. Workaround: enable nitro.prerender.routes for specific pages.

Next Steps

Did this page help you?