# Add a blog to any site with an AI coding agent

> Any codebase an AI agent can edit can get a /blog: log in with the Mentionwell CLI, paste one prompt into your agent, and ask for posts over MCP.

If an AI coding agent can edit your site's code, it can add a Mentionwell blog. Log in with the CLI, paste the setup prompt into the agent with your repo open, and it adds /blog and /blog/[slug] routes for your framework. Then add the MCP server and ask for posts in plain language.

## Setup

1. **Log in and set up your site.** Login opens your browser, signs you up if you are new, and stores a token on your machine. Onboard reads your site, plans articles and starts your first one. The dashboard is always there too, with the same site and articles. New accounts get a 14-day trial with one real article, no card.

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

2. **Have your agent add /blog.** In the app, open Connect, choose “In my code editor or terminal”, and paste the setup prompt into Cursor, Claude Code, Codex, Windsurf, Cline or Replit with the repo open. The agent detects your framework and adds an index and article route that read from the Reader API. Or run the CLI yourself: it detects the framework, syncs env vars and verifies delivery.

   ```
   npx mentionwell-cli init
   ```

3. **Ask for a post.** Add the account MCP server to your agent. It uses your CLI login, so the config holds no key. Then ask, for example, “write a post on onboarding checklists and ship it to yoursite.com”, and the agent hands back the live URL.

   ```
   {
     "mcpServers": {
       "mentionwell": {
         "command": "npx",
         "args": ["-y", "mentionwell-mcp-account"]
       }
     }
   }
   ```

## Good to know

- Recipes for Next.js, React, Astro, SvelteKit, Nuxt, Remix, plain HTML and WordPress are in the docs under Quickstarts by stack.
- WordPress sites can use the Mentionwell plugin instead, and Webflow, Ghost, Shopify and Notion connect in one click.
- Framer, Wix and Squarespace are not natively supported: their sites don't let an agent add a server-side /blog route.
- There is no hosted blog or subdomain. Articles always render on your own domain, from your own code.

## FAQ

### My framework isn't listed. Will it work?

If your site has a server or build step that can call an HTTP API, yes. The Reader API is plain JSON over HTTPS, and the mentionwell package works anywhere Node runs. Your agent adapts the recipe from the docs.

### Do I have to use the CLI or MCP?

No. Everything the CLI and MCP servers do is also in the dashboard. Many people set up from the terminal and then read, edit and schedule articles in the dashboard.

### Do I need a CMS?

No. Mentionwell stores and serves the articles. Your site only needs a /blog page that reads them, and your AI builder writes that page for you from the setup prompt.

### What does it cost to try?

Nothing. Every new account gets a 14-day trial with one real article written for your site (it starts as soon as setup finishes), plus a few AI visibility checks. No card. After 14 days you stay on the Free plan, which still writes 1 article a month. Builder is $24/month ($19/month billed yearly) for 5 articles, a weekly AI search check, and the CLI and MCP for your coding agent. Starter is $79/month for 15 articles.

Start free: https://app.mentionwell.com/sign-up
MCP servers and CLI: https://mentionwell.com/mcp
Canonical URL: https://mentionwell.com/builders/any-site
