gemini-web-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XDG_CONFIG_HOME | No | Base directory for config files (sessions.json and cookies). | ~/.config |
| GEMINI_COOKIE_PATH | No | Directory where gemini-webapi stores cookie cache. | ~/.config/gemini-web-mcp/cookies |
| GEMINI__SECURE_1PSID | No | Google session cookie __Secure-1PSID, used for authentication when browser cookie extraction is not possible. | |
| GEMINI__SECURE_1PSIDTS | No | Google session cookie __Secure-1PSIDTS, must be used together with GEMINI__SECURE_1PSID. | |
| GEMINI_WEB_MCP_TEMPORARY | No | Set to '0' to have MCP conversations appear in Gemini Web history; default '1' keeps them temporary. | 1 |
| GEMINI_WEB_MCP_DEFAULT_MODEL | No | Default model to use when `gemini_chat_new` omits `model`. | Pro |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gemini_chat_newB | 新規 conversation を作って prompt を投げ、応答を返す。 |
| gemini_chat_continueA | 既存 conversation に prompt を投げ、応答を返す。 モデルは会話開始時のものを引き継ぐ。Gemini は会話途中のモデル変更を
|
| gemini_models_listA | このアカウントで実際に使えるモデルの一覧。
|
| gemini_chat_listB | 保存中の conversation 一覧。 |
| gemini_chat_historyA | 指定 session の会話履歴を全件返す。 |
| gemini_chat_deleteB | 指定 session を local から削除する。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TakashiAihara/gemini-web-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server