4,000+ servers built on vurb.ts
Vinkius

BookStack (Wiki) MCP Server for Mastra AIGive Mastra AI instant access to 32 tools to Create Attachment, Create Book, Create Chapter, and more

MCP Inspector GDPR Free for Subscribers

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect BookStack (Wiki) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Ask AI about this MCP Server for Mastra AI

The BookStack (Wiki) MCP Server for Mastra AI is a standout in the Collaboration category — giving your AI agent 32 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "bookstack-wiki": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "BookStack (Wiki) Agent",
    instructions:
      "You help users interact with BookStack (Wiki) " +
      "using 32 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with BookStack (Wiki)?"
  );
  console.log(result.text);
}

main();
BookStack (Wiki)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

About BookStack (Wiki) MCP Server

Connect your BookStack instance to any AI agent and turn your documentation into an interactive knowledge base through natural conversation.

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.

What you can do

  • Content Hierarchy — List and manage shelves, books, chapters, and pages using list_shelves, list_books, and list_pages to maintain perfect organization.
  • Smart Search — Find exactly what you need across your entire wiki instance with the powerful search tool.
  • Full Content Lifecycle — Create, update, or delete pages and chapters directly from your agent to keep documentation fresh.
  • Multi-format Export — Use export_page to retrieve content in PDF, Markdown, HTML, or Plaintext formats for external use.
  • System Oversight — Monitor your instance with get_system_status, check list_audit_log for recent changes, or manage the list_recycle_bin.
  • Attachments — Manage file attachments linked to your documentation using the dedicated attachment tools.

The BookStack (Wiki) MCP Server exposes 32 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 32 BookStack (Wiki) tools available for Mastra AI

When Mastra AI connects to BookStack (Wiki) through Vinkius, your AI agent gets direct access to every tool listed below — spanning wiki, documentation, knowledge-base, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

create

Create attachment on BookStack (Wiki)

Create a new attachment link

create

Create book on BookStack (Wiki)

Create a new book

create

Create chapter on BookStack (Wiki)

Create a new chapter

create

Create page on BookStack (Wiki)

Requires either book_id or chapter_id, name, and html or markdown. Create a new page in BookStack

create

Create shelf on BookStack (Wiki)

Create a new shelf

delete

Delete attachment on BookStack (Wiki)

Delete an attachment

delete

Delete book on BookStack (Wiki)

Delete a book

delete

Delete chapter on BookStack (Wiki)

Delete a chapter

delete

Delete page on BookStack (Wiki)

Delete a page (moves to recycle bin)

delete

Delete shelf on BookStack (Wiki)

Delete a shelf

export

Export book on BookStack (Wiki)

Export book content

export

Export chapter on BookStack (Wiki)

Export chapter content

export

Export page on BookStack (Wiki)

Export page content

get

Get attachment on BookStack (Wiki)

Get details for a specific attachment

get

Get book on BookStack (Wiki)

Get details for a specific book

get

Get chapter on BookStack (Wiki)

Get details for a specific chapter

get

Get page on BookStack (Wiki)

Get details for a specific page

get

Get shelf on BookStack (Wiki)

Get details for a specific shelf

get

Get system status on BookStack (Wiki)

Check system version and status

list

List attachments on BookStack (Wiki)

List all attachments in BookStack

list

List audit log on BookStack (Wiki)

View system activity audit log

list

List books on BookStack (Wiki)

List all books in BookStack

list

List chapters on BookStack (Wiki)

List all chapters in BookStack

list

List pages on BookStack (Wiki)

Supports pagination, sorting, and filtering. List all pages in BookStack

list

List recycle bin on BookStack (Wiki)

List deleted items in the recycle bin

list

List shelves on BookStack (Wiki)

List all shelves in BookStack

action

Search on BookStack (Wiki)

Search across all content in BookStack

update

Update attachment on BookStack (Wiki)

Update an existing attachment

update

Update book on BookStack (Wiki)

Update an existing book

update

Update chapter on BookStack (Wiki)

Update an existing chapter

update

Update page on BookStack (Wiki)

Update an existing page

update

Update shelf on BookStack (Wiki)

Update an existing shelf

Connect BookStack (Wiki) to Mastra AI via MCP

Follow these steps to wire BookStack (Wiki) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.ts and run with npx tsx agent.ts
04

Explore tools

Mastra discovers 32 tools from BookStack (Wiki) via MCP

Why Use Mastra AI with the BookStack (Wiki) MCP Server

Mastra AI provides unique advantages when paired with BookStack (Wiki) through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add BookStack (Wiki) without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every BookStack (Wiki) tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

BookStack (Wiki) + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the BookStack (Wiki) MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query BookStack (Wiki), process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed BookStack (Wiki) as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query BookStack (Wiki) on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using BookStack (Wiki) tools alongside other MCP servers

Example Prompts for BookStack (Wiki) in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with BookStack (Wiki) immediately.

01

"Search my BookStack wiki for 'security policy'."

02

"Create a new page titled 'Onboarding' in book ID 5 with some basic HTML content."

03

"Export the 'API Reference' page (ID: 88) as a PDF."

Troubleshooting BookStack (Wiki) MCP Server with Mastra AI

Common issues when connecting BookStack (Wiki) to Mastra AI through Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

BookStack (Wiki) + Mastra AI FAQ

Common questions about integrating BookStack (Wiki) MCP Server with Mastra AI.

01

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.
02

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.
03

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.

Explore More MCP Servers

View all →