AI Assistant

Welcome to Doccupine

Doccupine turns a folder of MDX files into a beautiful, production-ready documentation website. Write in standard Markdown, use any of the built-in components, and get a fully themed site with AI-powered search and automatic navigation - all from one command.

npx doccupine

That's it. Doccupine prompts you for a source directory, generates your site, and starts a dev server at http://localhost:3000. Every edit rebuilds instantly.

Want a managed experience instead? The Doccupine Platform gives you a browser-based editor, one-click publishing, custom domains, and team collaboration - no local setup needed.

How it works

You write .mdx files using Markdown and built-in components like this one. Doccupine watches your files, generates pages, builds the sidebar from your frontmatter, and handles theming, AI chat, and deployment config for you.

Everything on this page - the callout above, the cards below, the code block - is a live example of what your docs can look like out of the box.

Configure your site

Doccupine works with no configuration, but when you're ready to customize, everything is controlled through simple JSON files in your project root.

  • Global settings - Site name, description, favicon, and preview image via config.json
  • Navigation - Override the auto-generated sidebar with navigation.json
  • Theme - Colors, logos, and dark mode palette via theme.json
  • Fonts - Google Fonts or local font files via fonts.json
  • AI Assistant - Enable the built-in chat with your own API key
  • MCP Server - Let AI tools search your docs through /api/mcp