Getting Started

Overview

What Doxa does, how Doxabot writes docs from your repository, and how to choose a start path

What Doxa is

Doxa is an open-source documentation platform. Doxabot, our docs agent, reads a GitHub repository, writes the first version of your docs as MDX pages, and keeps them up to date as the code changes. We review every change on a branch and in a preview, and we publish when we are ready. Each project gets a docs site at its slug on doxa.page, and you can attach a custom domain to it.

Your pages are plain MDX files, so the content stays yours and you can take it with you at any time.

Key features

Docs written from code

Doxabot reads a connected repository's source code and writes MDX pages for your project.

Preview on every pull request

Each pull request gets a docs preview, so we can see the documentation change before we merge.

Updates after a merge

After a merge, Doxabot updates the pages that the change affects instead of the whole site.

Agents that work on branches

Connected agents edit docs on named branches. Publishing needs a person's approval by default.

MCP server for your agent

Claude Code, Codex, VS Code, Cursor, and other MCP clients sign in with OAuth and receive scopes per project.

Ready-to-read sites

Generated sites are prerendered and include full-text search, themes, and llms.txt files.

Three ways to start

We offer three start paths. Pick the one that matches how you already work.

Start pathBest forWhat you do
Let an agent set things upYou want an agent to create your account and connect to Doxa for you.Paste this prompt into your agent: Read https://doxa.so/auth.md and follow it to connect me to Doxa. Then open the link the agent gives you and enter the 6-digit code.
Add the MCP server by handYou already use Claude Code, Codex, VS Code, Cursor, or another MCP client and want to set up the connection yourself.Add https://mcp.doxa.so/mcp to your client and sign in with OAuth when prompted.
Use the dashboardYou prefer a visual setup and want Doxabot to generate docs from a GitHub repository.Sign in at doxa.so, choose Generate from a GitHub repository on the new project screen, and wait for the preview.

The Quickstart walks through each path step by step, and ends with a first project and a preview you can open.

The dashboard and the MCP server

Doxa has two surfaces that work on the same projects.

  • The dashboard at doxa.so is where you sign in, create projects, connect a GitHub repository, start generations, and review previews. You can edit pages in Write mode, source view, or Split mode, manage site settings and custom domains, invite team members, and handle approval requests.

  • The MCP server at mcp.doxa.so/mcp lets an agent work with your projects. Through it, an agent can list projects, read and edit pages on a branch, build previews, and, once you approve, publish. Writes to the main branch are rejected through the MCP server, so agents always work on a branch.

To add the MCP server to Claude Code, run this command:

bash
claude mcp add --transport http doxa https://mcp.doxa.so/mcp

Other clients are covered in Connect an agent. You decide which projects an agent can use and which scopes it receives on the consent screen.

From repository to published site

Once a repository is connected, the path to a live site looks like this.

1

Connect a repository

Create a project and install the Doxa GitHub App on the repository you want documented. Doxabot uses the app to read the source code.

2

Generate the first draft

Start a generation. Doxabot writes MDX pages on a branch, and you can follow its progress on the Generations page.

3

Review the preview

Open the preview for the branch and read the pages as a reader would. Changes you do not like can be fixed on the same branch before anything goes live.

4

Approve publishing

Publishing a branch makes its version live. When an agent asks to publish, a person approves the request first.

5

Share your docs site

Your site is served at your project slug on doxa.page, or at a custom domain once it is verified.

After the first publish, each merge to your production branch triggers an update for the pages the change affects. You can read more about this in GitHub App.

Run your own copy

Doxa is licensed under Apache 2.0. If you want to run the platform yourself, the Self-hosting guide covers running it locally with Docker Postgres and deploying it to Cloudflare Workers with an AWS-hosted API origin.

Next steps