Skip to main content
Glama
qmediat

Gemini Code Context MCP

by qmediat

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoFallback API key (Tier 3; emits a warning)
GEMINI_USE_VERTEXNoEnable Vertex AI backend (set to 'true' or '1')
GOOGLE_CLOUD_PROJECTNoGoogle Cloud project ID for Vertex AI (required if GEMINI_USE_VERTEX is set)
GEMINI_DAILY_BUDGET_USDNoHard cap on daily spend in USDunlimited
GEMINI_CREDENTIALS_PROFILENoProfile name in the credentials filedefault
GEMINI_CODE_CONTEXT_LOG_LEVELNoLog level: debug, info, warn, errorinfo
GEMINI_CODE_CONTEXT_DEFAULT_MODELNoDefault model alias or literal IDlatest-pro
GEMINI_CODE_CONTEXT_ASK_TIMEOUT_MSNoWall-clock timeout in ms for ask (1s–30min)
GEMINI_CODE_CONTEXT_CODE_TIMEOUT_MSNoWall-clock timeout in ms for code
GEMINI_CODE_CONTEXT_FORCE_MAX_OUTPUTNoForce every call to send maxOutputTokens = model.outputTokenLimitfalse
GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDSNoCache TTL in seconds3600
GEMINI_CODE_CONTEXT_TPM_THROTTLE_LIMITNoClient-side tokens-per-minute ceiling per resolved model (0 disables)80000
GEMINI_CODE_CONTEXT_WORKSPACE_GUARD_RATIONoFraction of model.inputTokenLimit that workspace may fill before fail-fast0.9
GEMINI_CODE_CONTEXT_AGENTIC_ITERATION_TIMEOUT_MSNoPer-iteration wall-clock cap for ask_agentic

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/qmediat/gemini-code-context-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server