@dongsik/ga4-mcp 0.1.0 → 0.1.2
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 +19 -1
- package/docs/README.ko.md +21 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# ga4-mcp
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@dongsik/ga4-mcp)
|
|
4
|
+
|
|
3
5
|
[한국어](docs/README.ko.md)
|
|
4
6
|
|
|
5
7
|
An MCP server for querying and analyzing Google Analytics 4 data directly from Claude Desktop.
|
|
6
8
|
|
|
9
|
+
```bash
|
|
10
|
+
npx -y @dongsik/ga4-mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
7
13
|
## Features
|
|
8
14
|
|
|
9
15
|
### Basic Queries
|
|
@@ -67,7 +73,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
67
73
|
"mcpServers": {
|
|
68
74
|
"ga": {
|
|
69
75
|
"command": "npx",
|
|
70
|
-
"args": ["-
|
|
76
|
+
"args": ["--package=@dongsik/ga4-mcp", "ga4-mcp"],
|
|
71
77
|
"env": {
|
|
72
78
|
"GA_CLIENT_SECRET_PATH": "/path/to/client_secret.json",
|
|
73
79
|
"GA4_PROPERTY_ID": "123456789"
|
|
@@ -79,6 +85,18 @@ Add to your `claude_desktop_config.json`:
|
|
|
79
85
|
|
|
80
86
|
> Windows path example: `"C:\\Users\\username\\client_secret.json"`
|
|
81
87
|
|
|
88
|
+
### Claude Code (CLI)
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
claude mcp add ga4 -- npx --package=@dongsik/ga4-mcp ga4-mcp
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Set environment variables:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
claude mcp add ga4 -e GA_CLIENT_SECRET_PATH=/path/to/client_secret.json -e GA4_PROPERTY_ID=123456789 -- npx --package=@dongsik/ga4-mcp ga4-mcp
|
|
98
|
+
```
|
|
99
|
+
|
|
82
100
|
### Environment Variables
|
|
83
101
|
|
|
84
102
|
| Variable | Required | Description |
|
package/docs/README.ko.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# ga4-mcp
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@dongsik/ga4-mcp)
|
|
4
|
+
|
|
5
|
+
[English](../README.md)
|
|
6
|
+
|
|
3
7
|
Google Analytics 4 데이터를 Claude Desktop에서 바로 조회·분석할 수 있는 MCP 서버입니다.
|
|
4
8
|
|
|
9
|
+
```bash
|
|
10
|
+
npx -y @dongsik/ga4-mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
5
13
|
## 기능
|
|
6
14
|
|
|
7
15
|
### 기본 조회
|
|
@@ -65,7 +73,7 @@ Google Analytics 4 데이터를 Claude Desktop에서 바로 조회·분석할
|
|
|
65
73
|
"mcpServers": {
|
|
66
74
|
"ga": {
|
|
67
75
|
"command": "npx",
|
|
68
|
-
"args": ["-
|
|
76
|
+
"args": ["--package=@dongsik/ga4-mcp", "ga4-mcp"],
|
|
69
77
|
"env": {
|
|
70
78
|
"GA_CLIENT_SECRET_PATH": "/path/to/client_secret.json",
|
|
71
79
|
"GA4_PROPERTY_ID": "123456789"
|
|
@@ -77,6 +85,18 @@ Google Analytics 4 데이터를 Claude Desktop에서 바로 조회·분석할
|
|
|
77
85
|
|
|
78
86
|
> Windows의 경우 경로 예시: `"C:\\Users\\사용자명\\client_secret.json"`
|
|
79
87
|
|
|
88
|
+
### Claude Code (CLI)
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
claude mcp add ga4 -- npx --package=@dongsik/ga4-mcp ga4-mcp
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
환경변수 설정:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
claude mcp add ga4 -e GA_CLIENT_SECRET_PATH=/path/to/client_secret.json -e GA4_PROPERTY_ID=123456789 -- npx --package=@dongsik/ga4-mcp ga4-mcp
|
|
98
|
+
```
|
|
99
|
+
|
|
80
100
|
### 환경변수
|
|
81
101
|
|
|
82
102
|
| 변수 | 필수 | 설명 |
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dongsik/ga4-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Google Analytics 4 MCP Server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"ga4-mcp": "dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "tsc",
|
|
10
|
+
"build": "tsc && chmod +x dist/index.js",
|
|
11
11
|
"start": "node dist/index.js"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|