Compatible with every major AI agent and IDE
What is the BookStack (Wiki) MCP Server?
Connect your BookStack instance to any AI agent and turn your documentation into an interactive knowledge base through natural conversation.
What you can do
- Content Hierarchy — List and manage shelves, books, chapters, and pages using
list_shelves,list_books, andlist_pagesto maintain perfect organization. - Smart Search — Find exactly what you need across your entire wiki instance with the powerful
searchtool. - Full Content Lifecycle — Create, update, or delete pages and chapters directly from your agent to keep documentation fresh.
- Multi-format Export — Use
export_pageto retrieve content in PDF, Markdown, HTML, or Plaintext formats for external use. - System Oversight — Monitor your instance with
get_system_status, checklist_audit_logfor recent changes, or manage thelist_recycle_bin. - Attachments — Manage file attachments linked to your documentation using the dedicated attachment tools.
How it works
- Subscribe to this server
- Enter your BookStack URL, Token ID, and Token Secret
- Start managing your knowledge base from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Documentation Leads — maintain and organize large wikis without manual navigation
- Engineering Teams — search for technical specs and update READMEs directly from the IDE
- Support Teams — quickly find and export help articles for customers
Built-in capabilities (32)
Create a new attachment link
Create a new book
Create a new chapter
Requires either book_id or chapter_id, name, and html or markdown. Create a new page in BookStack
Create a new shelf
Delete an attachment
Delete a book
Delete a chapter
Delete a page (moves to recycle bin)
Delete a shelf
Export book content
Export chapter content
Export page content
Get details for a specific attachment
Get details for a specific book
Get details for a specific chapter
Get details for a specific page
Get details for a specific shelf
Check system version and status
List all attachments in BookStack
View system activity audit log
List all books in BookStack
List all chapters in BookStack
Supports pagination, sorting, and filtering. List all pages in BookStack
List deleted items in the recycle bin
List all shelves in BookStack
Search across all content in BookStack
Update an existing attachment
Update an existing book
Update an existing chapter
Update an existing page
Update an existing shelf
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and BookStack (Wiki) tool infrastructure. Connect 32 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add BookStack (Wiki) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every BookStack (Wiki) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
BookStack (Wiki) in Mastra AI
BookStack (Wiki) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect BookStack (Wiki) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for BookStack (Wiki) in Mastra AI
The BookStack (Wiki) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 32 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
BookStack (Wiki) for Mastra AI
Every tool call from Mastra AI to the BookStack (Wiki) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
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.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Descope (Auth Platform)
33 toolsManage user authentication flows via Descope — initiate OTPs, Magic Links, Enchanted Links, and OAuth directly from your AI agent.

Happierleads
1 toolsConnect Happierleads to any AI agent via MCP.

Hiveage
12 toolsAutomate online invoicing via Hiveage — manage invoices, estimates, and payments directly from any AI agent.

Desku.io
9 toolsUnify customer support across email, chat, and social with AI-assisted ticket resolution that speeds up response times.
