Last updated: Sep 6, 2026Section: Getting Started
Agent skill: minimum rules for configuring a JSBOX (chat widget) integration over Mailoo MCP. Expand this document as real workflows are confirmed---do not invent steps beyond the tools listed here.
When to use
- Create or find a JSBOX integration, then read or update its widget / connection settings.
- Read lifetime counts of messages and chat sessions for one JSBOX integration (numbers only).
Tools
list_projects/create_projectlist_integrationswithtype=JSBOX(orcreate_integrationwithtype=JSBOX--- OWNER only)manage_jsbox_integration_settings---action=get,action=update,upload_kb_file, ordelete_kb_fileget_activity_digest--- optional; recent counts over a time window (filter withintegrationIds)manage_blog_media--- only if settingchatWidget.agent.imageMediaId
Rules
- Prefer
manage_jsbox_integration_settingsfor settings after create. Do not rely on rawconfigoncreate_integrationfor ongoing changes. - On
update: omit a field to keep it; sendnullon a section to clear it; omitchatWidget.agentto preserve the stored agent. - When
chatWidget.agent.enabledistrue,name,kbIntegrationId,instructions,kbDigestPrompt, andkbArticlePromptare required.kbIntegrationIdmust be a BLOG integration in the same project. Digest/article templates must include the documented placeholders. Knowledge-base files useupload_kb_file/delete_kb_file(pdf, md, txt, csv, json); they are stored, not injected into the model yet. getreturns settings pluscounts(message total; session total and by status OPEN / PENDING / CLOSED). It does not return session ids, visitor data, or message bodies.- Session list, reply, assign, and close are not available via MCP. Use the dashboard for those.
- Access follows the MCP token owner: project/integration membership EDITOR or higher. Never assume wider access.
Related
mailoo-mcp{.interpreted-text role="doc"} --- tokens, endpoint, full tool listchat-widget{.interpreted-text role="doc"} --- JSBOX product behaviour