Skip to main content
Glama

MCP Read Images

MCP 읽기 이미지

OpenRouter 비전 모델을 사용하여 이미지를 분석하는 MCP 서버입니다. 이 서버는 OpenRouter API를 통해 Claude-3.5-sonnet 및 Claude-3-opus와 같은 다양한 비전 모델을 사용하여 이미지를 분석할 수 있는 간단한 인터페이스를 제공합니다.

설치

지엑스피1

구성

서버에는 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-작품-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