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

GitHub Copilot SEO, Right in VS Code

GitHub Copilot in VS Code can refactor a layout in one go. With SEOmatic connected, Copilot also knows what that layout costs you in search: it audits your live site, reads your real Search Console data and fixes the SEO issues in your code.

  • One .mcp.json file, shared with your team
  • Listed in the GitHub MCP Registry
  • Real Search Console data, not keyword guesses
Connect Copilot free
SEOmatic astronaut working in GitHub Copilot
GitHub Copilot logo
GitHub Copilot

About SEOmatic for GitHub Copilot

SEOmatic is a hosted MCP server that VS Code connects to over HTTP, and it is listed in the GitHub MCP Registry. Copilot picks up the SEOmatic tools and calls them while it works on your code.

Last Updated

November 2026

Requirements

Copilot enabled in VS Code and a free SEOmatic account. You sign in when VS Code prompts you. On Copilot Business or Enterprise, an admin must turn on the MCP servers in Copilot policy first; it is off by default. Free, Pro, Pro+ and Max plans are not affected by that policy.

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 GitHub Copilot

What SEOmatic Does in GitHub Copilot

SEO Checks in Pull Requests

Before a change merges, ask Copilot to audit the affected pages on the preview deploy and flag SEO regressions.

Site-Wide Metadata Cleanup

Duplicate titles, missing descriptions and heading problems found on the live site and fixed where they are generated.

Search Console Next to the Code

Clicks, impressions and CTR for the page you are editing, without leaving VS Code.

Index Coverage Questions

Why a page is excluded from Google, from URL Inspection data, for up to 50 URLs at a time.

Internal Link Gaps

Broken internal links and pages nothing links to, found in a crawl of the live site.

Pre-Relaunch Safety Check

Before a redesign or domain move, list the pages that earn your clicks so the new routes keep them.

Because the config lives in .mcp.json, the whole team gets the same SEO tools the moment they open the repo. Each person still signs in with their own SEOmatic account. It is the best fit for teams that review SEO fixes like any other pull request.

Example: Ask GitHub Copilot About Your Site

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

“Why isn't /drain-cleaning-cost showing up on Google?”

GitHub Copilot calls SEOmatic:

  • gsc_indexing: URL Inspection for /drain-cleaning-cost
  • site_pages: crawl metadata, live page
  • gsc_performance: page clicks, Sep 12 to Oct 9 (28 days)

GitHub Copilot answers:

Google crawled it but chose another page instead. URL Inspection says "Duplicate, Google chose different canonical than user", and the live page declares rel=canonical to /drain-cleaning.

The cause is in components/SeoHead.tsx: it builds the canonical from the first path segment, so every /drain-cleaning-* page points to the parent. Over Sep 12 to Oct 9 (28 days), /drain-cleaning-cost got 0 clicks of its own, while /drain-cleaning ranked at 14.6 for "drain cleaning cost".

I can change SeoHead to use the full path and add a test. You review the edit before committing.

Also try:

  • “Check this branch's preview for SEO regressions”
  • “Which pages lost the most clicks in 28 days?”
  • “Find broken internal links and fix them”
  • “Group the audit issues by component”

SEO Prompts to Try in GitHub Copilot

Once you have signed in to SEOmatic, try:

  • “Audit our live site with SEOmatic and group the issues by the component that causes them.”
  • “Which of our pages lost the most clicks in the last 28 days?”
  • “Check the preview deploy of this branch for SEO regressions against production.”
  • “Find broken internal links on the live site and fix them in the code.”
  • “Why are these URLs not indexed by Google?”
  • “We relaunch next week. Which pages earn our clicks, and do the new routes keep them?”

How It Works, Step by Step

  1. You add SEOmatic to .mcp.json and sign in when VS Code prompts you.
  2. Copilot calls SEOmatic for audits, Search Console data or index status, with the exact date range behind every number.
  3. It changes the code behind each issue, and you review the edits before committing.
  4. You open a pull request as usual, with the SEO reasoning in the description.

How to Connect SEOmatic to GitHub Copilot

Commit one file and everyone on the repo gets the same setup.

  1. Create .mcp.json. At the root of your repo, add a seomatic server of type http with the URL https://app.seomatic.ai/api/mcp and "tools": ["*"] under mcpServers, as in the snippet below. Or run MCP: Add Server, choose HTTP and paste the URL; pick Global, then Copilot Global, to keep it just for you.
  2. Sign in. Trust the workspace if VS Code asks. The Copilot harness starts the server on its own, or start it from MCP: List Servers. Sign in or create a free SEOmatic account in the browser that opens.
  3. Ask your first question. Try “Audit our live site with SEOmatic and list the issues our code causes.”

Or run npx seomatic mcp add in a terminal.

GitHub Copilot setup
// .mcp.json at the repo root (VS Code and Copilot CLI both read it)
{
  "mcpServers": {
    "seomatic": {
      "type": "http",
      "url": "https://app.seomatic.ai/api/mcp",
      "tools": ["*"]
    }
  }
}
// Just for you: the same entry in ~/.copilot/mcp-config.json
//   (MCP: Add Server > HTTP > Global > Copilot Global)
// Older VS Code-only form: .vscode/mcp.json with "servers" instead of "mcpServers"

# GitHub Copilot CLI, in your shell:
copilot mcp add --transport http seomatic https://app.seomatic.ai/api/mcp
# or inside a copilot session: /mcp add
# or the same entry in ~/.copilot/mcp-config.json
# then sign in to SEOmatic when the browser opens (OAuth)
copilot mcp get seomatic   # status and tool list

