mcp-server-gsc
Google Search Console MCP Server — AI 어시스턴트를 위한 검색 분석, URL 인덱싱 및 사이트맵 관리 (SEO / LLMO)
mcp-server-gsc는 Google Search Console용 MCP(Model Context Protocol) 서버로, 검색 성능 데이터를 Claude 또는 모든 MCP 클라이언트에 연결합니다. AI 어시스턴트가 검색 분석(클릭, 노출, CTR, 순위)을 조회하고, URL 인덱싱 및 크롤링 상태를 확인하며, 사이트맵을 관리할 수 있으므로 대화에서 바로 웹사이트의 SEO와 LLMO를 분석하고 최적화할 수 있습니다.
도구
도구 | 기능 | 필요한 입력 |
| 모든 도구를 나열하고 인증 상태를 표시합니다. 확실하지 않으면 먼저 호출하세요. | 없음 |
| 모든 GSC 속성 표시 | 없음 |
| 특정 사이트에 대한 세부 정보 | 사이트 URL |
| 클릭, 노출, CTR, 순위가 포함된 상위 쿼리와 페이지 | 사이트 URL, 기간 |
| 사이트 실적 요약(합계, 일일 추이, 상위 5개) | 사이트 URL, 기간 |
| 두 기간의 실적 비교 | 사이트 URL, 두 날짜 범위 |
| 특정 페이지로 유입되는 검색어 | 사이트 URL, 페이지 URL |
| 국가, 기기, 쿼리, 페이지 필터가 포함된 분석 | 사이트 URL |
| URL에 대한 정밀한 크롤링/인덱스 상태 | 사이트 URL, 페이지 URL |
| 최대 10개의 URL을 한 번에 검사 | 사이트 URL, URL 목록 |
| 최대 20개의 URL에서 인덱싱 문제를 확인 | 사이트 URL, URL 목록 |
| 사이트의 모든 사이트맵 나열 | 사이트 URL |
| 오류 및 경고를 포함한 자세한 사이트맵 정보 | 사이트 URL |
| 사이트맵 제출, 삭제, 상태 조회 | 사이트 URL, 실행 |
| OAuth 브라우저 로그인 재실행(계정 전환) | 없음 |
Related MCP server: Google Search Console MCP Server
설정
1. 빌드
npm install
npm run build2. Google Cloud 자격 증명
Search Console API가 활성화된 Google Cloud 프로젝트가 필요합니다 (console.cloud.google.com → APIs & Services → Library → "Google Search Console API" → Enable).
그런 다음 두 인증 방식 중 하나를 선택하세요:
옵션 A — OAuth (권장: 본인 Google 계정으로 로그인)
APIs & Services → Credentials → Create Credentials → OAuth client ID → Application type Desktop app.
메시지가 나타나면 OAuth 동의 화면을 먼저 구성하세요(External도 무방합니다. 본인 Google 계정을 테스트 사용자로 추가하세요).
클라이언트 JSON을 다운로드하거나 클라이언트 ID와 비밀번호를 복사하세요.
환경 변수로 구성하는 방법 — 다음 중 하나를 사용하세요:
GSC_OAUTH_CLIENT_ID=xxxx.apps.googleusercontent.com
GSC_OAUTH_CLIENT_SECRET=GOCSPX-...또는 다운로드한 JSON 파일을 지정합니다:
GSC_OAUTH_CREDENTIALS=/path/to/client_secret_xxxx.json첫 번째 도구 호출 시(또는 reauthenticate 도구를 통해) Google 로그인을 위한 브라우저 창이 열립니다. 토큰은 ~/.config/mcp-server-gsc/tokens.json에 저장되며 자동으로 갱신됩니다.
옵션 B — 서비스 계정(헤드리스, 브라우저 없음)
APIs & Services → Credentials → Create Credentials → Service account를 생성한 후 JSON 키를 만듭니다.
Search Console → 설정 → 사용자 및 권한에서 각 속성을 사용자로 서비스 계정 이메일을 추가합니다.
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.jsonGOOGLE_APPLICATION_CREDENTIALS가 설정되어 있으면 해당 값이 우선 적용되며 브라우저 로그인을 사용하지 않습니다.
3. MCP 클라이언트에 등록
Claude Code:
claude mcp add gsc \
-e GSC_OAUTH_CLIENT_ID=xxxx.apps.googleusercontent.com \
-e GSC_OAUTH_CLIENT_SECRET=GOCSPX-... \
-- node /path/to/mcp-server-gsc/dist/index.jsClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"gsc": {
"command": "node",
"args": ["/path/to/mcp-server-gsc/dist/index.js"],
"env": {
"GSC_OAUTH_CLIENT_ID": "xxxx.apps.googleusercontent.com",
"GSC_OAUTH_CLIENT_SECRET": "GOCSPX-..."
}
}
}
}SEO / LLMO에 권장되는 함께 쓰는 도구
이 서버는 SEO / LLMO 작업을 위해 다음 도구와 함께 가장 잘 사용됩니다:
KeywordGraph MCP server — Search Console 데이터를 실시간 검색 의도 데이터와 비교하고, 주제 클러스터 분석을 수행하며, 쿼리와 콘텐츠의 지식 그래프를 구축할 수 있습니다.
https://mcp.keywordgraph.com으로 직접 연결하세요. 예:claude mcp add --transport http keywordgraph https://mcp.keywordgraph.comSEO skill — 두 서버 위에 고급 SEO · LLMO 분석 워크플로를 추가합니다.
이 세 가지를 모두 함께 사용하면 전체 루프가 완성됩니다: 이 서버에서 실제 실적 데이터를 가져와 지금 사람들이 무엇을 검색하는지와 대조하고, 주제 격차를 발견한 후 그에 맞게 콘텐츠를 최적화할 수 있습니다.
사용 참고 사항
Site URL 형식: 도메인 등록은
sc-domain:example.com입니다. URL 접두어 속성은 Search Console에 표시된 대로 정확히https://example.com/입니다. 실제 값은list_properties로 확인하세요.데이터 지연: Search Console 분석 데이터는 약 2일 정도 지연됩니다. 명시적 날짜 대신
days단축어를 사용하면 기간이 자동으로 2일 전에 끝납니다.기간: 분석 도구는
startDate/endDate(YYYY-MM-DD) 형식이나 끝에days개수(기본 28)를 사용합니다.계정 전환: 도구
reauthenticate호출 — 저장된 토큰을 폐기하고 브라우저 로그인을 다시 엽니다.토큰 저장 위치는
GSC_CONFIG_DIR로 변경할 수 있습니다.
개발
npm run watch # recompile on change소스 구조:
src/index.ts— MCP 서버 및 도구 정의src/auth.ts— OAuth 루프백 흐름, 토큰 지속, 서비스 계정 지원src/gsc.ts— Search Console API 헬퍼 및 (쿼리, 토큰 집계, URL 검사 진단)
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides read-only access to Google Search Console data, allowing AI assistants to query site performance metrics like keywords, clicks, and rankings using natural language. It supports listing verified properties, querying search analytics with dimension filters, and retrieving sitemap information.31MIT
- AlicenseNot gradedqualityFmaintenanceProvides AI agents with read-only access to Google Search Console data, including search analytics, index coverage, and sitemap status. It enables users to query clicks, impressions, and ranking performance or check URL indexing status through natural language.744MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Google Search Console data for SEO analysis, including search analytics, URL inspection, sitemaps, indexing, and opportunity detection.MIT
- AlicenseAqualityCmaintenanceConnects Google Search Console to AI assistants, enabling natural language queries for SEO data, indexing audits, sitemap management, and full site audits.20MIT
Related MCP Connectors
Turn Search Console data into SEO actions, content, publishing, indexing, and AI insights.
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
Open-source SEO manager for coding agents: keyword research, content PRs, rank + Search Console.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/noduslabs/mcp-server-gsc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server