> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Neural Draft

> The AI-native backend platform. CMS, blog, social, booking and commerce — wired into Lovable, Claude Code, Cursor, v0 and Bolt by an MCP layer.

Neural Draft is the backend your AI-built site needs to be a real business.

You build the frontend with Lovable, Claude Code, v0, Bolt, Cursor — whichever
codegen tool you love. Neural Draft handles everything else: editable content,
multi-language translations, the blog, social publishing, bookings, and a
fully-wired Stripe Connect storefront. One project key. Five primitives. One
SDK. One MCP server that teaches your AI tool how to use them correctly by
default.

## Live on Neural Draft

Real businesses currently running on Neural Draft:

* **[LittleMind](https://littlemind.neuraldraft.io)** — AI-powered child mood
  tracking that turns 30 seconds of daily observation into emotional-pattern
  insights for parents during divorce, school changes, and other transitions.
* **[Lolliland Rođendaonica](https://www.lollilandrodendaonica.hr)** — Children's
  indoor playground and birthday-party venue in Rugvica, Croatia.
* **[Lex Custis](https://lexcustis.eu)** — EU AI Act compliance platform for
  law firms, with tamper-evident audit trails and regulator-ready reports for
  every AI interaction.
* **[DevCred](https://devcred.io)** — Human-vetted developer credentials: a
  publicly shareable, manually reviewed ID that proves a developer is real.
* **[Calma](https://calma.neuraldraft.io)** — Mindfulness platform with simple
  meditation and breathing practices designed for busy professionals.

You can use the same API + MCP server they use — see [Quickstart](/quickstart).

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    From `npm install` to your first blog post in under 5 minutes.
  </Card>

  <Card title="MCP server" icon="plug" href="/mcp/overview">
    Drop `@neuraldraft/mcp` into Claude Code, Cursor, or Continue and your AI
    starts generating Neural Draft-native code automatically.
  </Card>

  <Card title="API reference" icon="book" href="/api-reference">
    The full v1 surface. Try every endpoint inline with your live key.
  </Card>

  <Card title="Pricing" icon="credit-card" href="/pricing-and-credits">
    Pure usage-based credits. Hard stop at zero. No surprise bills.
  </Card>
</CardGroup>

## The five pillars

Every Neural Draft project ships with all five — but you only pay for the credits
you use. Mix one or all.

<CardGroup cols={2}>
  <Card title="CMS" icon="pen-ruler" href="/pillars/cms">
    Translation keys, image keys, brand context, and a register-component flow
    that turns AI-generated HTML into editable sections without manual wiring.
  </Card>

  <Card title="Blog" icon="newspaper" href="/pillars/blog">
    Full posts, categories, tags, scheduling, and a research → write → image →
    translate → SEO pipeline behind a single async job.
  </Card>

  <Card title="Social" icon="share-nodes" href="/pillars/social">
    AI-generated multi-platform posts, scheduled publishing to Facebook,
    Instagram, X, TikTok, LinkedIn, YouTube — with brand voice baked in.
  </Card>

  <Card title="Booking" icon="calendar-check" href="/pillars/booking">
    Bookable services, weekly availability, slot lookup, public booking flow,
    Stripe Checkout for paid bookings, and an embeddable widget.
  </Card>

  <Card title="Commerce" icon="store" href="/pillars/commerce">
    Products, variants, categories, orders, Stripe Connect onboarding, Stripe
    Checkout sessions, and drop-in storefront widgets.
  </Card>
</CardGroup>

## Hello, world

A live example: create a draft blog post, in English, with one cURL.

<CodeGroup>
  ```ts Node theme={null}
  import { NeuralDraftClient } from "@neuraldraft/sdk";

  const nd = new NeuralDraftClient({
    apiKey: process.env.NEURALDRAFT_API_KEY!,
  });

  const post = await nd.blogPosts.create({
    title: "Hello, world",
    content: "<p>The first post.</p>",
    language_code: "en",
    status: "draft",
  });

  console.log(post.slug);
  ```

  ```bash cURL theme={null}
  curl https://api.neuraldraft.io/v1/blog-posts \
    -H "Authorization: Bearer $NEURALDRAFT_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "type": "manual",
      "title": "Hello, world",
      "content": "<p>The first post.</p>",
      "language_code": "en",
      "status": "draft"
    }'
  ```
</CodeGroup>

Response (`201 Created`):

```json theme={null}
{
  "id": 4711,
  "slug": "hello-world",
  "status": "draft",
  "title": "Hello, world",
  "created_at": "2026-04-19T10:14:22Z"
}
```

That's the whole shape: a Bearer key, a JSON payload, an integer id, a stable
slug. Every primitive in Neural Draft works the same way.

## What makes this different

<AccordionGroup>
  <Accordion title="MCP-native, not retrofitted">
    Most APIs pretend to support AI codegen by publishing an OpenAPI spec.
    We ship a real Model Context Protocol server (`@neuraldraft/mcp`) with
    resources, tools and prompts, so your editor's AI generates code that
    follows our conventions automatically. No reading the docs. No hallucinated
    endpoints.
  </Accordion>

  <Accordion title="Editable by default">
    Every section your AI generates can be registered with one tool call —
    `register_component(html, intent)` — and instantly becomes editable in your
    end-customer's admin UI. No CMS schemas, no migrations, no glue code. The
    AI puts `data-translate="hero.headline"` on text and the rest just works.
  </Accordion>

  <Accordion title="One bundle, five products">
    CMS, blog, social, booking and Stripe Connect commerce all sit behind one
    API key, on one bill, with one brand object that flows through every
    output. Mix one or all five — only credit usage differs.
  </Accordion>

  <Accordion title="Pure usage-based pricing">
    No seats. No per-tenant tax. No "Pro" gate. You pay for the AI ops you run
    plus a small line item for the things that genuinely cost money to keep
    around (storage, connected social accounts, Connect accounts, custom
    domains). Hard stop at zero credits — no surprise bills.
  </Accordion>
</AccordionGroup>

## Where to next

<CardGroup cols={3}>
  <Card title="Quickstart" icon="bolt" href="/quickstart">
    Five steps. Working API call. \~5 minutes.
  </Card>

  <Card title="Auth" icon="key" href="/authentication">
    API keys, scopes, rotation, common errors.
  </Card>

  <Card title="Errors" icon="triangle-exclamation" href="/errors">
    The full error catalog and retry guidance.
  </Card>

  <Card title="MCP setup" icon="terminal" href="/mcp/setup">
    Wire Claude Code, Cursor or Continue in 60 seconds.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/webhooks">
    Event topics, signature verification, retry policy.
  </Card>

  <Card title="Migration" icon="right-left" href="/migration-from-saas">
    Already a SaaS tenant? Here's the API-first path.
  </Card>
</CardGroup>

## Community

Real questions get fast answers. The maintainers and most early customers
hang out on **Discord** — drop a `#hello` and ask anything.

<CardGroup cols={2}>
  <Card title="Join the Discord" icon="discord" href="https://discord.gg/XCQftzvBQX">
    Realtime chat, build-in-public, weekly office hours.
  </Card>

  <Card title="SDK on GitHub" icon="github" href="https://github.com/vbalagovic/neuraldraft-sdk">
    File issues, browse source, send PRs.
  </Card>
</CardGroup>

<Note>
  The API is currently in **public beta**. We follow [SemVer](https://semver.org/)
  on the v1 surface — additive changes are normal, breaking changes are
  versioned and announced 90 days in advance in the
  [changelog](/changelog).
</Note>
