Skip to content
Mentionwell
How it worksIntegrationsPricingBlog
Resources
DocsAgent setupBuilder guidesAll featuresFree AI visibility checkHow it worksIntegrationsUse casesServicesCompareChangelogAboutGlossaryBrand
Sign in Start free →
How it worksIntegrationsPricingBlog
Resources DocsAgent setupBuilder guidesAll featuresFree AI visibility checkHow it worksIntegrationsUse casesServicesCompareChangelogAboutGlossaryBrand
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.

New here? Start with two commands

npx mentionwell-cli login
npx mentionwell-cli onboard yoursite.com

login opens your browser, creates a free account if you don’t have one, and stores a token on your machine. onboard reads your site, learns the brand, plans articles and starts writing your first one. Then wire the blog into your project:

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 onboard <domain>Set up a new site: scan, brand profile, article plan, and the first article.
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. 14-day free trial, no card needed.Start free →Free plan: 1 article / month
Mentionwell

A blog that writes itself. Researched articles on your own domain, built to get cited by ChatGPT, Claude, Perplexity & Google AI Overviews.

Designed and Developed by ZipLyne
Product
FeaturesHow it worksAEO PlatformFree AI visibility checkAuto AgentAEO ScanningWorkspacesHeadless APIImage PipelineIndexingLanguagesImport / ExportPricing
Solutions
For buildersLovable blogBolt blogv0 blogCursor blogClaude Code blogNext.js blogReact blogIntegrationsWordPressWebflowGhostShopifyNotionUse casesFor agenciesFor SaaSCompare
Developers
Developer DocsAPI ReferenceSDKCLIMCP serversWebhooksAuthenticationQuickstart
Company
AboutThe MentionChangelogStatusContactBrandGlossary
Trust
SecurityDPASubprocessorsSLAAI DisclosurePrivacyTermsCookiesRefund PolicyAcceptable UseDMCA
© 2026 MENTIONWELL All rights reserved.