NewDocora 0.0.4 is out

An Open Source Documentation Framework for React and Next.js

Built with TypeScript, Tailwind CSS and MDX — with routing, search, SEO, i18n and an MCP server built in, so both people and AI tools can read your docs.

getting-started.mdxlive
---
title: Getting started
description: Scaffold a site and start writing.
---
 
::note
Every file under `content/` is a route.
::
 
Write Markdown, drop in callouts, and the
sidebar picks the page up on its own.

Getting started

Getting started

Scaffold a site and start writing.

Every file under content/ is a route.

Write Markdown, drop in callouts, and the sidebar picks the page up on its own.

content/docs/getting-started.mdx
Built for agents

Your docs, queryable by anything that reads MCP.

  • MCP server, zero config

    list-pages and get-page tools, live at /mcp.

  • llms.txt out of the box

    A clean, agent-readable summary of your whole site.

  • Ask AI, opt-in

    A chat widget that answers from your docs and cites sources.

cursor — mcp: docoraconnected

How do I highlight specific lines in a code block?

get-page·/docs/essentials/code-blocks

Add a line range to the fence meta — Docora passes it straight to Shiki:

```ts [config.ts] {2,5-7}

Source:/raw/docs/essentials/code-blocks.md

/mcp

Zero-config MCP server

llms.txt

Agent-readable index

Authoring

Write Markdown, get a component

MDC keeps the source readable. The page stays rich — callouts, cards, tabs, steps, and code that does more than highlight.

introduction.mdxlive
::note
Drop an `.mdx` file into `content/`
and the route appears on its own.
::
 
::tip
Prose components are available by name.
Nothing to import.
::
 
::warning
Be careful with this action as it might
have unexpected results.
::
 
::caution
This action cannot be undone.
::

Preview

Drop an .mdx file into content/ and the route appears on its own.
Prose components are available by name. Nothing to import.
Be careful with this action as it might have unexpected results.
This action cannot be undone.
Project shape

A Next.js app, a content folder

Scaffolding gives you an App Router project. Add pages as files; keep using anything else Next.js already does.

Your project

import { defineDocsConfig } from 'docora'
 
export default defineDocsConfig({
  site: {
    name: 'Acme',
    description: 'Acme documentation',
  },
})
Get going

Up and running in one command

Scaffold a site, start the dev server, and start writing. Node.js 20.9 or later is required.

  1. Create a project

    The CLI detects your package manager and can scaffold a single-language or i18n starter. See the installation guide and project structure.

    Terminal
    npx create-docora my-docs
  2. Start the dev server

    Preview the site at localhost:3000 with hot reload on every file you touch.

    Terminal
    cd my-docs
    npm run dev
     
     Next.js
    - Local: http://localhost:3000
  3. Add a page

    Drop an .mdx file into content/ and the route and sidebar entry appear on their own.

    getting-started.mdx
    ---
    title: Getting started
    ---
     
    Every file under `content/` is a route.

Already have a Next.js app?Wire the theme into it instead

Trade-offs

What Docora optimizes for

Not every docs tool should make the same choices. These are ours, stated plainly, so you can tell in a minute whether they match your project.

Docora

Open source, MIT
Setup
One command, files on disk
Content
Markdown / MDX, no CMS required
AI access
MCP server + llms.txt built in
Hosting
Any Next.js host, including self-hosted
Styling
Tailwind and CSS variables — no fork to reskin
FAQ

Questions, answered

Short answers for the things people usually ask before they scaffold.

Do I need a CMS?

No. Pages are Markdown files and Git is the workflow. You can still add ordinary App Router routes next to the catch-all when a page needs custom React.

Can I add this to an existing Next.js app?

Yes. Docora is a theme package. Install docora, wrap your Next config with withDocora, and point it at a content/ folder. See Installation.

How does search work?

The index is built when the site compiles. There is no hosted search service and nothing extra to deploy — open it from the header or with Ctrl K.

Can language models read the docs?

Yes. Every site exposes /llms.txt, full-corpus /llms-full.txt, raw Markdown at /raw/{path}.md, and an MCP server at /mcp.

Does the AI chat feature cost anything to run?

Answers go through the Vercel AI Gateway — bring your own API key or use the free tier. The widget is opt-in, so a site that never enables it makes no model calls at all.

Is Docora related to Docus?

Docora is inspired by Docus (Nuxt) but is an independent project built for Next.js and React, with its own architecture and AI-native features like a built-in MCP server.

Start writing

Everything is a file on disk. No database, no dashboard, no lock-in.

  • MIT licensed
  • No database
  • No dashboard
  • No lock-in