Skip to content

Commit ae0a80b

Browse files
authored
fix(docs): remove unnecessary information from README (#10)
- Removed additional settings from the Gemini settings snippets. - Removed instructions about getting a Gemini API key. Both Gemini CLI and Gemini Code Assist automatically take the user through the various options for configuring Gemini at startup. - Clarified Gemini config changes in CONTRIBUTING.md.
1 parent c80f2dd commit ae0a80b

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ nox -s format
4848

4949
To test changes, modify the `command` for the `analytics-mcp` entry in your
5050
`~/.gemini/settings.json` file so Gemini runs the server using your local
51-
source files:
51+
source files.
52+
53+
Replace `PATH_TO_REPO` in the following snippet with the path where you cloned
54+
the repo:
5255

5356
```
5457
"command": "PATH_TO_REPO/.venv/bin/google-analytics-mcp",

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,10 @@ Here are some sample `gcloud` commands you might find useful:
9898
or [Gemini Code
9999
Assist](https://marketplace.visualstudio.com/items?itemName=Google.geminicodeassist)
100100

101-
1. Get a Gemini API key and set the `GEMINI_API_KEY` environment variable.
102-
103-
```shell
104-
export GEMINI_API_KEY=YOUR_GEMINI_API_KEY
105-
```
106-
107101
1. Create or edit the file at `~/.gemini/settings.json`, adding your server
108102
to the `mcpServers` list.
109103

110-
```
104+
```json
111105
{
112106
"mcpServers": {
113107
"analytics-mcp": {
@@ -119,10 +113,6 @@ Here are some sample `gcloud` commands you might find useful:
119113
"google-analytics-mcp"
120114
]
121115
}
122-
},
123-
"selectedAuthType": "gemini-api-key",
124-
"fileFiltering": {
125-
"enableRecursiveFileSearch": false
126116
}
127117
}
128118
```
@@ -137,7 +127,7 @@ Here are some sample `gcloud` commands you might find useful:
137127
example with the full path to the ADC JSON file you always want to use for
138128
your MCP server.
139129

140-
```
130+
```json
141131
{
142132
"mcpServers": {
143133
"analytics-mcp": {
@@ -149,14 +139,9 @@ Here are some sample `gcloud` commands you might find useful:
149139
"google-analytics-mcp"
150140
],
151141
"env": {
152-
"MCP_DEBUG": "true",
153142
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_ADC_JSON"
154143
}
155144
}
156-
},
157-
"selectedAuthType": "gemini-api-key",
158-
"fileFiltering": {
159-
"enableRecursiveFileSearch": false
160145
}
161146
}
162147
```

0 commit comments

Comments
 (0)