DocsbookDocsbook
← Back to catalog
publishingfreerequires Docsbook MCP

docs-setup-workspace

Configures a Docsbook workspace via MCP — branding, UI, AI chat, SEO, languages. Requires Docsbook MCP connected (mcp add --transport http https://docsbook.io/api/mcp/server). Run after /docs-publish. If MCP is unavailable, prints setup instructions.

Local install
npx docs-skills install
Try in MCP
@docsbook find_skill "docs-setup-workspace"

docs-setup-workspace

Configures a Docsbook workspace using the Docsbook MCP server. Applies branding, UI settings, navigation, AI, SEO, and language options.

Arguments#

Check MCP Availability#

Try calling mcp__docsbook__list_workspaces. If it fails or is unavailable, print:

Docsbook MCP not connected. To set it up:
  mcp add --transport http https://docsbook.io/api/mcp/server
Then re-run /docs-setup-workspace.

Exit gracefully without error.

Step 1 — Create or Find Workspace#

Step 2 — Read Branding from _branding.json#

If _branding.json exists in the docs-output folder, parse:

If the file does not exist, use sensible defaults.

Step 3 — Apply Branding#

Call mcp__docsbook__update_branding with:

Step 4 — UI Settings#

Call mcp__docsbook__update_ui_settings with:

{
  "showScrollToTop": true,
  "showPageFeedback": true,
  "showBreadcrumbs": true,
  "showPrevNextButtons": true,
  "showCopyPageButton": true,
  "showHeader": true,
  "showSearchButton": true,
  "showDeepSearch": true,
  "showReferences": true,
  "showAskAiHeader": true,
  "backgroundGlow": true,
  "themeToggle": "<hasThemeToggle from branding>",
  "languageSidebarToggle": true
}

Step 5 — Navigation#

Call mcp__docsbook__update_navigation. If the source URL is known, add a "Website" header link:

{
  "headerLinks": [{ "label": "Website", "url": "{source_url}" }]
}

Step 6 — AI, SEO, and Languages#

Attempt the following calls. These may fail on the Free plan — catch errors silently and mention the upgrade path.

If any call fails with a plan restriction error, append to output:

⚠️  AI / SEO / Languages require PRO plan. Upgrade at https://docsbook.io

Output#

✅ Workspace configured!
📚 Docsbook: https://docsbook.io/{owner}/{repo}

Settings applied:
- Branding: accent #{color}, theme: {scheme}
- AI chat: ✅ enabled
- SEO: ✅ enabled
- Languages: en, zh, ja, ru
View source on GitHub →Browse full catalog repo →
Keywords
setupworkspacebrandingconfiguredocsbookmcp
MCP tools used
list_workspacesget_workspacecreate_workspaceupdate_brandingupdate_ui_settingsupdate_navigationupdate_seoupdate_languagesupdate_ai_settingsupdate_domain