# BookStack MCP for AI Agents AI Agent Connect

> BookStack (Wiki) MCP lets your AI agent interact directly with your BookStack documentation. You can search for specific info, create new pages, update existing content, and manage the entire wiki hierarchy—from shelves down to individual pages—without leaving your chat interface. It turns your static documentation into a dynamic knowledge base that your agent can actually navigate and edit.

## Overview
- **Category:** collaboration
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Gdx82fNHL84VGrxNwefAcP0A9tp53E6GRn49E14S/ai-agent-connect
- **Tags:** wiki, documentation, knowledge-base, bookstack, content-organization

## Description

Connect your BookStack instance to any AI agent and turn your documentation into an interactive knowledge base through natural conversation. Instead of digging through folders and tabs, you can ask your agent to find specific information instantly. It handles the heavy lifting of navigating your shelves, books, and chapters to surface the exact page you need. You can also tell your agent to draft new content, update existing documentation, or even manage your file attachments. If you need to share a piece of information externally, your agent can handle the export for you in multiple formats. Because Vinkius hosts this Connector, you get a reliable way to make your static wiki feel like a living, breathing resource that actually responds to your needs.

## Tools

### create_page
Create a new page using a book or chapter ID with HTML or Markdown content.

### create_shelf
Create a new shelf to organize your books.

### delete_book
Permanently remove a book from the instance.

### delete_chapter
Delete a chapter to reorganize your content hierarchy.

### delete_shelf
Remove a shelf from your wiki structure.

### export_book
Download all content from a specific book as a file.

### export_chapter
Export a specific chapter's content for external use.

### export_page
Retrieve a single page in PDF, Markdown, HTML, or Plaintext.

### get_chapter
Get the details for a specific chapter in your wiki.

### get_page
Fetch the full content and details of a single page.

### get_shelf
Get the details for a specific shelf.

### get_system_status
Check the current version and status of your BookStack instance.

### list_attachments
See all file attachments across your entire wiki.

### list_audit_log
View the system activity log to see recent changes.

### list_books
See a complete list of all books in your wiki.

### list_chapters
List all chapters to see your content hierarchy.

### list_pages
List all pages with options for sorting and filtering.

### list_recycle_bin
See items that were recently deleted.

### list_shelves
See all shelves in your BookStack instance.

### search
Find specific text or content across your entire wiki.

### update_attachment
Modify an existing file attachment.

### update_book
Update the details of an existing book.

### update_chapter
Modify an existing chapter's information.

### update_page
Edit the content or title of an existing page.

### update_shelf
Update the details of an existing shelf.

### delete_attachment
Remove a specific file attachment from your wiki.

### delete_page
Move a page to the recycle bin for later recovery.

### get_attachment
Fetch specific details about a file linked to a page.

### get_book
Retrieve the details and metadata for a specific book.

### create_attachment
Create a new link for a file attachment.

### create_book
Create a new book to organize your documentation.

### create_chapter
Create a new chapter within a book.

## Prompt Examples

**Prompt:** 
```
Find the security policy in my wiki.
```

**Response:** 
```
I found 2 results for 'security policy'.

| Page Name | Book | Status |
| :--- | :--- | :--- |
| **Internal Security Guidelines** | Compliance | Active |
| **Data Handling Policy** | Security | Review Required |

Would you like me to summarize the Internal Security Guidelines for you?
```

**Prompt:** 
```
Create a new page for 'API Keys' in the 'Dev' book.
```

**Response:** 
```
I've created the new page.

* **Page Name:** API Keys
* **Book:** Dev
* **Page ID:** 442

I'm ready to add some content to it whenever you're ready.
```

**Prompt:** 
```
Export the onboarding guide as a PDF.
```

**Response:** 
```
I've triggered the export for the 'Onboarding Guide' page.

* **Format:** PDF
* **Status:** Processing

You'll receive a notification as soon as the file is ready for download.
```

## Capabilities

### Search across the entire wiki
Find any specific information or content within your documentation instantly.

### Create new pages with HTML or Markdown
Draft and publish new wiki pages directly through your AI client.

### Export content to PDF or Markdown
Get your documentation out of the wiki and into a file format for sharing.

### Manage the book and chapter hierarchy
Organize your wiki structure by creating or deleting shelves, books, and chapters.

### View system audit logs and status
Keep track of recent changes and check the health of your instance.

### Manage file attachments
View and manage files linked to your documentation pages.

## Use Cases

### Finding company policies
An HR manager asks 'What is the remote work policy?' and the agent pulls the correct page from the wiki instantly.

### Updating technical specs
An engineer asks the agent to update the `create_page` content for a new API endpoint to keep the docs in sync.

### Exporting a user manual
A support lead asks the agent to `export_book` as a PDF to send a complete guide to a new client.

### Cleaning up old content
A wiki admin asks the agent to `list_recycle_bin` and `delete_page` to remove outdated documentation.

## Benefits

- Stop searching through folders. Use `search` to find exact documentation instantly.
- Keep docs fresh with less effort. Use `update_page` and `create_page` to edit content via chat.
- Move faster with exports. Use `export_page` to get content in PDF or Markdown for external use.
- Maintain a clean hierarchy. Use `list_shelves`, `list_books`, and `list_chapters` to keep your wiki organized.
- Audit your content. Use `list_audit_log` to see who changed what and when.
- Manage files easily. Use `list_attachments` and `get_attachment` to handle files without clicking.

## How It Works

The bottom line is that your documentation becomes a searchable, editable database your agent can navigate for you.

1. Subscribe to the BookStack MCP on Vinkius.
2. Provide your BookStack URL, Token ID, and Token Secret in your client.
3. Ask your agent to find, create, or update wiki content.

## Frequently Asked Questions

**Can the BookStack MCP search my entire wiki?**
Yes, it can search across all your content. Your agent can find specific topics, policies, or technical specs instantly across your entire instance.

**How do I use BookStack MCP to create new pages?**
You can simply tell your agent to draft a new page. It will use the Connector to create the page in the correct book or chapter for you.

**Can my AI agent export BookStack pages to PDF?**
Yes, your agent can export pages into several formats, including PDF, Markdown, and HTML, making it easy to share content externally.

**Does the BookStack MCP work with my private wiki?**
It works with any BookStack instance where you have the URL and the necessary API tokens to connect your agent.

**Can I use BookStack MCP to see who edited a page?**
Yes, the Connector includes a system audit log. Your agent can check this to see recent activity and changes made to your wiki.

**How do I manage attachments using the BookStack MCP?**
Your agent can list all file attachments and retrieve specific details about them, so you don't have to hunt for files manually.

**Can I search across all my books and chapters at once?**
Yes! Use the `search` tool with your query string. It will return relevant results from pages, chapters, and books across your entire BookStack instance.

**Is it possible to retrieve a page's content in Markdown format?**
Absolutely. Use the `export_page` tool and set the format to 'markdown'. You can also export to PDF, HTML, or plaintext.

**How do I see what was recently deleted?**
You can use the `list_recycle_bin` tool to view items that have been moved to the recycle bin before they are permanently removed from the system.