加载中…
Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.
io.github.qmediat/gemini-code-context-mcp 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 78/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 io.github.qmediat/gemini-code-context-mcp 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
npx -y @qmediat.io/gemini-code-context-mcp@1.20.0运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-06T13:55:41.184606Z",
"publishedAt": "2026-10-06T13:55:41.184606Z",
"statusChangedAt": "2026-10-06T13:55:41.184606Z"
}
},
"server": {
"name": "io.github.qmediat/gemini-code-context-mcp",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.20.0",
"packages": [
{
"version": "1.20.0",
"transport": {
"type": "stdio"
},
"identifier": "@qmediat.io/gemini-code-context-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "GEMINI_CREDENTIALS_PROFILE",
"format": "string",
"description": "Profile name in ~/.config/qmediat/credentials (chmod 0600). Created by `npx @qmediat.io/gemini-code-context-mcp init`. Recommended; keeps your API key out of ~/.claude.json."
},
{
"name": "GEMINI_API_KEY",
"format": "string",
"isSecret": true,
"description": "Fallback Tier 3 auth. Your Gemini API key. Emits a warning at startup recommending you move it to the credentials profile via the init command."
},
{
"name": "GEMINI_USE_VERTEX",
"format": "string",
"description": "Set to `true` to use Vertex AI backend via Application Default Credentials. Requires GOOGLE_CLOUD_PROJECT."
},
{
"name": "GOOGLE_CLOUD_PROJECT",
"format": "string",
"description": "GCP project ID when using Vertex AI backend. Only read when GEMINI_USE_VERTEX=true."
},
{
"name": "GEMINI_DAILY_BUDGET_USD",
"format": "string",
"description": "Hard daily USD cap enforced locally. Server refuses calls after the cap until UTC midnight. Unlimited if unset. Honoured by `ask`, `code`, and per-iteration by `ask_agentic`."
},
{
"name": "GEMINI_CODE_CONTEXT_DEFAULT_MODEL",
"format": "string",
"description": "Model alias (`latest-pro-thinking`, `latest-pro`, `latest-flash`, `latest-lite`, `latest-vision`) or literal model ID, read by ask, ask_agentic and code. Default: `latest-pro-thinking` (the thinking tier). code replaces a configured default that resolves but cannot reason or think with `latest-pro-thinking` and reports it as `configuredModelReplaced`; a default that does not resolve fails every tool."
},
{
"name": "GEMINI_CODE_CONTEXT_CACHING_MODE",
"format": "string",
"description": "`implicit` (default since v1.14.0: the workspace text is sent inline, Gemini's automatic prefix cache decides any discount) or `explicit` (Files API upload + Context Cache with Google's cached-input price). Per-call `cachingMode` wins."
},
{
"name": "GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS",
"format": "string",
"description": "Context Cache TTL in seconds in explicit caching mode. Default: 3600 (1 hour). Hot workspaces (<10 min since last use) auto-refresh via background watcher."
},
{
"name": "GEMINI_CODE_CONTEXT_LOG_LEVEL",
"format": "string",
"description": "`debug` | `info` | `warn` | `error`. Default: `info`."
}
]
}
],
"repository": {
"url": "https://github.com/qmediat/gemini-code-context-mcp",
"source": "github"
},
"description": "Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching."
}
}