dsh-vision-gemma
Allows querying images through Google AI Studio's Gemini API, enabling visual question answering and comparison of multiple images using models like gemma-4-31b-it.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-vision-gemma
テキスト専用(マルチモーダルじゃない)LLM に「目」を与える DSH プラグイン。 Google AI Studio (Gemini API) の 無料枠 を叩いて、ローカルファイルや URL の画像について 「この画像何?」と質問できる MCP ツールを提供する。
実装: ゼロ依存 stdio MCP サーバー (
vision-gemma.mjs) —dsh-modrinth-mcpと同じ方式既定モデル:
gemma-4-31b-it(Free 枠 ~30 RPM / ~14,400 RPD、画像+テキスト入力)代替モデル:
gemma-4-26b-a4b-it(MoE・最速、2026-08-30実測 4.8s) /gemini-3.1-flash-lite/gemini-3.5-flash-lite(~1,500 RPD、1M ctx)注意: 素のID
gemma-4は 2026-08-30時点で404(エイリアス廃止)。実在IDは上記2つのみ (models/list で確認済み)。~/.dsh/settings.yamlの gemini-free プロバイダに残っている 旧ID行も同様に無効Gemma 4 は回答に
<thought>...</thought>の組み込み推論を出すが、サーバー側で剥がしてanswerには本文のみ返す(生思考はincludeThought: trueで取得可)認証: ホスト環境変数
GEMINI_API_KEY(.credentials.yamlrefs が注入するもの。gemini-freeプロバイダと同じキー)。環境変数が空なら~/.dsh/.credentials.yamlを直接読むフォールバック付き
ツール
ツール名 | 引数 | 機能 |
|
| 画像1枚について質問 → |
|
| 複数画像を1回で比較 (デザイン差分・スクショ比較など) |
imageはローカル絶対パス (Windows 形式) かhttp(s)://URL。URL はサーバー側で ダウンロードして base64 インライン化する (Gemini の OpenAI 互換層は URL を fetch しないため)対応形式: PNG / JPEG / WebP / HEIC。インライン上限 18 MB(超過時は再エンコードを促すエラー)
リトライ: 429/5xx は
retry-afterを見て最大2回
Related MCP server: ollama-vision-mcp
登録方法 (profiles/web/cordis.patch.yml)
- insert:
- id: mcp-vision
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: vision
transport: stdio
command: 'C:\Program Files\nodejs\node.exe'
args:
- 'C:\Users\motch\Documents\DSH\dsh-vision-gemma\vision-gemma.mjs'
env:
GEMINI_API_KEY: !!js process.env.GEMINI_API_KEY || ''
failOnStartupError: false
toolCallTimeoutMs: 60000要ホスト再起動(または cordis HMR によるホットスワップ)。
テスト
node C:\Users\motch\Documents\DSH\dsh-vision-gemma\test\server-test.mjs
# 実APIを使わないプロトコル試験のみ:
node C:\Users\motch\Documents\DSH\dsh-vision-gemma\test\server-test.mjs --skip-live実API試験は test/tmp/ に合成 PNG (緑背景に赤円 / 白背景に青三角) を生成し、
色と図形の認識を検証する。クォータ消費は gemma-4 呼び出し 2 回のみ。
This server cannot be deployed
Maintenance
Related MCP Connectors
Analyze images and videos with Gemini to get fast, reliable visual insights. Handle content from U…
Generate images with your own ChatGPT subscription (Plus, Pro or Team), without spending API credits
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables image processing and analysis using Google's Gemini 2.5 Flash model. Supports local files, URLs, and Base64 images with streaming responses and automatic output saving.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables text-only AI models to analyze images via local Ollama multimodal models. Supports image analysis, OCR, and multi-image comparison entirely offline.-
- AlicenseAqualityDmaintenanceEnables AI agents to analyze images via Gemini vision models, supporting local paths, URLs, and data URLs with custom prompts.2MIT
- AlicenseAqualityCmaintenanceEnables pure text LLMs to understand images by acting as a proxy to vision models via OpenAI-compatible APIs. Supports local files, URLs, and base64 inputs for image analysis.2MIT