Upgrade to CLI 1.3.0 and rebuild your deployed outputs. Existing websites, built-in MCP endpoints, and Content REST integrations need no configuration migration.
Sort tables by column
Add sort to a <Table> to let readers sort columns in ascending or descending order. Sorting works with filtering and sticky headings, supports keyboard and screen-reader use, and follows the site's theme. Markdown and in-app exports keep all rows in their original source order. Existing tables keep their behavior unless you enable sorting.
Choose how to serve content
Use the hosting path that fits your application. A discovery bundle contains compiled documentation and search data for a read-only MCP server. A content export contains selected resources for display inside your application.
Use this table to choose the output for each interface:
| Your goal | What you need |
|---|---|
| Publish a website | A normal site build. |
| Use built-in Node or generated Vercel MCP | An MCP-enabled build. It already includes the data; no separate discovery export is needed. |
| Embed MCP in your Node backend | A discovery bundle and createMcpHandler. |
| Serve MCP through Python or custom code | A discovery bundle. |
| Display documentation inside your app | A content export, served statically or through Content REST. No discovery bundle is needed. |
| Independently serve both MCP and app content | Both exports. |
Embed MCP in your Node backend
Export a discovery bundle with shoalrun mcp export, then mount createMcpHandler from @shoalrun/cli/mcp/server in your application. Your host supplies the HTTP listener, routing, and authentication. The bundle contains data, with no server code or executable analytics.
Serve with Python or another adapter
The included Python reference adapter serves MCP, the existing Content REST API, or both. Node is required to build and export documentation; the Python server doesn't need Node to run. The discovery contract supports your own implementations, and a packaged conformance checker compares a running MCP adapter with the exact bundles it serves.
Keep audience builds separate
A complete example builds two selected audiences from one source and creates a separate in-app export. Customer and internal labels are fictional facet choices, not built-in roles. Selection happens during compilation; your host controls access. Unguarded private prose still needs your team's authoring rules and audits. Keep each audience's artifacts separate and publish complete replacement bundles when updating content.