Skip to content
Mentionwell
ProductAEO PlatformPricingServicesMentionDocs
Resources
How it worksIntegrationsUse casesCompareChangelogAboutGlossaryBrand
Sign in Start free →
ProductAEO PlatformPricingServicesMentionDocs
Resources How it worksIntegrationsUse casesCompareChangelogAboutGlossaryBrand
Sign in

Developers

Mentionwell CLI

Last updated May 10, 2026

One command wires Mentionwell into your project: framework autodetect, env-var sync, revalidation route generation, webhook verification, end-to-end article round-trip. The CLI runs locally and never sees your destination's content — just the wiring.

Install

npx mentionwell-cli init

What it does

  1. Framework autodetect — reads your package.json to figure out Next, Astro, Remix, SvelteKit, Nuxt, React + Vite, or plain HTML.
  2. Writes the revalidation route — app/api/revalidate/route.ts for Next App Router, pages/api/revalidate.ts for Pages, an Astro endpoint, etc. HMAC verification baked in.
  3. Syncs env vars — MENTIONWELL_API_URL, MENTIONWELL_SITE_SLUG, MENTIONWELL_API_KEY, MENTIONWELL_WEBHOOK_SECRET. Adds them to your .env.local + a placeholder in your hosting platform.
  4. Verifies the webhook — round-trips a test publish event from Mentionwell to your endpoint and back. Reports failure with a specific cause.
  5. Optional — installs mentionwell SDK and writes a sample loader.

Other commands

The published package is mentionwell-cli; after install (or via npx) the binary is mentionwell.

CommandWhat it does
mentionwell verifyRe-run webhook + Reader API verification on an existing setup.
mentionwell doctorCheck token validity, site list, and per-site webhook health. --local re-runs framework/env detection in the current repo.
mentionwell import <feed-url-or-slug>Pull existing posts from RSS / wp-json / Ghost into Mentionwell as drafts.
mentionwell draft <headlineId> [--geo]Draft an article from a headline, optionally with the AEO/GEO scan context.
mentionwell geo scan [<slug>]Run a one-off AEO scan for a site (the geo namespace is kept for back-compat).
mentionwell sites / posts / headlinesList and manage sites, posts, and the headline queue.
mentionwell usage / dashboard / tokensInspect quota, the dashboard snapshot, and manage PATs.

See also

MCP servers API SDK Headless API
Live now. Free plan, no card needed.Start free →66 sites publishing
Mentionwell

The AEO blog engine. Track where ChatGPT, Claude, Gemini, Perplexity, Copilot & AI Overviews cite — and ship the articles that close the gap.

A product of ZipLyne →
Product
FeaturesHow it worksAEO PlatformAuto AgentAEO ScanningWorkspacesHeadless APIImage PipelineIndexingLanguagesImport / ExportPricing
Solutions
IntegrationsWordPressWebflowGhostShopifyNotionUse casesFor agenciesFor SaaSCompare
Developers
Developer DocsAPI ReferenceSDKCLIMCP serversWebhooksAuthenticationQuickstart
Company
AboutThe MentionChangelogStatusContactBrandGlossary
Trust
SecurityDPASubprocessorsSLAAI DisclosurePrivacyTermsCookiesRefund PolicyAcceptable UseDMCA
© 2026 MENTIONWELL All rights reserved.