Skip to main content
Glama

MCP Read Images

MCP 画像読み取り

OpenRouterビジョンモデルを用いて画像を解析するためのMCPサーバーです。このサーバーは、OpenRouter APIを介してClaude-3.5-sonnetやClaude-3-opusなどの様々なビジョンモデルを用いて画像を解析するためのシンプルなインターフェースを提供します。

インストール

npm install @catalystneuro/mcp_read_images

構成

サーバーには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 } });

モデル選択

モデルは次の優先順位に従って選択されます。

  1. ツール呼び出しで指定されたモデル( model引数)
  2. MCP設定で指定されたモデル( OPENROUTER_MODEL環境変数)
  3. デフォルトモデル(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ライセンス。詳細はライセンスを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

OpenRouter ビジョン モデルを使用して画像を分析するための MCP サーバー。画像の自動サイズ変更、モデル構成、画像に関するカスタム クエリの処理などの機能を提供します。

  1. インストール
    1. 構成
      1. 使用法
        1. モデル選択
        2. サポートされているモデル
      2. 特徴
        1. エラー処理
          1. 発達
            1. ライセンス

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                An intelligent MCP server with a fully automated batch pipeline for web-ready images. Features include noise reduction, auto levels/curves, JPEG artifact removal, 4K resizing, smart sharpening with shadow/highlight enhancement, and advanced WebP conversion.
                Last updated -
                1
                5
                JavaScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                Enables the generation of images using Together AI's models through an MCP server, supporting customizable parameters such as model selection, image dimensions, and output directory.
                Last updated -
                1
                4
                JavaScript
                MIT License
                • Apple
                • Linux
              • -
                security
                -
                license
                -
                quality
                A TypeScript-based MCP server that lets users generate images using OpenAI's dall-e-3 model by providing a prompt and image name.
                Last updated -
                1
              • A
                security
                A
                license
                A
                quality
                MCP 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 -
                1
                Python
                MIT License
                • Apple

              View all related MCP servers

              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