Skip to main content

Connect Google Search Console

Connect your site to Google Search Console so that your AI assistant can analyse how visible your pages are in Google and suggest targeted improvements directly within your articles.


What the connection enables

Once the connection has been established, the SEO plugin (Pro plan) adds tools for reading Search Console data: performance by query, page, country or device, a detailed page report, high-potential pages, URL inspection and sitemaps. Each page returned by Google is linked to the corresponding Joomla article or category, including translated URLs: your assistant can move straight from analysis to correction. The tools are described in the SEO reference.

The connection is read-only: nothing is ever modified in your Search Console.

Requirements

  • Senso MCP 1.8.0 or later and the SEO plugin 1.3.0 or later (Pro plan);
  • a Search Console property verified for your site;
  • a Google account with access to Google Cloud (there is no cost for this use);
  • a Super User account on your site to register the key.

1. Create the Google service account

A service account is a technical account specific to your site, which Google uses to authenticate it. It does not provide access to your personal Google account or any of your other services.

  1. In the Google Cloud Console, create a project or select an existing one.
  2. Open APIs & Services → Library, search for Google Search Console API and enable it.
  3. Open IAM & Admin → Service Accounts and create a service account. It does not need any role: skip the permissions step.
  4. For this account, open the Keys tab, then select Add key → Create new key → JSON. The key file will be downloaded: keep it somewhere safe, as Google only provides it once.

2. Give access to your property

  1. In Search Console, open your site's property.
  2. Open Settings → Users and permissions → Add user.
  3. Enter the service account's email address (it ends in .iam.gserviceaccount.com) and select the Restricted permission.

The Restricted permission is sufficient: it provides access to all the data used by the tools without allowing the property to be modified. Senso MCP will notify you if the account has more permissions than necessary.

3. Register the key in Senso MCP

  1. In the Joomla administration, open Components → Senso MCP → Settings, then the External connections card.
  2. In the Google Search Console section, paste the entire contents of the JSON file into the designated field, then click Save and test.
  3. The test queries Google and automatically detects your site's property.

The key is stored encrypted in the site's database and is never displayed again: the screen only shows the service account's email address, the beginning of the key ID, the detected property and the result of the latest test. Only a Super User can add, test, replace or delete the key, and every operation is recorded in Joomla's action log. See also Settings.

Site property and additional properties

By default, the tools only access your site's property: a “URL-prefix” property that matches its address, or a domain property (sc-domain:) covering it. A domain property also includes the domain's other subdomains: the test reminds you of this.

If the service account has access to other properties, they appear as checkboxes. Select them only if they concern this site (another domain name, a test site): any property that is not selected is denied to the tools, even if the service account has access to it.

4. Permissions and assistant connection

  • Super Users can use the tools immediately. For another group, such as Administrator, grant the Google Search Console via MCP permission under Senso MCP Options → Permissions.
  • During OAuth authorisation, these tools form a separate scope: “Read the site's Google Search Console data”. If your assistant was already connected, disconnect and reconnect the connector to grant it.

Then ask your assistant: “Check the connection to Search Console.” It calls the gsc_status tool, which shows the property in use and the most recent day for which data is available.

Prompt examples

“Give me a Search Console overview for the last three months, compared with the previous three months.”

“Which pages have the most potential in Google? Suggest a new meta description for the top five, without changing anything until I approve it.”

“Give me the report for this article in all its languages: which translation is underperforming?”

“Inspect this page: is it indexed, and is the canonical URL selected by Google the correct one?”

Troubleshooting

SymptomCause and solution
“The service account does not have access to this property”Add the service account's email address as a user of the property with Restricted permission (step 2), then run the test again.
“The Google Search Console API is not enabled”Enable the API in the Google Cloud project for the service account (step 1).
Key rejected by Google (invalid_grant)The key has been deleted or disabled in Google Cloud, or the server clock is out of sync. Create a new key and replace it in Settings.
No property matches the siteCheck the property's exact address (https, with or without www), add the service account to the correct property, or select it from the additional properties.
“Unreadable” statusThe site secret (configuration.php) has changed, for example after a migration: paste the key again.
The most recent days are missingGoogle publishes its final data with a delay of roughly three days. Ask the assistant to include recent data, which is still partial.
URL inspection refusedGoogle limits inspection to around 2,000 URLs per day and per property: try again the following day.