Skip to main content
Glama
TakashiAihara

gemini-web-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XDG_CONFIG_HOMENoBase directory for config files (sessions.json and cookies).~/.config
GEMINI_COOKIE_PATHNoDirectory where gemini-webapi stores cookie cache.~/.config/gemini-web-mcp/cookies
GEMINI__SECURE_1PSIDNoGoogle session cookie __Secure-1PSID, used for authentication when browser cookie extraction is not possible.
GEMINI__SECURE_1PSIDTSNoGoogle session cookie __Secure-1PSIDTS, must be used together with GEMINI__SECURE_1PSID.
GEMINI_WEB_MCP_TEMPORARYNoSet to '0' to have MCP conversations appear in Gemini Web history; default '1' keeps them temporary.1
GEMINI_WEB_MCP_DEFAULT_MODELNoDefault model to use when `gemini_chat_new` omits `model`.Pro

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
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

NameDescription
gemini_chat_newB

新規 conversation を作って prompt を投げ、応答を返す。

gemini_chat_continueA

既存 conversation に prompt を投げ、応答を返す。

モデルは会話開始時のものを引き継ぐ。Gemini は会話途中のモデル変更を ModelInvalid (error code 1050 = model inconsistent with history) で 拒否するため、途中変更は受け付けない。別モデルで訊きたい場合は gemini_chat_new で新しい label を作る。

gemini_models_listA

このアカウントで実際に使えるモデルの一覧。

name をそのまま gemini_chat_new(model=...) に渡せる。

gemini_chat_listB

保存中の conversation 一覧。

gemini_chat_historyA

指定 session の会話履歴を全件返す。

gemini_chat_deleteB

指定 session を local から削除する。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: starting a new conversation, continuing an existing one, listing models, listing conversations, viewing history, and deleting. The overlap between new and continue is resolved by explicit descriptions of creating vs. continuing.

Naming Consistency4/5

All tools share the gemini_ prefix and mostly follow a resource_verb pattern (chat_new, chat_continue, chat_list, chat_delete, models_list). The exception is gemini_chat_history, where 'history' is a noun rather than a verb, creating a minor inconsistency.

Tool Count5/5

With 6 tools, the server is well-scoped for chat conversation management. Each tool serves a distinct function in the lifecycle (create, continue, list, read history, delete) plus model discovery, without unnecessary bloat.

Completeness5/5

The tool set covers the complete workflow: create a conversation, continue it, list all conversations, retrieve full history, and delete. Model listing supports selecting the right model upfront. No obvious gaps remain for the stated purpose of interacting with Gemini conversations.

Maintenance

ActivitySlowing
ResponsivenessResponsive