Official · MODEL CONTEXT PROTOCOL

ahonn mcp server gsc

A Model Context Protocol (MCP) server providing access to Google Search Console

WHAT IT CONNECTS

ahonn mcp server gsc 为 AI Agent 提供什么

  • Search analytics data retrieval with dimensions support
  • Rich data analysis with customizable reporting periods
  • Node.js 18 or later
  • Google Cloud Project with Search Console API enabled
  • Service Account credentials with Search Console access
  • Visit the [Google Cloud Console](https://console.cloud.google.com/)
  • Create a new project or select an existing one
  • Enable the API:
  • Go to "APIs & Services" > "Library"
  • Search for and enable ["Search Console API"](https://console.cloud.google.com/marketplace/product/google/searchconsole.googleapis.com)
  • Create credentials:
  • Navigate to ["APIs & Services" > "Credentials"](https://console.cloud.google.com/apis/credentials)
  • Click "Create Credentials" > "Service Account"
  • Fill in the service account details
  • Create a new key in JSON format
  • The credentials file (.json) will download automatically
  • Grant access:
  • Open Search Console
  • Add the service account email (format: name@project.iam.gserviceaccount.com) as a property administrator
  • `siteUrl`: Site URL (format: `http://www.example.com/` or `sc-domain:example.com`)
  • `startDate`: Start date (YYYY-MM-DD)
  • `endDate`: End date (YYYY-MM-DD)
  • `dimensions`: Comma-separated list (`query,page,country,device,searchAppearance`)
  • `type`: Search type (`web`, `image`, `video`, `news`)
  • `aggregationType`: Aggregation method (`auto`, `byNewsShowcasePanel`, `byProperty`, `byPage`)
  • `rowLimit`: Maximum rows to return (default: 1000)

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。