Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The port for the server to run on | 8007 |
| BOOKSTACK_BASE_URL | Yes | The base URL of your BookStack instance | |
| BOOKSTACK_TOKEN_ID | Yes | Your BookStack API token ID | |
| BOOKSTACK_TOKEN_SECRET | Yes | Your BookStack API token secret |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_capabilities | Get information about available BookStack MCP capabilities and current configuration |
| search_content | Search across BookStack content with contextual previews and location info |
| search_pages | Search specifically for pages with optional book filtering |
| get_books | List available books with advanced filtering and sorting |
| get_book | Get detailed information about a specific book |
| get_pages | List pages with content previews, word counts, and contextual information |
| get_page | Get full content of a specific page |
| get_chapters | List chapters, optionally filtered by book |
| get_chapter | Get details of a specific chapter |
| export_page | Export a page in various formats (PDF/ZIP provide direct BookStack download URLs) |
| export_book | Export an entire book in various formats |
| export_chapter | Export a chapter in various formats |
| get_recent_changes | Get recently updated content with contextual previews and change descriptions |
| get_shelves | List available book shelves (collections) with filtering and sorting |
| get_shelf | Get details of a specific book shelf including all books |
| get_attachments | List attachments (files and links) with filtering and sorting |
| get_attachment | Get details of a specific attachment including download links |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |