MCP 画像読み取り
OpenRouterビジョンモデルを用いて画像を解析するためのMCPサーバーです。このサーバーは、OpenRouter APIを介してClaude-3.5-sonnetやClaude-3-opusなどの様々なビジョンモデルを用いて画像を解析するためのシンプルなインターフェースを提供します。
インストール
構成
サーバーにはOpenRouter APIキーが必要です。OpenRouterから取得できます。
サーバーを MCP 設定ファイル (通常、VSCode の場合は~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
にあります) に追加します。
使用法
サーバーは、画像を分析するために使用できる単一のツールanalyze_image
を提供します。
モデル選択
モデルは次の優先順位に従って選択されます。
- ツール呼び出しで指定されたモデル(
model
引数) - MCP設定で指定されたモデル(
OPENROUTER_MODEL
環境変数) - デフォルトモデル(anthropic/claude-3.5-sonnet)
サポートされているモデル
次の OpenRouter モデルがテストされています。
- 人類学的/クロード-3.5-ソネット
- アントロピック/クロード-3-opus-20240229
特徴
- 画像の自動サイズ変更と最適化
- 構成可能なモデル選択
- 画像に関するカスタム質問のサポート
- 詳細なエラーメッセージ
- 自動JPEG変換と品質最適化
エラー処理
サーバーはさまざまなエラーケースを処理します。
- 無効な画像パス
- APIキーがありません
- ネットワークエラー
- 無効なモデル選択
- 画像処理エラー
各エラーは、問題の診断に役立つ説明メッセージを返します。
発達
ソースからビルドするには:
ライセンス
MITライセンス。詳細はライセンスを参照してください。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
OpenRouter ビジョン モデルを使用して画像を分析するための MCP サーバー。画像の自動サイズ変更、モデル構成、画像に関するカスタム クエリの処理などの機能を提供します。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThis MCP server aids users in searching and analyzing their photo library by location, labels, and people, offering functionalities like photo analysis and fuzzy matching for enhanced photo management.Last updated -21PythonMIT License
- AsecurityAlicenseAqualityMCP 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.Last updated -110PythonMIT License
- -securityFlicense-qualityAn MCP server that analyzes webpage design images using vision models and generates development documentation in Markdown format.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to analyze images using OpenRouter vision models through a simple interface.Last updated -11PythonMIT License