Contextual menu
Give readers one-click access to AI tools and integrationsThe contextual toolbar is a floating action bar that appears on every page of your docs. It lets readers instantly copy page content, open it in an AI assistant, or add your docs as an MCP server — without leaving the page. Configure it in
docs.json under contextual.options:
docs.json
Available options
Content actions
AI assistants
Editor integrations
MCP
Custom options
You can add custom entries to the toolbar with a title, description, icon, and link. Thehref supports dynamic placeholders:
docs.json
The contextual toolbar is only visible on preview and production deployments, not in
mint dev local preview.Pairing with Visibility
The toolbar’scopy and view options expose your page’s Markdown content directly. If you use the Visibility component, the for="agents" blocks will be included in that Markdown — giving AI assistants structured context that human readers don’t see.