Skip to main content

Documentation Index

Fetch the complete documentation index at: https://moxn.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Moxn supports round-trip migration: import your existing docs, work in Moxn with AI agents and your team, and export changes back when you need to.

Which Path Should I Use?

There are several ways to get content into a Moxn knowledge base. Pick based on where it lives today and how much you’re moving.
You want to…Use thisWhere it runs
Add a few docs at a time, drafted by an agentMCP write tools — your AI assistant calls documents / sections directlyYour AI host
Bulk import from Notion with a UI, no command lineNotion integration (in-app) — connect once in Settings > Integrations and Moxn runs the jobMoxn’s infrastructure
Import a OneNote notebookOneNote integration (in-app) — sign in with Microsoft, pick what to importMoxn’s infrastructure
Bulk import from local files, or run a Notion sync from CI / a scriptThe migration CLI — full flag control, scriptableYour machine or CI
The in-app Notion integration and the CLI use the same migration engine, so the resulting documents, databases, tags, and cross-references are identical — they just differ in where the job runs and how you trigger it.

Import

Bring existing documentation into Moxn from external sources.

Notion (in-app)

Connect once in Settings > Integrations — Moxn runs the import for you

OneNote (in-app)

Sign in with Microsoft and bring a notebook into Moxn

Notion (CLI)

Run the same import from your terminal or CI with full flag control

Local Files (CLI)

Markdown, text, and CSV files from your filesystem — CLI only

Export

Get your docs back out of Moxn in the format you need.

Notion (in-app)

Push KB docs back to Notion from Settings > Integrations

Notion (CLI)

Push pages back to Notion from the command line

Local Files (CLI)

Download as markdown with images, PDFs, and CSVs

CLI: Two Install Flavors

The CLI is published under two names. Both wrap the same migration engine — pick whichever is most convenient:
ToolInstallCommand prefix
@moxn/context-clinpm install -g @moxn/context-clicontext import-notion, context export-local, etc.
@moxn/kb-migrateNo install needednpx @moxn/kb-migrate notion, npx @moxn/kb-migrate export, etc.
Use @moxn/context-cli if you already have it installed for other Moxn commands. Use npx @moxn/kb-migrate for one-off runs without a global install.

Date Filtering

All CLI commands (and the in-app integration) support date filters to narrow the scope of your import or export:
# Only import/export docs modified in the last week
--modified-after=2026-02-27

# Only docs created in January
--created-after=2026-01-01 --created-before=2026-02-01
Dates use ISO 8601 format (YYYY-MM-DD or full datetime). In the in-app integration, set the same range under Date filter in the Configure step.