@dongsik/ga4-mcp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -59,8 +59,15 @@ npx -y @dongsik/ga4-mcp
59
59
  1. Create or select a project in [Google Cloud Console](https://console.cloud.google.com/)
60
60
  2. **APIs & Services → Library** → Enable "Google Analytics Data API"
61
61
  3. **APIs & Services → Library** → Enable "Google Analytics Admin API"
62
- 4. **APIs & Services → Credentials** → Create **OAuth 2.0 Client ID** (type: Desktop app)
63
- 5. Download the JSON file and save as `client_secret.json`
62
+ 4. **APIs & Services → OAuth consent screen** → Set User Type to **External**, add your Google account as a test user
63
+ 5. **APIs & Services Credentials** Create **OAuth 2.0 Client ID** (type: Desktop app)
64
+ 6. Download the JSON file → this is your `client_secret.json`
65
+
66
+ ### Find your GA4 Property ID
67
+
68
+ 1. Go to [Google Analytics](https://analytics.google.com)
69
+ 2. Bottom left **Admin (gear icon)** → **Property Settings**
70
+ 3. Your **Property ID** is the numeric ID shown at the top (e.g. `417304962`)
64
71
 
65
72
  ## Installation
66
73
 
package/docs/README.ko.md CHANGED
@@ -59,8 +59,15 @@ npx -y @dongsik/ga4-mcp
59
59
  1. [Google Cloud Console](https://console.cloud.google.com/)에서 프로젝트 생성 또는 선택
60
60
  2. **APIs & Services → Library** → "Google Analytics Data API" 활성화
61
61
  3. **APIs & Services → Library** → "Google Analytics Admin API" 활성화
62
- 4. **APIs & Services → Credentials****OAuth 2.0 Client ID** 생성 (유형: Desktop app)
63
- 5. JSON 다운로드`client_secret.json`으로 저장
62
+ 4. **APIs & Services → OAuth 동의 화면** 사용자 유형 **외부** 선택, 테스트 사용자에 본인 Google 계정 추가
63
+ 5. **APIs & Services Credentials** → **OAuth 2.0 Client ID** 생성 (유형: Desktop app)
64
+ 6. JSON 다운로드 → 이 파일이 `client_secret.json`
65
+
66
+ ### GA4 속성 ID 확인
67
+
68
+ 1. [Google Analytics](https://analytics.google.com) 접속
69
+ 2. 왼쪽 하단 **관리(톱니바퀴)** → **속성 설정**
70
+ 3. 상단에 표시된 숫자가 **속성 ID** (예: `417304962`)
64
71
 
65
72
  ## 설치 및 실행
66
73
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@dongsik/ga4-mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Google Analytics 4 MCP Server",
5
+ "license": "MIT",
5
6
  "type": "module",
6
7
  "bin": {
7
8
  "ga4-mcp": "dist/index.js"