• MARKDOWN
  • PDF
  • HTML
  • HUMAN

How to export wiki content with your AI client

Connect BookStack to your AI client to pull documentation out of the wiki. Once connected, your agent handles the file conversion for you.

Ask AI about this page

Short answer

How can I export my BookStack content using AI?

Your AI client uses specific export tools to pull data from BookStack as PDF, Markdown, or HTML. You can target a single page, a specific chapter, or an entire book. This breakdown shows the resulting files.

Where your data lands.

The export outcomes.

The AI converts your wiki data into these formats.

MARKDOWN

Clean text files

The AI pulls page content and converts it to Markdown. This is useful for moving documentation into a code editor or a different knowledge base.

PDF

Printable documents

Your agent turns wiki pages or books into PDFs. Use this when you need a static version of your documentation to share.

HTML

Web-ready files

The AI exports content as HTML files. This lets you host your wiki data on a different web server or view it locally in a browser.

HUMAN

Manual saving

The AI performs the conversion, but you must manually save the files to your computer. You decide which files to keep after the agent finishes.

The workflow

What your AI does when the request arrives.

The AI maps your request to the right BookStack export tool.

  1. Identify the target

    Your agent looks at what you want to move, whether it's one page or a whole book.

    export_page
  2. Extract page data

    The AI pulls the specific content from the requested page.

    export_page
  3. Pull chapter content

    If you ask for a chapter, the AI gathers all pages within that specific section.

    export_chapter
  4. Bulk book export

    For large documentation sets, the AI processes the entire book structure.

    export_book

Try it

Copy these to start.

Use these prompts to trigger the export tools.

Starting points

Swap out the bracketed text with your actual BookStack names.

BookStack Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Gdx82fNHL84VGrxNwefAcP0A9tp53E6GRn49E14S/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — BookStack capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "bookstack-wiki-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Gdx82fNHL84VGrxNwefAcP0A9tp53E6GRn49E14S/mcp"
    }
  }
}
Copy into chat04
  • Export the page named [Page Name] as a Markdown file.

  • Convert the entire [Book Name] book into a PDF.

  • Get the content from the [Chapter Name] chapter as HTML.

  • Can you export [Page Name] to Markdown for me?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect BookStack once, then ask.

Follow the link to connect your account. Your credentials stay encrypted, and you can immediately start asking your AI to pull data from your wiki.

Connect BookStack to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete my BookStack pages?

    No. This MCP only has tools for exporting content. It cannot modify or delete anything in your wiki.

  • 02

    Does the AI save the files directly to my hard drive?

    No. The AI performs the export, but you are responsible for saving the resulting data to your local machine.

  • 03

    Can I export a single page as a PDF?

    Yes. You can use the export tools to target individual pages, chapters, or full books.

  • 04

    Can the AI create new chapters in BookStack?

    No. The current tools are strictly for exporting existing content, not for creating or editing wiki structures.

  • 05

    What formats can I use?

    You can export your content into PDF, Markdown, or HTML formats.

  • More questions about BookStack? The Connector page answers them. See everything the BookStack Connector can do

Connect BookStack to Claude, Cursor, ChatGPT & more