bookstack-mcp
Allows interaction with a BookStack instance, providing tools for searching content and performing CRUD operations on books, chapters, pages, and shelves.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bookstack-mcpsearch for 'getting started' in my books"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This is an HTTP MCP server that allows your agents to communicated with Bookstack.
I built this MCP server because I use bookstack pretty heavily. I could not find a good solution for letting my LLM read and update books using an HTTP powered MCP server.
Getting started
I built this with the intention that it would run alongside bookstack using docker compose.
Configuration
The server is configured with environment variables (a local .env file is also
loaded — see .env.example):
Variable | Required | Default | Description |
| yes | — | Root URL of the BookStack instance to talk to (e.g. |
| no |
| Port the MCP HTTP server listens on. |
| no |
| Winston log level: |
Note the BookStack API token is not configured on the server. Each request carries the token and the server forwards it to BookStack, so a single instance can serve multiple users/tokens — see Authentication below.
Example docker compose
The server is meant to run on the same Docker network as BookStack so it can reach it by service name. Point BOOKSTACK_BASE_URL at the bookstack service (over the internal network) rather than a public/localhost URL:
services:
bookstack:
image: lscr.io/linuxserver/bookstack:latest
environment:
APP_URL: http://localhost:6875
# BookStack also needs a database service and its DB_* settings.
# See https://www.bookstackapp.com/docs/admin/installation/ for a
# complete BookStack + MySQL compose setup.
ports:
- "6875:6875"
bookstack-mcp:
build: .
environment:
BOOKSTACK_BASE_URL: http://bookstack:6875
PORT: "6045"
LOG_LEVEL: info
ports:
- "6045:6045"
depends_on:
- bookstackThen point your MCP client at http://<host>:6045/mcp. A GET /health endpoint is available for container health checks.
Authentication
Create an API token in BookStack (Edit Profile → API Tokens → Create Token), which gives you a Token ID and a Token Secret. Send them on every request in the Authorization header, joined with a colon:
Authorization: Token <token_id>:<token_secret>The Token / Bearer scheme prefix is optional (a raw <id>:<secret> value is also accepted). Requests without a token are rejected with 401. The server forwards the token to BookStack, so it inherits exactly the permissions of that token's user.
Related MCP server: mcp-docs
Available tools
The server exposes two tools over the MCP endpoint (POST /mcp).
bookstack_search
Search across all BookStack content (shelves, books, chapters, and pages).
This tool is Read-only.
Argument | Required | Description |
| yes | Search text, using BookStack search syntax (e.g. |
| no | 1-based page number. |
| no | Results per page (max 100). |
bookstack_crud
Create, read, update, delete, or list BookStack entities. Works across four entity types: book, chapter, page, and shelf.
Argument | Required | Description |
| yes |
|
| yes |
|
| for | Numeric ID of the target entity. |
| for | Entity fields (see below). Validated per entity before sending. |
| optional, for |
|
data fields by entity (* = required on create; all optional on update):
Entity | Fields |
|
|
|
|
|
|
|
|
Both tools return the BookStack API response as JSON. Errors (validation failures or BookStack API errors) come back as tool errors with a descriptive message.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server for Wiki.js projects that enables full-text search, page retrieval, and page management capabilities. It allows LLMs to interact with wiki content through specialized tools for searching, listing, and creating pages.Last updated
- Alicense-qualityCmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.Last updatedMIT
- Alicense-qualityDmaintenanceMCP server enabling LLMs to query a local Calibre Content Server for ebook metadata, chapters, and content in HTML or Markdown.Last updated18MIT
- Alicense-qualityCmaintenanceMCP server for Joplin Server that gives LLMs full access to notes, notebooks, tags, and attachments via the REST API.Last updated4MIT
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmhooper/bookstack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server