name: docsbot-bot-builder-admin-mcp
description: Use when creating, configuring, tuning, testing, or handing off a DocsBot bot through the DocsBot Admin MCP. Covers discovery, branding, bot creation, source selection, source tags, prompts, prepared voice instructions with conditional activation, widget/embed/helpdesk/Slack/voice deployment choices, lead capture, escalation, Skills, external MCP connectors, and final dashboard/share links.
DocsBot Bot Builder Admin MCP
Use this skill to build a high-quality DocsBot bot through the hosted DocsBot Admin MCP at https://mcp.docsbot.ai.
Admin MCP exposes fixed named action tools plus optional metadata tools:
search_tools and get_tool_schema for optional metadata inspection.
- The named Admin MCP tool for the authorized action, with its required
pathParams, query, and/or body.
Call the named tool directly when known. Use search_tools or get_tool_schema only for unfamiliar advertised names or inputs.
This skill is the build surface. Do not use adjacent DocsBot demo-bot skills, public demo/pilot endpoints, onboarding bot creators, or helper wrappers as a shortcut for final-product validation. Those paths can create scaffold artifacts that fail this skill's rubric. For validation, use named Admin MCP tools plus ordinary public research only.
Quick Start
- Load workflow.md before starting a real bot setup.
- Load operations.md before the first MCP write or when operation names/payload fields matter.
- Load branding/appearance.md before applying brand, widget, first-message, starter-question, or support URL settings.
- Load deployment/surfaces.md before choosing or handing off widget/embed/dashboard/Help Scout/Slack/API deployment.
- Load prompt-instructions.md before creating or materially changing prompts. For new bots/full setup or voice changes, also load deployment/voice.md.
- Load actions/index.md before configuring actions, integrations, Skills, external MCP servers, or deployment safety settings.
- Load handoff/final.md before writing the final user-facing deliverable.
- Load evaluation/rubric.md when judging whether a configured bot is complete.
Operating Rules
- Resolve the target team with
list_teams; never assume the OAuth token is tied to one team.
- After an uncertain or timed-out write, read back the intended resource state before retrying. Repeated create or send calls can duplicate resources or effects; if the outcome cannot be verified, report the uncertainty instead of retrying blindly.
- For destructive writes, integration disconnects, source deletion, member changes, and bot deletion, summarize the intended action and ask for confirmation unless the user already explicitly authorized that exact action.
- Never expose OAuth tokens, API keys, signed upload URLs, custom header secrets, bot signature keys, or secret binding values in user-facing output.
- Bot/settings reads may return signature-like or secret-like fields. Treat them as sensitive, do not quote them, and report the catalog/sanitization issue separately from the configured bot quality unless you exposed the value.
- Preserve the exact DocsBot prompt template structure. Customize company/product context and necessary extra instructions, but keep
search_documentation, any other canonical tool names, major sections, ordering, and tool-selection instructions unless the target use case makes them wrong.
- Prefer minimal, focused questions. Infer from the business website, docs, public support center, product pages, sitemap, and user context before asking.
Build Flow
Use this sequence for production bot setup:
- Define purpose, audience, deployment, and success criteria.
- Research the business and product, including public docs, knowledge base, help center, sitemap, pricing/product pages, integrations, support/contact paths, and the primary language the bot should use.
- Analyze branding through
analyze_website_for_bot when a public domain is available. Use its colors/logos/language/widget detection as the first pass, then refine contrast and draft a business-specific labels.firstMessage.
- Create the bot with the inferred primary language as the DocsBot
language locale key, such as en, and an agent prompt that includes search_documentation when isAgent is true. Omit model unless the user explicitly requests a non-default model, so the DocsBot API uses the current default. Also omit rate-limit and IP-recording fields during create so their default/null state is preserved.
- Update appearance,
labels.firstMessage, starter questions, support link, agent settings, source tag vocabulary, actions, lead collection, MCP servers, and skill settings. In standard setup, do not change any other labels.* field. labels.floatingButton or another label may change when the user asks or when that label is important to the specific assigned task; otherwise preserve it. Keep showCopyButton and linkSafetyEnabled off/omitted unless the user explicitly confirms the narrowly allowed internal output-sharing use case in workflow.md.
- Add sources. Use public URL, website, sitemap, RSS, Q&A, and uploaded-file flows as appropriate. Do not poll waiting for indexing; configure the rest of the bot while sources ingest. For Truto/cloud connectors, give the dashboard deep link when file selection or OAuth must happen outside MCP.
- Prepare and save voice instructions for new bots/full setup as
voiceAgent.instructions (the logical voicePrompt channel), separately from activation: new bots keep voiceAgent.enabled: false unless the user requests voice or clear context authorizes it; existing bots preserve their enabled state unless a change is authorized. Follow deployment/voice.md. Tune prompts from the closest exact prompt asset. Insert company/product context and deployment-specific behavior with minimal in-place edits, without replacing or reorganizing the tested template guardrails.
- Configure actions: escalation, lead capture, scheduling/custom buttons, web search, Skills, external MCP connectors, Help Scout, Slack, webhooks, Stripe/billing, or other integrations only when they clearly serve the use case.
- Verify the bot with final reads: bot settings, source details/status counts, tag counts, OpenAPI retrieval schema, integrations/skills settings, safety settings, and final dashboard/share links.
- Hand off using handoff/final.md: include a clear "try the bot now" link, custom next steps, relevant dashboard deep links, useful test prompts, unresolved dashboard-only steps, and a concise readiness status.
For final-product quality, fail the setup instead of softening the language when any of these are true:
- The bot name or description contains test, MCP test, disposable, demo, review, timestamp, or judge-review scaffolding.
- A critical source is failed or has zero chunks. If it is still indexing, do not wait; mark readiness as pending indexing and caution the user in the final response.
- Source tags exist but the agent prompt lacks compact routing guidance tailored to why the tags exist, including one-tag, multi-tag, clarification, or untagged=false exclusion behavior as appropriate.
- Source tags do not discriminate, such as assigning every tag to every source.
- Broad public support, developer, or presales coverage has fewer than 20 ready high-signal pages without an explicit narrow scope.
- Public lead/support widgets skip safety/action decisions such as default
piiRedaction: false unless requested, lead capture or explicit no-lead rationale, support/escalation URLs, and clearly justified action choices. Do not infer that a public widget should enable copy responses or link privacy.
- Public widgets keep a generic or default
labels.firstMessage, or lack verified brand assets when brand analysis is available.
- Internal/helpdesk bots claim Help Scout auto-drafting, Slack deployment, or another connected integration without integration read evidence or an explicit dashboard-only/private-copilot handoff.
- Fast-changing docs, pricing, changelog, status, support, or platform behavior has no refresh, RSS, live source/action, or prompt caveat plus canonical CTA.
Before handoff, run this readiness audit and report any failed item as "not final-product ready":
- Clean saved name/description.
- For new bots/full setup, saved voice instructions fit the business and preserve the voice preset guardrails. Voice activation, Skills and MCP selections reflect user authorization; verify the saved enabled state and preserve all out-of-scope writable voice settings.
- Saved branding and
labels.firstMessage are specific to the business, audience, and deployment surface.
- Every
labels.* value except labels.firstMessage and any label explicitly requested or required by the assigned task matches its pre-write value. Standard setup does not reset, translate, or rewrite the remaining labels.
showCopyButton and linkSafetyEnabled are enabled only when the user explicitly confirmed the private/internal shared-output workflow; otherwise they remain omitted, false, or unchanged.
- All promised source areas are named, tagged, broad enough, and either ready/nonzero or explicitly called out as still indexing in the final response.
- Tags route to distinct source groups, have useful descriptions, and the agent prompt explains how to use them for the actual conflict model, such as product/version separation, combined categories, or when to set untagged to false. Public/internal or customer/staff audience splits require separate bots, not tag filtering.
- Public widgets have support/contact route, lead decision, safety decisions, and only the actions that serve the use case.
- Helpdesk/internal bots have an explicit deployment surface, integration evidence or dashboard-only rationale, and PII/log/token handling.
- Dynamic topics have freshness handling or explicit caveats.
- Important website, docs, support, pricing, changelog, and product sources have monthly auto-refresh when the source type supports it, unless the user requests a different cadence.
- Sensitive raw fields and inherited analytics are omitted from evidence.
References
- workflow.md: Detailed discovery, tuning, and handoff workflow.
- operations.md: Named tools, payload shapes, tested guardrails, and dashboard links.
- branding/appearance.md: Brand analysis, widget appearance, first message, starter questions, and visual readback checks.
- branding/widget.md: Conditional detail for widget colors, header logo selection, contrast checks, and uploaded/custom logo fallback.
- deployment/surfaces.md: Widget/embed/dashboard/Help Scout/Slack/API deployment selection, handoff links, and verification.
- deployment/voice.md: Voice prompt preparation, safe full-state updates, conditional activation, and phone/SIP handoff.
- prompt-instructions.md: Prompt preset selection, template guardrails, source-tag routing, prompt asset usage, and verification.
- source-types.md: Source type selection, create payloads, refresh defaults, and links to conditional source-specific detail files.
- actions/index.md: Action/integration selection, public widget safety, and links to conditional action detail files for escalation, lead collection, buttons, scheduling, web search, webhooks, Skills, and MCP.
- handoff/final.md: Required final user-facing deliverable shape, custom next steps, test prompts, and dashboard deep-link selection.
- evaluation/rubric.md: Scoring rubric for bot quality, completeness, and MCP hygiene.
Source Anchors
Use current public DocsBot docs and live MCP catalog as source of truth:
- Admin MCP and per-bot MCP docs:
https://docsbot.ai/documentation/developer/mcp-server
- Bot API docs:
https://docsbot.ai/documentation/developer/bot-api
- Source API docs:
https://docsbot.ai/documentation/developer/source-api
- Widget docs:
https://docsbot.ai/documentation/developer/embeddable-chat-widget
If docs, code, and live MCP behavior disagree, state the conflict and follow live MCP validation for the immediate setup.