A Model Context Protocol (MCP) server providing full access to BookStack's knowledge management capabilities
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"bookstack-mcp-server": {
"args": [
"-y",
"bookstack-mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Connect BookStack to Claude and other AI assistants through the Model Context Protocol (MCP). This server provides complete access to your BookStack knowledge base with 47+ tools covering all API endpoints.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'bookstack-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked bookstack-mcp-server against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in productivity / writing
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
A markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
MCP Security Weekly
Get CVE alerts and security updates for Bookstack Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Connect BookStack to Claude and other AI assistants through the Model Context Protocol (MCP). This server provides complete access to your BookStack knowledge base with 47+ tools covering all API endpoints.
This server supports two transport modes: Streamable HTTP and Stdio.
x-bookstack-url and x-bookstack-token).MCP_TRANSPORT=stdio to enable.# Install globally
npm install -g bookstack-mcp-server
# Or run directly (starts HTTP server by default)
npx bookstack-mcp-server
To use with Claude Desktop (requires Stdio mode):
# For Claude Code
claude mcp add bookstack npx bookstack-mcp-server \
--env BOOKSTACK_BASE_URL=https://your-bookstack.com/api \
--env BOOKSTACK_API_TOKEN=token_id:token_secret \
--env MCP_TRANSPORT=stdio
Set these environment variables:
export BOOKSTACK_BASE_URL="https://your-bookstack.com/api"
export BOOKSTACK_API_TOKEN="token_id:token_secret"
# Optional: Set transport mode (http or stdio)
export MCP_TRANSPORT="http"
💡 Token Format: Combine your BookStack Token ID and Token Secret as
token_id:token_secret
💡 Need detailed setup? See the complete Setup Guide
47+ tools across 13 categories:
📖 See the complete Tools Overview for detailed documentation
Find comprehensive guides in the docs/ folder:
List all books:
bookstack_books_list({ count: 10, sort: "updated_at" })
Create a new page:
bookstack_pages_create({
name: "Getting Started",
book_id: 1,
markdown: "# Welcome\nYour content here..."
})
Search for content:
bookstack_search({ query: "API documentation", count: 20 })
git clone <repository-url>
cd bookstack-mcp-server
npm install
npm run dev
🔧 See the Setup Guide for development, Docker, and production deployment
MIT License - see LICENSE file for details.
This project is part of the BookStack ecosystem! Check out other API-based tools and scripts in the BookStack API Scripts repository.