MCP Read Images
MCP 画像読み取り
OpenRouterビジョンモデルを用いて画像を解析するためのMCPサーバーです。このサーバーは、OpenRouter APIを介してClaude-3.5-sonnetやClaude-3-opusなどの様々なビジョンモデルを用いて画像を解析するためのシンプルなインターフェースを提供します。
インストール
npm install @catalystneuro/mcp_read_imagesRelated MCP server: vision-mcp
構成
サーバーにはOpenRouter APIキーが必要です。OpenRouterから取得できます。
サーバーを MCP 設定ファイル (通常、VSCode の場合は~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonにあります) に追加します。
{
"mcpServers": {
"read_images": {
"command": "read_images",
"env": {
"OPENROUTER_API_KEY": "your-api-key-here",
"OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet" // optional, defaults to claude-3.5-sonnet
},
"disabled": false,
"autoApprove": []
}
}
}使用法
サーバーは、画像を分析するために使用できる単一のツールanalyze_imageを提供します。
// Basic usage with default model
use_mcp_tool({
server_name: "read_images",
tool_name: "analyze_image",
arguments: {
image_path: "/path/to/image.jpg",
question: "What do you see in this image?" // optional
}
});
// Using a specific model for this call
use_mcp_tool({
server_name: "read_images",
tool_name: "analyze_image",
arguments: {
image_path: "/path/to/image.jpg",
question: "What do you see in this image?",
model: "anthropic/claude-3-opus-20240229" // overrides default and settings
}
});モデル選択
モデルは次の優先順位に従って選択されます。
ツール呼び出しで指定されたモデル(
model引数)MCP設定で指定されたモデル(
OPENROUTER_MODEL環境変数)デフォルトモデル(anthropic/claude-3.5-sonnet)
サポートされているモデル
次の OpenRouter モデルがテストされています。
人類学的/クロード-3.5-ソネット
アントロピック/クロード-3-opus-20240229
特徴
画像の自動サイズ変更と最適化
構成可能なモデル選択
画像に関するカスタム質問のサポート
詳細なエラーメッセージ
自動JPEG変換と品質最適化
エラー処理
サーバーはさまざまなエラーケースを処理します。
無効な画像パス
APIキーがありません
ネットワークエラー
無効なモデル選択
画像処理エラー
各エラーは、問題の診断に役立つ説明メッセージを返します。
発達
ソースからビルドするには:
git clone https://github.com/catalystneuro/mcp_read_images.git
cd mcp_read_images
npm install
npm run buildライセンス
MITライセンス。詳細はライセンスを参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for Qwen Image 3 AI image generation
MCP server for Flux AI image generation
MCP server for NanoBanana AI image generation and editing
MCP server for Grok Imagine AI video generation
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP OpenVision is a Model Context Protocol (MCP) server that provides image analysis capabilities powered by OpenRouter vision models. It enables AI assistants to analyze images via a simple interface within the MCP ecosystem.116MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that analyzes images using OpenRouter's Gemini Flash model, supporting local file paths and URLs.32MIT
- AlicenseAqualityCmaintenanceAn MCP server for analyzing images using ModelScope's vision models. Supports both local files and URLs, enabling image content description and question answering.111910MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server for image recognition and OCR via OpenAI-compatible vision APIs, supporting local files, URLs, and data URLs. Enables natural language image description and text extraction.212MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/catalystneuro/mcp_read_images'
If you have feedback or need assistance with the MCP directory API, please join our Discord server