NEWOur agents now make the SEO fixes on your site and check what worked →

Cline SEO: Plan the Fix Before Touching a File

Cline plans before it acts and asks before it runs. Add SEOmatic as an SEO MCP server and those plans start from real data: a live audit of your site, your Search Console clicks and queries, and Google's index status.

  • One settings block, then click Authenticate
  • Or an API key header for headless machines
  • Plan mode with real SEO data
Connect Cline free
SEOmatic astronaut working in Cline
Cline logo
Cline

About SEOmatic for Cline

SEOmatic is a hosted MCP server that Cline connects to over Streamable HTTP, with a browser sign-in or, on headless machines, a SEOmatic API key in the request header.

Last Updated

November 2026

Requirements

Cline (VS Code extension, JetBrains plugin or CLI) and a free SEOmatic account, which you can create during sign-in. For a machine with no browser, an API key from Settings, AI Agents, API Keys goes in an Authorization header instead.

Pricing

Free to connect. Search Console, audits and page checks have no limit; market data uses 5 free questions a month (plus a one-time 5 the first time you sign in from an assistant, and 10 more when you connect Search Console). Paid plans add agents that stage fixes for your approval. See pricing.

Full Docs

Endpoint, auth, every tool and what it costs: SEOmatic MCP server docs.

SEOmatic in Cline

What SEOmatic Does in Cline

Plan From an Audit

Crawl the live site, then let Cline plan the code changes for each issue before it touches a file.

Traffic-Drop Root Cause

Compare two weeks of Search Console data, find the page that lost the clicks, and trace it to a commit.

Metadata That Matches Searches

Rewrite titles and descriptions for pages that lose the click, using the queries they already show up for.

Crawl Problem Fixes

Noindex leaks, canonical mistakes and broken internal links traced to the code that produces them.

Index Status Checks

Why Google excluded a page, from URL Inspection data, for up to 50 URLs per call.

Search Console in Context

Clicks, impressions and top queries for the page you are editing, from your own property.

Cline shows its plan and asks before it acts, which suits SEO work well: you see the evidence, the files it wants to touch and the fix, before anything changes.

Example: Ask Cline About Your Site

An example on the Acme Plumbing demo site. You ask Cline:

“Clicks dropped last week. Plan what to fix before you change any files.”

Cline calls SEOmatic:

  • gsc_performance: Oct 3 to Oct 9 vs Sep 26 to Oct 2 (7 days each)
  • gsc_indexing: URL Inspection for the top loser
  • site_pages: analyze /emergency-plumber

Cline answers:

Clicks fell from 412 to 297 (Oct 3 to Oct 9 vs Sep 26 to Oct 2, 7 days each). One page explains most of it:

  • /emergency-plumber went from 131 clicks to 38. URL Inspection shows Google now indexes /emergency-plumber/ (trailing slash), and the old URL returns a 308 redirect.
  • The redirect comes from trailingSlash: true added to next.config.js in last week's commit.

Plan:

  1. Revert trailingSlash or add a canonical that matches the redirect target.
  2. Update the 14 internal links that still point to the old form.
  3. Re-check index status in 3 days.

Shall I switch to Act mode and start with step 1?

Also try:

  • “Plan fixes for our lowest-CTR pages”
  • “Which pages have a noindex they should not?”
  • “Explain the exclusions in our sitemap”
  • “Audit the live site, plan only”

SEO Prompts to Try in Cline

Try these with SEOmatic enabled in Cline:

  • “Audit our live site with SEOmatic and plan the fixes before changing any files.”
  • “Which pages have the highest impressions and lowest CTR, and what should their titles say?”
  • “Find the pages with a noindex that should be indexed.”
  • “Check index status for the URLs in our sitemap and explain the exclusions.”
  • “Our clicks dropped last week. Which page lost them, and did a commit cause it?”
  • “Before we change the homepage title, show me the queries it ranks for today.”

How It Works, Step by Step

  1. You add SEOmatic to Cline's MCP settings and approve the sign-in once.
  2. You ask Cline an SEO question; in Plan mode it lays out which SEOmatic tools it will call and why.
  3. It calls SEOmatic for the audit, Search Console data or index status, with the exact date range behind every number.
  4. It proposes the file changes, and you approve each step as Cline normally asks.
  5. It re-checks the live pages after you deploy.

How to Connect SEOmatic to Cline

