@h4sht/bookstack-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@h4sht/bookstack-mcp
๐ Claude Code
claude mcp add bookstack -- npx github:h4sht/bookstack-mcpClaude Code will prompt you for:
BOOKSTACK_BASE_URLโ your BookStack API URL (e.g.https://wiki.example.com/api)BOOKSTACK_API_TOKENโ your API token (token_id:token_secret)
Or pass them directly:
claude mcp add bookstack \
--env BOOKSTACK_BASE_URL=https://wiki.example.com/api \
--env BOOKSTACK_API_TOKEN=token_id:token_secret \
-- npx github:h4sht/bookstack-mcpThen use /mcp inside Claude Code to verify it's connected โ
Related MCP server: BookStack MCP Server
๐ ๏ธ What you get (25 tools)
Category | Tools |
๐ Books (6) | list, get, create, update, delete, export |
๐ Chapters (6) | list, get, create, update, delete, export |
๐ Pages (6) | list, get, create, update, delete, export |
๐ Shelves (5) | list, get, create, update, delete |
๐ Search (1) | search across all content |
โ๏ธ System (1) | instance info |
All export_* tools support markdown, html, pdf, plaintext.
โ๏ธ Markdown-powered
BookStack stores pages as HTML but accepts Markdown input through its API. This means Claude can create and edit wiki pages in its native format:
"Create a page about async Python in book 3"
โ bookstack_create_page({
book_id: 3,
name: "Async Python Guide",
markdown: "# Async Python\n\n`asyncio` is Python's standard library..."
})Pages are also exported as Markdown, so Claude can read, analyze, and improve existing content.
๐ฆ Setup for other AI assistants
OpenAI Codex
codex mcp add bookstack \
--env BOOKSTACK_BASE_URL=https://wiki.example.com/api \
--env BOOKSTACK_API_TOKEN=id:secret \
-- npx github:h4sht/bookstack-mcpOr add this to ~/.codex/config.toml:
[mcp_servers.bookstack]
command = "npx"
args = ["github:h4sht/bookstack-mcp"]
[mcp_servers.bookstack.env]
BOOKSTACK_BASE_URL = "https://wiki.example.com/api"
BOOKSTACK_API_TOKEN = "id:secret"Verify with: codex mcp list
OpenCode
opencode mcp add
# Select "local", then enter: npx github:h4sht/bookstack-mcpOr add to opencode.json:
{
"mcp": {
"bookstack": {
"type": "local",
"command": ["npx", "github:h4sht/bookstack-mcp"],
"enabled": true,
"environment": {
"BOOKSTACK_BASE_URL": "https://wiki.example.com/api",
"BOOKSTACK_API_TOKEN": "id:secret"
}
}
}
}Cline (VS Code)
Add to Cline MCP settings file:
{
"mcpServers": {
"bookstack": {
"command": "npx",
"args": ["github:h4sht/bookstack-mcp"],
"env": {
"BOOKSTACK_BASE_URL": "https://wiki.example.com/api",
"BOOKSTACK_API_TOKEN": "id:secret"
}
}
}
}Any MCP-compatible assistant (stdio)
The server command is always the same:
npx github:h4sht/bookstack-mcpSet BOOKSTACK_BASE_URL and BOOKSTACK_API_TOKEN as environment variables.
๐ง Config reference
Variable | Required | Description |
| Yes | Full URL including |
| Yes | Format: |
| No | Request timeout ms (default: |
๐ Security
4 auditable files โ read the whole source in 10 minutes
One dependency โ only
@modelcontextprotocol/sdk(official Anthropic)Native fetch() โ no HTTP libraries, no hidden requests
Stdio only โ no open ports, no network surface
Zero telemetry โ no analytics, no tracking, no calls home
Stderr logging โ never writes to stdout (MCP protocol integrity)
๐งช Tests
npm test # 32 tests, all passing โ
๐ Structure
@h4sht/bookstack-mcp/
โโโ src/
โ โโโ index.ts # MCP server, stdio transport, config
โ โโโ client.ts # BookStack REST client (native fetch)
โ โโโ tools.ts # 25 MCP tool definitions + handlers
โ โโโ types.ts # TypeScript types
โโโ dist/ # Compiled JS (ready to run)
โโโ tests/ # 32 unit + integration tests
โโโ package.json
โโโ README.md๐ License
MIT ยฉ h4sht
This server cannot be deployed
Maintenance
Related MCP Connectors
Find, write, publish and check pages and API references in your DeveloperHub docs from an AI client
Publish, list, update and delete shareable Markdown/HTML pages from your AI assistant.
Markdown workspace for AI agents: read, write, organize, and share markdown documents.
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables interaction with BookStack knowledge management systems through the BookStack API. Supports searching, reading, creating, and updating documentation content with secure authentication and dual transport modes for flexible deployment.171,163 npm51MIT
- AlicenseBqualityDmaintenanceEnables AI models to interact with BookStack wiki instances through a comprehensive API interface. Supports content management (books, chapters, pages), user administration, search functionality, and content export in multiple formats.413 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage BookStack documentation through natural language, supporting content browsing, search, and CRUD operations for books, chapters, and pages.-
- AlicenseBqualityBmaintenanceConnects BookStack knowledge bases to Claude through 47+ tools covering complete CRUD operations for books, pages, chapters, shelves, users, search, attachments, and permissions. Enables full management of BookStack content and configuration through natural language.56421 npm101MIT