We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LNS2905/gemini-chat-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.md•1.95 kB
# Gemini Cookie Sync Extension
Chrome extension that automatically syncs Gemini cookies to the MCP server.
## Installation
1. Open Chrome and go to `chrome://extensions/`
2. Enable **Developer mode** (toggle in top right)
3. Click **Load unpacked**
4. Select this `chrome-extension` folder
5. Login to [gemini.google.com](https://gemini.google.com)
## How it works
```
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Chrome │ │ Extension │ │ MCP Server │
│ (Gemini) │────▶│ (port 52525) │────▶│ (gemini-chat) │
│ │ │ │ │ │
│ Has cookies │ │ Serves cookies │ │ Fetches cookies│
└─────────────────┘ └─────────────────┘ └─────────────────┘
```
1. Extension monitors cookies from `gemini.google.com`
2. Runs a local HTTP server on `http://127.0.0.1:52525`
3. MCP server fetches cookies via `GET /cookies`
4. Cookies auto-refresh when they change
## Usage
After installing:
1. Click the extension icon to see current cookie status
2. Green = cookies available
3. Red = need to login to Gemini
## API
The extension exposes a simple HTTP endpoint:
```
GET http://127.0.0.1:52525/cookies
```
Response:
```json
{
"success": true,
"cookies": {
"__Secure-1PSID": "g.a...",
"__Secure-1PSIDTS": "sidts-..."
}
}
```
## Troubleshooting
**Extension not loading cookies:**
- Make sure you're logged into gemini.google.com
- Try refreshing the Gemini page
- Check Chrome DevTools console for errors
**Port 52525 in use:**
- Another instance may be running
- Check Task Manager for orphan Chrome processes