Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BOOKSTACK_TOKEN | Yes | Your BookStack API token secret | |
| BOOKSTACK_BASE_URL | Yes | The base URL of your BookStack instance | |
| BOOKSTACK_TOKEN_ID | Yes | Your BookStack API token ID |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_books | Get a listing of books visible to the user |
| get_book | Get details of a specific book including its content structure |
| create_book | Create a new book in the system |
| update_book | Update an existing book |
| delete_book | Delete a book (moves to recycle bin) |
| export_book | Export a book in various formats |
| list_chapters | Get a listing of chapters visible to the user |
| get_chapter | Get details of a specific chapter including its pages |
| create_chapter | Create a new chapter in a book |
| update_chapter | Update an existing chapter |
| delete_chapter | Delete a chapter (moves to recycle bin) |
| export_chapter | Export a chapter in various formats |
| list_pages | Get a listing of pages visible to the user |
| get_page | Get details and content of a specific page |
| create_page | Create a new page in a book or chapter |
| update_page | Update an existing page |
| delete_page | Delete a page (moves to recycle bin) |
| export_page | Export a page in various formats |
| list_shelves | Get a listing of shelves visible to the user |
| get_shelf | Get details of a specific shelf including its books |
| create_shelf | Create a new shelf |
| update_shelf | Update an existing shelf |
| delete_shelf | Delete a shelf (moves to recycle bin) |
| search_all | Search across all content types (books, chapters, pages, shelves) in BookStack |
| list_users | Get a listing of users in the system |
| get_user | Get details of a specific user |
| create_user | Create a new user account |
| update_user | Update an existing user account |
| delete_user | Delete a user account (requires admin permissions) |
| list_roles | Get a listing of roles in the system |
| get_role | Get details of a specific role including permissions |
| create_role | Create a new role |
| update_role | Update an existing role |
| delete_role | Delete a role (users with this role will lose it) |
| list_attachments | Get a listing of attachments |
| get_attachment | Get details of a specific attachment |
| delete_attachment | Delete an attachment |
| list_images | Get a listing of images in the gallery |
| get_image | Get details of a specific image |
| update_image | Update image details |
| delete_image | Delete an image from the gallery |