Gemini Context MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug modefalse
GEMINI_MODELNoThe Gemini model to usegemini-2.0-flash
GEMINI_TOP_KNoTop-K setting for the Gemini model40
GEMINI_TOP_PNoTop-P setting for the Gemini model0.9
MAX_SESSIONSNoMaximum number of sessions50
GEMINI_API_KEYYesYour Gemini API key
GEMINI_TEMPERATURENoTemperature setting for the Gemini model0.7
MAX_MESSAGE_LENGTHNoMaximum message length1000000
MAX_TOKENS_PER_SESSIONNoMaximum tokens per session2097152
SESSION_TIMEOUT_MINUTESNoSession timeout in minutes120
GEMINI_MAX_OUTPUT_TOKENSNoMaximum number of output tokens2097152

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: 0pj55vyt1r