Skip to main content
Glama
ajmalaksar25

gsc-mcp

by ajmalaksar25

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GSC_DEFAULT_SITENoDefault site URL (e.g., sc-domain:example.com)
GSC_ENABLE_WRITENoEnable write tools (submit_sitemap, delete_sitemap). Set to '1' to enable.
GSC_OAUTH_CLIENT_IDYesGoogle OAuth client ID (Desktop app)
GSC_OAUTH_CLIENT_SECRETYesGoogle OAuth client secret

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
auth_statusA

Check whether the server is authenticated to Google Search Console, which scope is active, and where you are in onboarding (setupState). Call this first if other tools report an auth error.

auth_loginA

Sign in to Google in the browser, right from here — no terminal needed. Opens the consent screen, captures the token on a localhost callback, and stores it. Use when auth_status says needs_login.

list_sitesA

List every Search Console property the signed-in user can access, with permission level, any registered alias, and which property is currently active / default.

use_siteA

Set the active property for this session, so later tool calls can omit siteUrl. Accepts a property URL or a registered alias (e.g. "blog"). The primary way to switch context.

get_active_siteA

Report which property tool calls currently target, and whether it came from the session, the default, or none.

set_default_siteA

Persist the default property to config.json (survives restarts). Used when a call omits siteUrl and no session site is set. Accepts a property URL or alias.

account_overviewB

Portfolio view across every accessible property: last-28-day clicks and impressions per site, ranked. (Per-site SEO/coverage scores are added in a later phase.)

gsc_deep_linkA

Return the exact Search Console UI URL for a report the API does not expose (removals, manual actions, security issues, page-indexing). Hand this to the user to act on.

query_search_analyticsA

The core Search Console performance query. Returns clicks, impressions, CTR and average position, broken down by the dimensions you request, over a date range. Use top_queries / top_pages for quick cases.

top_queriesC

Quick view of the top search queries for a site over the last N days, ranked by clicks.

top_pagesB

Quick view of the top landing pages for a site over the last N days, ranked by clicks.

find_opportunitiesA

Surface actionable wins: 'striking distance' rows ranked between positions 5-20 (small gains can push them to page one) and high-impression / low-CTR rows (the listing shows but few click). Returns a ranked, deduped list with a reason for each.

compare_periodsA

Compare the most recent N days against the preceding N days. Returns total clicks/impressions deltas plus the biggest gainers and losers for the chosen dimension.

inspect_urlA

Run the URL Inspection tool on a single URL: index status, coverage, last crawl, canonical, mobile usability and rich-results state. Use this to diagnose why a page is or is not indexed. Subject to a 2,000/day per-property quota.

list_sitemapsA

List all sitemaps submitted for a property, with processing status and error/warning counts.

get_sitemapA

Get detailed status for a single sitemap by its full feed URL.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajmalaksar25/gsc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server