
colemurray/moondream-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
colemurray/moondream-mcp는 MCP 서버 후보가 https://github.com/colemurray/moondream-mcp.에서 수입되었습니다
개요
colemurray/moondream-mcp는 MCP 서버 후보가 https://github.com/colemurray/moondream-mcp.에서 수입되었습니다
개요(AI 번역)
Moondream에 대한 FastMCP 서버, AI 비전 언어 모델. 이 서버는 Model Context Protocol (MCP)을 통해 캡션, 시각 질문 응답, 객체 감지 및 시각 포인팅을 포함한 이미지 분석 기능을 제공합니다.
특징
- XVideos️Image Captioning: 이미지를 위한 짧은, 정상 또는 상세한 캡션 생성
- Visual Question Answering: 이미지에 대한 자연적인 언어 질문
- PhysicsObject Detection: 지정된 객체를 검색하고 찾습니다.
- ✨Visual Pointing: 이미지에서 객체의 정확한 좌표를 가져옵니다.
- 12.1 URL 지원: 로컬 파일과 원격 URL 모두의 프로세스 이미지
- ⚡ ** 일괄 처리**: 여러 이미지를 효율적으로 분석
- ♨ 장치 최적화: CPU, CUDA 및 MPS용 자동 감지 및 최적화(Apple Silicon)
설치
# 필수품
- Python 3.10 이상
- PyTorch 2.0+ ( 적절한 장치 지원)
uvx 사용 (클래드 데스크톱 권장)
PyPI에서 설치
소스에서 설치
개발 설치
빠른 시작
서버 실행
Claude 데스크탑 통합
Claude 데스크탑 구성 파일에 추가:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Moondream MCP Server
A FastMCP server for Moondream, an AI vision language model. This server provides image analysis capabilities including captioning, visual question answering, object detection, and visual pointing through the Model Context Protocol (MCP).
Features
- 🖼️ Image Captioning: Generate short, normal, or detailed captions for images
- ❓ Visual Question Answering: Ask natural language questions about images
- 🔍 Object Detection: Detect and locate specific objects with bounding boxes
- 📍 Visual Pointing: Get precise coordinates of objects in images
- 🔗 URL Support: Process images from both local files and remote URLs
- ⚡ Batch Processing: Analyze multiple images efficiently
- 🚀 Device Optimization: Automatic detection and optimization for CPU, CUDA, and MPS (Apple Silicon)
Installation
Prerequisites
- Python 3.10 or higher
- PyTorch 2.0+ (with appropriate device support)
Using uvx (Recommended for Claude Desktop)
# Run without installation
uvx moondream-mcp
# Or specify a specific version
uvx moondream-mcp==1.0.2
Install from PyPI
pip install moondream-mcp
Install from Source
git clone https://github.com/ColeMurray/moondream-mcp.git
cd moondream-mcp
pip install -e .
Development Installation
git clone https://github.com/ColeMurray/moondream-mcp.git
cd moondream-mcp
pip install -e ".[dev]"
Quick Start
Running the Server
# Using uvx (no installation needed)
uvx moondream-mcp
# Using pip-installed command
moondream-mcp
# Or run directly with Python
python -m moondream_mcp.server
Claude Desktop Integration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Using uvx (Recommended)
{
"mcpServers": {
"moondream": {
"command": "uvx",
"args": ["moondream-mcp"],
"env": {
"MOONDREAM_DEVICE": "auto"
}
}
}
}
Using pip-installed command
{
"mcpServers": {
"moondream": {
"command": "moondream-mcp",
"env": {
"MOONDREAM_DEVICE": "auto"
}
}
}
}
Configuration
The server can be configured using environment variables:
Model Settings
MOONDREAM_MODEL_NAME: Model name (default:vikhyatk/moondream2)MOONDREAM_MODEL_REVISION: Model revision (default:2025-01-09)MOONDREAM_TRUST_REMOTE_CODE: Trust remote code (default:true)
Device Settings
MOONDREAM_DEVICE: Force specific device (cpu,cuda,mps, orauto)
Image Processing
MOONDREAM_MAX_IMAGE_SIZE: Maximum image dimensions (default:2048x2048)MOONDREAM_MAX_FILE_SIZE_MB: Maximum file size in MB (default:50)
Performance
MOONDREAM_TIMEOUT_SECONDS: Processing timeout (default:120)
설치
uvx moondream-mcp설정
{
"mcpServers": {
"moondream": {
"command": "uvx",
"args": ["moondream-mcp"],
"env": {
"MOONDREAM_DEVICE": "auto"
}
}
}
}