Add admin-only BookStack MCP connector #53
Reference in New Issue
Block a user
Delete Branch "feat/bookstack-mcp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
bookstack-mcpnpm stdio server (pinned to 5.6.0 in the Dockerfile).search_content,get_books,get_book,get_chapters,get_pages,get_page,get_recent_changes. Write:create_book,create_chapter,create_page,update_page,create_comment. Deletes, recycle-bin purge/restore, and shelf/attachment/image management are excluded.app.admin_agent, and each call re-checksis_admin.utils/mcp_tools.py;homebox_mcp.pynow builds on it, with its public API unchanged.BOOKSTACK_BASE_URL,BOOKSTACK_TOKEN_ID,BOOKSTACK_TOKEN_SECRET(added to.env.exampleanddocker-compose.yml). If they're unset, BookStack is skipped.Setup
Create an API token in BookStack (Profile → API Tokens; the user needs the "Access System API" permission), set the three env vars, and redeploy. Check
make logsforBookStack MCP: loaded 12 tools.Test plan
.venv/bin/pytest tests/ -q: 101 passed (newtest_bookstack_mcp.py; Homebox tests unchanged)bookstack-mcp@5.6.0locally: all 12 tools load (~2k tokens of schema), errors come back as text, and non-admins are refused without calling the server🤖 Generated with Claude Code