Hosted Product Docs
mere docs reads authenticated Mere platform and app documentation from the hosted docs API at https://mere-docs.mere.world. It is for customers, operators, and agents that do not have local Mere repositories.
The docs site remains protected by Mere World broker auth. The CLI does not read local repo paths and does not make docs public.
First Login
mere docs login
mere docs status --jsonmere docs login opens the Mere World broker flow and stores a docs-scoped app session under root CLI state. The session is separate from product app sessions.
Use mere docs login --no-browser when the CLI is running somewhere that cannot open a browser; it will print the authorization URL.
For automation, provide a docs-scoped session token without writing a session file:
MERE_DOCS_TOKEN=... mere docs search "site cms" --app business --jsonUse MERE_DOCS_BASE_URL or --base-url URL only when intentionally targeting a preview docs worker.
Find Docs
Search across the full hosted corpus:
mere docs search "workspace site lifecycle" --json
mere docs search "site cms assist" --app business --limit 5 --json
mere docs search "publish bundle rollback" --app dynasite --jsonUse --app APP when you know the product boundary. Use --source platform for central platform docs and --source app for app-owned docs.
List And Read
List matching docs:
mere docs index --json
mere docs index --app business --json
mere docs index --app dynasite --jsonmere docs list is an alias for mere docs index.
Read by stable doc id:
mere docs read business/site-cms --json
mere docs read dynasite/cli/commands --json
mere docs read product/local-data-and-ai --source platformUse index when you need stable ids, then read the exact page. Use search when you only know a phrase or workflow.
Agent Workflow
Agents should prefer this order before attempting a product operation:
mere apps manifest --app APP --jsonmere docs search "workflow or command phrase" --app APP --jsonmere docs read DOC_ID --json- The product command, with
--jsonand explicit selectors
For structured mutations, confirm the manifest says supportsData: true before using --data or --data-file.
Auth Errors
If a read or search says no docs session exists:
mere docs loginIf automation is running headlessly, set MERE_DOCS_TOKEN to a docs-scoped token. Do not make the docs site public to solve automation access; use authenticated CLI access instead.