You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Install the Gemini CLI by following [Gemini CLI installation instructions](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#-installation).
182
+
2. Authenticate to Google Gemini using your Google account:
183
+
```bash
184
+
gemini
185
+
```
186
+
3. Configure Mixpanel MCP as a remote server and authorize:
Running this command will provide a link in your terminal to authorize your access with Mixpanel. Follow the authorization steps in your browser. After logging in via OAuth, you should see a confirmation message.
191
+
192
+
4.**Verify Configuration (or Create It Manually):**
193
+
After authorization, your `settings.json` file for the Gemini CLI should be updated automatically. You can find this file at `~/.gemini/settings.json`. To check, run:
194
+
```bash
195
+
ls -la ~/.gemini
196
+
cat ~/.gemini/settings.json
197
+
```
198
+
The contents should be similar to the following:
199
+
```json
200
+
{
201
+
"theme": "Default",
202
+
"selectedAuthType": "oauth-personal",
203
+
"mcpServers": {
204
+
"mixpanel-remote": {
205
+
"command": "npx",
206
+
"args": [
207
+
"-y",
208
+
"mcp-remote",
209
+
"https://mcp.mixpanel.com/sse",
210
+
"--allow-http"
211
+
]
212
+
}
213
+
},
214
+
"preferredEditor": "vim"
215
+
}
216
+
```
217
+
This configuration ensures that the Gemini CLI knows how to connect to the Mixpanel remote server.
218
+
If `settings.json` is not available, create it manually using the same contents as above.
219
+
220
+
221
+
5. Complete Mixpanel authorization via the provided link (if not already done).
222
+
6. Run the Gemini CLI
223
+
Once configured, you can use the Gemini CLI with the specified model by running this command:
0 commit comments