加载中…
Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.
io.github.chrischall/gemini-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.chrischall/gemini-mcp 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
npx -y @chrischall/gemini-mcp@2.4.2运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-20T22:27:36.93796Z",
"publishedAt": "2026-10-20T22:27:36.93796Z",
"statusChangedAt": "2026-10-20T22:27:36.93796Z"
}
},
"server": {
"name": "io.github.chrischall/gemini-mcp",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "2.4.2",
"packages": [
{
"version": "2.4.2",
"transport": {
"type": "stdio"
},
"identifier": "@chrischall/gemini-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "GEMINI_API_KEY",
"format": "string",
"isSecret": true,
"description": "Your Google Gemini API key (aistudio.google.com/apikey)"
},
{
"name": "GEMINI_IMAGE_MODEL",
"format": "string",
"description": "Override the default image model (default: gemini-nano-banana-2.1)"
},
{
"name": "GEMINI_OUTPUT_DIR",
"format": "string",
"description": "Default directory for generated images (default: ~/Downloads/gemini-mcp). When set, a per-call output_dir must be inside it."
},
{
"name": "GEMINI_INPUT_DIR",
"format": "string",
"description": "Directory to resolve bare input-image filenames against"
},
{
"name": "GEMINI_UPLOAD_DIR",
"format": "string",
"description": "Restrict local-file uploads to the Gemini Files API to these directories (path.delimiter-separated; unset = unrestricted)"
},
{
"name": "GEMINI_REFERENCE_DIR",
"format": "string",
"description": "Restrict local reference images (images / image paths sent to Gemini) to these directories (path.delimiter-separated), plus GEMINI_OUTPUT_DIR. Unset: GEMINI_UPLOAD_DIR applies; if that is unset too, unrestricted locally, and $MCP_DATA_DIR/uploads when MCP_DATA_DIR is set (hosted)"
},
{
"name": "GEMINI_TIMEOUT_MS",
"format": "string",
"description": "Upstream request timeout in ms (default: 60000, or 120000 for image_size: \"4K\"); each generation tool also takes a per-call timeout_ms"
},
{
"name": "GEMINI_HEARTBEAT_MS",
"format": "string",
"description": "Progress-notification cadence in ms while a generation runs (default: 10000; 0 disables) — keeps MCP hosts that reset their timeout on progress from timing out long generations"
},
{
"name": "GEMINI_CHAIN_RETRY_MS",
"format": "string",
"description": "How long to wait out interactions-store lag when a chained call 404s (default: 120000; 0 disables retrying)"
},
{
"name": "GEMINI_DEBUG",
"format": "string",
"description": "When set, emit heartbeat diagnostics to stderr. Off by default."
},
{
"name": "GEMINI_RATE_CARD",
"format": "string",
"description": "Override/extend the shipped USD-per-1M-token rates used by gemini_token_usage's cost estimate, e.g. {\"gemini-3-pro-image\":{\"input\":2,\"text_output\":12,\"image_output\":120}}. Malformed JSON is ignored (a bad card must not fail generations)."
}
]
}
],
"repository": {
"url": "https://github.com/chrischall/gemini-mcp",
"source": "github"
},
"description": "Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models."
}
}