Keep "tools": ["*"] in the entry: GitHub requires a tools list for remote servers, and it turns on every SEOmatic tool. In the older Local harness, a request can have at most 128 tools enabled, so turn off servers you do not need there. Until you sign in, SEOmatic lists no tools and VS Code asks you to sign in when the server starts; if no tools appear after you sign in, restart the server from MCP: List Servers. MCP: List Servers, then Show Output, shows connection and sign-in errors. On Copilot Business or Enterprise, nothing connects until an admin turns on the MCP servers in Copilot policy.

Workspace .mcp.json, Copilot CLI, the MCP Registry or Skills?

RouteBest forHow
Workspace .mcp.jsonTeams. Commit one file and everyone who opens the repo gets SEOmaticA seomatic server with "type": "http", the URL https://app.seomatic.ai/api/mcp and "tools": ["*"] under mcpServers. No file editing? Run MCP: Add Server, choose HTTP and paste the URL, or start from Chat: Open Customizations, then MCP Servers, Add Server. Just for you? Pick Global, then Copilot Global. Each teammate signs in with their own account.
GitHub Copilot CLIWorking with Copilot in the terminal instead of VS Codecopilot mcp add --transport http seomatic https://app.seomatic.ai/api/mcp, or /mcp add inside a session, or the same seomatic entry in ~/.copilot/mcp-config.json. Sign in with OAuth. Copilot CLI comes with every Copilot plan.
GitHub MCP RegistrySolo developers who want SEOmatic in every workspaceOpen github.com/mcp/ai.seomatic/seomatic and install it in VS Code, or in Copilot CLI run /mcp search seomatic (experimental). Same server, same OAuth sign-in.
Skills onlyRepos where several agents share one skills foldernpx skills add Minh42/seomatic-mcp --full-depth -a github-copilot. Installs SEOmatic's 21 SEO skills: the CLI skill signs in with npx -y seomatic login, the other 20 use SEOmatic's MCP server. All of them: SEO skills.

Pick the workspace .mcp.json. It lives in the repo next to the code it fixes, reviews like any other file, Copilot CLI reads it too, and it never shares anyone's data: each person signs in to their own SEOmatic account.

GitHub Copilot, Microsoft Copilot or Cursor: Which One Is This?

This page is about GitHub Copilot inside VS Code.

  • Microsoft Copilot is the chat assistant from Microsoft. For SEOmatic it is an AI answer engine: you can track whether Copilot's answers name your brand with AI visibility tracking, but it is not where you connect SEOmatic.
  • Cursor is a separate AI code editor with its own mcp.json: Cursor SEO.

Every coding agent connects to the same SEOmatic server, so your workspace, your free questions and your approvals carry across.

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.

Each teammate signs in with their own account and allowance, so a shared config never shares anyone's data.

Nothing Changes on Your Site Without Your Approval

Copilot's code edits go through your review and your pull requests. Anything SEOmatic would change on a live site 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, Claude Code, Codex and Zed. Explore technical SEO fixes, broken link fixing and page indexing. In CI or a terminal? The SEOmatic CLI runs the same tools. All assistants: AI assistants. Full reference: MCP docs.

Using another agent? See Cursor, Codex, Claude Code, or every AI agent.

Frequently Asked Questions

How do I connect SEOmatic to GitHub Copilot?

Create .mcp.json at the root of your repo with a seomatic server of type http and the URL https://app.seomatic.ai/api/mcp under mcpServers, or run MCP: Add Server and choose HTTP. Keep "tools": ["*"] in the entry. Trust the workspace if VS Code asks and sign in to SEOmatic.

Can GitHub Copilot do SEO?

Copilot can change the code that controls your SEO, but by itself it cannot see your rankings or crawl your live site. With SEOmatic connected, Copilot audits your pages, reads your Search Console data and fixes the issues in your code.

Does SEOmatic work in the GitHub Copilot CLI?

Yes. Run copilot mcp add --transport http seomatic https://app.seomatic.ai/api/mcp in your shell, or /mcp add inside a copilot session, or add the same seomatic entry to ~/.copilot/mcp-config.json. The CLI signs in with OAuth through dynamic client registration, and it supports Client ID Metadata Documents since version 1.0.83. Approve the SEOmatic sign-in in your browser, then run copilot mcp get seomatic, or /mcp in a session, to see its tools. Copilot CLI also reads .mcp.json and .github/mcp.json in a trusted repo. Copilot CLI is included in every Copilot plan.

Is SEOmatic in the GitHub MCP Registry?

Yes, at github.com/mcp/ai.seomatic/seomatic. Install it in VS Code from there, or search for it with /mcp search seomatic in Copilot CLI (experimental). It is the same server as the .mcp.json route.

Why doesn't Copilot use the SEOmatic tools?

Check that the seomatic entry has "tools": ["*"]; without a tools list, Copilot may not get SEOmatic's tools. In the older Local harness, a request can have at most 128 tools enabled. Check that the server is running in MCP: List Servers, and read its output there if it fails. If SEOmatic lists no tools, start it from MCP: List Servers and finish the sign-in it asks for. Name SEOmatic in your request so Copilot picks its tools. On Copilot Business or Enterprise, ask an admin to turn on the MCP servers in Copilot policy.

Is SEOmatic for GitHub Copilot 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.

Can my whole team share one setup?

Yes. Commit .mcp.json and everyone who opens the repo gets SEOmatic. The file holds no key, and each teammate signs in with their own SEOmatic account, so nobody sees data they should not.

Are the Search Console numbers real?

Yes. They come from your own Search Console property, and every answer names its exact date range and day count, so you can check any number in Search Console 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 in your repo.

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.

Is this the same as Microsoft Copilot?

No. This page is about GitHub Copilot in VS Code, where you connect SEOmatic. Microsoft Copilot is an AI answer engine, and SEOmatic can track whether its answers mention your brand.

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.