One settings block and one browser sign-in. The settings file is shared by the VS Code extension, the JetBrains plugin and the CLI.

  1. Open Cline's MCP settings. Click the MCP Servers icon in the Cline panel, open the Configure tab and click Configure MCP Servers. This opens ~/.cline/data/settings/cline_mcp_settings.json. Or use the Remote Servers tab: name seomatic, URL https://app.seomatic.ai/api/mcp, transport Streamable HTTP, Add Server.
  2. Add SEOmatic. Add a seomatic server with type streamableHttp and the URL https://app.seomatic.ai/api/mcp under mcpServers, as in the snippet below. Keep the type: without it Cline falls back to legacy SSE.
  3. Click Authenticate. On the seomatic card, click Authenticate. Sign in or create a free SEOmatic account in the browser that opens, approve access and pick your site. Until you sign in, SEOmatic lists no tools. If the card shows an old list of only check_site and connect_seomatic, use Restart Server so it asks to sign in again. After you sign in, start a new chat so Cline picks up every SEOmatic tool.
  4. Ask your first question. Try “Audit our live site with SEOmatic and plan the fixes.” Cline asks before each SEOmatic call. To let it call MCP tools without asking, turn on Use MCP servers in Cline's auto-approve menu.
Cline setup
// ~/.cline/data/settings/cline_mcp_settings.json
// (MCP Servers icon > Configure > Configure MCP Servers)
{
  "mcpServers": {
    "seomatic": {
      "type": "streamableHttp",
      "url": "https://app.seomatic.ai/api/mcp",
      "disabled": false,
      "autoApprove": []
    }
  }
}
# then click Authenticate on the seomatic card
# CLI: cline mcp add seomatic https://app.seomatic.ai/api/mcp --transport http --yes
#      then cline mcp > Authorize OAuth

On a machine with no browser, skip the sign-in: add "headers": { "Authorization": "Bearer smk_live_..." } to the entry with a key from Settings, AI Agents, API Keys. A key from a free workspace covers every read and analysis tool; a paid workspace can also stage fixes. Keep the key out of version control. Signed in but Cline still says SEOmatic is not set up? That is a known Cline bug after a mid-chat sign-in: start a new chat, or reload the window.

Settings Block, Remote Servers Tab, CLI or Skills?

RouteBest forHow
Settings block with sign-inMost people. You see exactly what goes in the configPaste the seomatic server into Cline's MCP settings with "type": "streamableHttp" and the URL, then click Authenticate on the server card. Headless machine? Add "headers": { "Authorization": "Bearer smk_live_..." } instead and skip the sign-in.
Remote Servers tabNo JSON. Name, URL, transport, doneMCP Servers icon, Remote Servers tab: Server Name seomatic, Server URL https://app.seomatic.ai/api/mcp, Transport Type Streamable HTTP, Add Server. Then Authenticate.
Cline CLICline in the terminal, or the same file from a scriptcline mcp add seomatic https://app.seomatic.ai/api/mcp --transport http --yes, then run cline mcp and pick Authorize OAuth. Writes the same shared settings file.
SkillsRepos where you want the same SEO playbooks every timenpx skills add Minh42/seomatic-mcp --full-depth -a cline. Installs SEOmatic's 21 SEO skills: the CLI skill runs with SEOMATIC_API_KEY, the other 20 use SEOmatic's MCP server. All of them: SEO skills.

Pick the settings block. It takes a minute, no key sits in a file, and Cline lists every SEOmatic tool once you approve the sign-in. The same file serves the VS Code extension, the JetBrains plugin and the CLI.

Cline or GitHub Copilot in VS Code: Which One Is This?

Both run inside VS Code, and both can use SEOmatic. This page is about Cline, the open-source agent extension with Plan and Act modes, which keeps its MCP servers in its own settings file.

  • GitHub Copilot connects through a .mcp.json file in the repo and an OAuth sign-in: GitHub Copilot SEO.
  • Cursor and Zed are separate editors with their own setup: Cursor SEO and Zed SEO.

They all reach the same SEOmatic server, so you can run Cline and Copilot side by side on one workspace.

What Is Free and What Is Paid

Connecting is free, and so is the SEOmatic account behind it: no card. Free covers the diagnosis with no limit: Search Console reports and insights, site audits of up to 30 pages, live page analysis, and your AI visibility results.

Live market data, like keyword volumes, backlink profiles and competitor domains, uses free questions: 5 a month, plus a one-time 5 bonus questions the first time you sign in from an assistant, and 10 more when you connect Google Search Console. One question covers up to 5 lookups.

Paid plans remove the question limit and add the treatment: agents stage fixes on your site (titles, descriptions, content updates, technical fixes, internal links) and run campaigns and fresh AI visibility scans. Every paid plan starts with a 14-Day Trial for $1, credited to your first payment. See pricing.

