TY

tan-yong-sheng/ai-vision-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

79 stars 16 forks 품질 77 트렌드 0MIT

tan-yong-sheng/ai-vision-mcp는 https://github.com/tan-yong-sheng/ai-vision-mcp.에서 수입된 MCP 서버 후보입니다

개요

tan-yong-sheng/ai-vision-mcp는 https://github.com/tan-yong-sheng/ai-vision-mcp.에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Google Gemini 및 Vertex AI 모델을 사용하여 AI 전원 이미지 및 비디오 분석을 제공하는 강력한 모델 Context Protocol (MCP) 서버.

특징

-Dual Provider Support: Google Gemini API와 Vertex AI 중에서 선택하십시오.

  • Multimodal Analysis: 이미지 및 비디오 콘텐츠 분석 지원 -Flexible File Handling: 여러 방법을 통해 업로드 (URL, 로컬 파일, base64)
  • Storage Integration: 내장 Google Cloud Storage 지원 -Comprehensive Validation: Zod 기반 데이터 검증
  • 처리: Retry logic 및 Circuit Breakers와 함께 튼튼한 오류 처리
  • TypeScript: 엄격한 유형 검사를 통한 Full TypeScript 지원

빠른 시작

# 사전 문의

google] 공급자 또는 vertex_ai 공급자를 사용할 수 있습니다. 단순성, google 제공업체가 권장됩니다.

아래는 선택한 공급자에 따라 설정해야 할 환경 변수입니다. (주의: MCP 클라이언트를 위한 5 분 이상 timeout 윤곽을 놓기 위하여 추천됩니다).

(i) **Google AI Studio 제공 업체를 사용 **

Google AI Studio의 api 키 받기

(ii) ** Vertex AI 공급자 **

여기 가이드 라인에 대한 참조.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

AI Vision MCP Server

A powerful Model Context Protocol (MCP) server that provides AI-powered image and video analysis using Google Gemini and Vertex AI models.

Features

  • Dual Provider Support: Choose between Google Gemini API and Vertex AI
  • Multimodal Analysis: Support for both image and video content analysis
  • Flexible File Handling: Upload via multiple methods (URLs, local files, base64)
  • Storage Integration: Built-in Google Cloud Storage support
  • Comprehensive Validation: Zod-based data validation throughout
  • Error Handling: Robust error handling with retry logic and circuit breakers
  • TypeScript: Full TypeScript support with strict type checking

Quick Start

Pre-requisites

You could choose either to use google provider or vertex_ai provider. For simplicity, google provider is recommended.

Below are the environment variables you need to set based on your selected provider. (Note: It’s recommended to set the timeout configuration to more than 5 minutes for your MCP client).

(i) Using Google AI Studio Provider

export IMAGE_PROVIDER="google" # or vertex_ai
export VIDEO_PROVIDER="google" # or vertex_ai
export GEMINI_API_KEY="your-gemini-api-key"

Get your Google AI Studio’s api key here

(ii) Using Vertex AI Provider

export IMAGE_PROVIDER="vertex_ai"
export VIDEO_PROVIDER="vertex_ai"
export VERTEX_CLIENT_EMAIL="[email protected]"
export VERTEX_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
export VERTEX_PROJECT_ID="your-gcp-project-id"
export GCS_BUCKET_NAME="your-gcs-bucket"

Refer to the guideline here on how to set this up.

Installation

Below are the installation guide for this MCP on different MCP clients, such as Claude Desktop, Claude Code, Cursor, Cline, etc.

Add to your Claude Desktop configuration:

(i) Using Google AI Studio Provider

{
  "mcpServers": {
    "ai-vision-mcp": {
      "command": "npx",
      "args": ["ai-vision-mcp"],
      "env": {
        "IMAGE_PROVIDER": "google",
        "VIDEO_PROVIDER": "google",
        "GEMINI_API_KEY": "your-gemini-api-key"
      }
    }
  }
}

(ii) Using Vertex AI Provider

{
  "mcpServers": {
    "ai-vision-mcp": {
      "command": "npx",
      "args": ["ai-vision-mcp"],
      "env": {
        "IMAGE_PROVIDER": "vertex_ai",
        "VIDEO_PROVIDER": "vertex_ai",
        "VERTEX_CLIENT_EMAIL": "[email protected]",
        "VERTEX_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
        "VERTEX_PROJECT_ID": "your-gcp-project-id",
        "GCS_BUCKET_NAME": "ai-vision-mcp-{VERTEX_PROJECT_ID}"
      }
    }
  }
}
GitHub에서 전체 README 보기

설치

npx ai-vision-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ai-vision-mcp": { "command": "npx", "args": ["ai-vision-mcp"], "env": { "IMAGE_PROVIDER": "google", "VIDEO_PROVIDER": "google", "GEMINI_API_KEY": "your-gemini-api-key" } } } }