Cline's Plan mode shows which tools it will call before it calls them, so you can see how many free questions a request will use.

Nothing Changes on Your Site Without Your Approval

Cline asks before it edits files, and SEOmatic asks before it changes your live site: anything it would change through a connected CMS is staged, never pushed. A staged change is a proposal: it says what will change and why, and in Approval mode nothing touches your site until you approve it. The assistant records your decision, and it is told never to approve anything on its own judgment. Approved fixes start within seconds, the page's previous state is stored, and any applied change can be rolled back. Changes that could take a page out of Google, like a noindex, need an extra explicit confirmation.

Keep Exploring

Other coding agents: Cursor, GitHub Copilot, Zed and Claude Code. Explore the site audit, the Google Search Console integration and meta tags. Key scopes and autonomy modes: agents in the developer docs. All assistants: AI assistants. Full reference: MCP docs.

Using another agent? See GitHub Copilot, Cursor, Zed, or every AI agent.

Frequently Asked Questions

How do I connect SEOmatic to Cline?

Click the MCP Servers icon in Cline, open the Configure tab and click Configure MCP Servers. Add a seomatic server with type streamableHttp and the URL https://app.seomatic.ai/api/mcp under mcpServers. Then click Authenticate on the seomatic card and approve the sign-in in your browser. In the CLI: cline mcp add seomatic https://app.seomatic.ai/api/mcp --transport http --yes.

Can Cline do SEO?

Cline can change the code that controls your SEO. With SEOmatic connected, it also audits your live site, reads your Search Console data and checks index status, so its plans start from real problems.

Can I use an API key instead of the sign-in?

Yes, for a remote box or a container where no browser opens. Add a headers entry with Authorization set to Bearer plus a key from Settings, AI Agents, API Keys, and Cline sends it on every call without asking you to sign in. Keep the key in your local Cline settings, never in a committed file or a chat message.

Does Plan mode work with SEOmatic?

Yes. In Plan mode, Cline can call SEOmatic to gather evidence and shows you the plan, but it cannot change files. It only edits files once you switch to Act mode.

Is SEOmatic for Cline free?

Yes. The account is free with no card. Search Console reports, site audits and page checks are free with no limit. Live market data (keyword volumes, competitors, backlinks) uses free questions: 5 a month, plus a one-time 5 the first time you sign in from an assistant, and 10 more when you connect Search Console. Paid plans remove the limit and add agents that stage changes in your CMS.

Are the numbers in Cline's plan real?

Yes. They come from your own Search Console property, and each answer names its exact date range and day count, so you can check any figure yourself.

Do I need a Google Cloud project?

No. You connect Search Console to SEOmatic with one Google sign-in, which takes about a minute. Nothing about Google goes into Cline.

Can it change my site without asking?

No. Every fix your assistant stages waits for your approval before it touches your site, and your assistant is told never to approve on its own. Approved changes are stored with the page's previous state, so any edit to an existing page can be rolled back. SEOmatic's own scheduled agents can ship reversible work, including single new articles, without a click unless you pick Approval mode in your autonomy settings; changes to your URLs or indexing, and new page sets, always wait for you.

Cline lists SEOmatic but never uses it. What now?

Check the seomatic card first. If it lists no tools, you are not signed in yet: click Authenticate on the card. If it shows an old list of only check_site and connect_seomatic, use Restart Server, then Authenticate. If you signed in during a chat, Cline can keep believing MCP is not set up in that same chat, a known Cline bug: start a new chat or reload the window. If the card shows an error, use Restart Server, and check that the entry has "type": "streamableHttp".

Can I use the SEOmatic skills in Cline?

Yes. Run npx skills add Minh42/seomatic-mcp --full-depth -a cline. The 21 skills give Cline step-by-step playbooks like the SEO audit and striking distance keywords; the CLI skill runs with SEOMATIC_API_KEY and the other 20 use SEOmatic's MCP server.

Where does Cline keep the SEOmatic entry?

In ~/.cline/data/settings/cline_mcp_settings.json, one file shared by the VS Code extension, the JetBrains plugin and the Cline CLI. Add SEOmatic once and every Cline on that machine sees it. The sign-in tokens live in the same file, so keep it out of version control.

digi-business-uk

Each local area page used to take us half a day to create and optimize.


With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.


It's transformed how we deliver scalable SEO solutions.

will-hawkins

Will Hawkins

Marketing Director, Digi-Business UK

Give Your Site an SEO Team

Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.

  • You decide what ships
  • Verified live
  • One-click rollback

14-Day Trial for $1, credited to your first payment.