
groundlight/mcp-vision
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
groundlight/mcp-vision은 MCP 서버 후보가 https://github.com/groundlight/mcp-vision.에서 수입되었습니다
개요
groundlight/mcp-vision은 MCP 서버 후보가 https://github.com/groundlight/mcp-vision.에서 수입되었습니다
개요(AI 번역)
A Model Context Protocol (MCP) 서버는 HuggingFace 컴퓨터 비전 모델과 같은 도구로 Zero-shot 객체 감지, 큰 언어 또는 비전 언어 모델의 비전 기능을 강화.
이 repo는 적극적인 개발입니다. 현재 사용 가능한 도구에 대한 자세한 내용은 아래를 참조하십시오.
설치
복제:
로컬 docker 이미지 만들기:
Configuring Claude 데스크탑
claude_desktop_config.json에 이것을 추가하십시오:
로컬 환경이 NVIDIA GPU에 액세스하는 경우:
또는 CPU:
CPU에서 실행할 때, 기본 대형 객체 감지 모델은 laod에 긴 시간을 가져와 inference를 실행합니다. DEFAULT_OBJDET_MODEL로 작은 모델을 사용하는 것을 고려하십시오 (특정 모델도 사용할 수 있습니다.).
**(베타) ** 로컬로 구축하지 않고도 공공 도커 이미지를 직접 실행할 수 있지만 다운로드 시간은 서버의 Claude의 로딩과 방해 할 수 있습니다.
도구
다음 도구는 현재 mcp-vision 서버를 통해 사용할 수 있습니다.
- **locate objects **
- 설명 : 0 샷 객체 감지 파이프라인 중 하나를 사용하여 이미지의 개체를 검색하고 찾습니다. HuggingFace를 통해 [https://huggingface.]
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcp-vision by
A Model Context Protocol (MCP) server exposing HuggingFace computer vision models such as zero-shot object detection as tools, enhancing the vision capabilities of large language or vision-language models.
This repo is in active development. See below for details of currently available tools.
Installation
Clone the repo:
git clone [email protected]:groundlight/mcp-vision.git
Build a local docker image:
cd mcp-vision
make build-docker
Configuring Claude Desktop
Add this to your claude_desktop_config.json:
If your local environment has access to a NVIDIA GPU:
"mcpServers": {
"mcp-vision": {
"command": "docker",
"args": ["run", "-i", "--rm", "--runtime=nvidia", "--gpus", "all", "mcp-vision"],
"env": {}
}
}
Or, CPU only:
"mcpServers": {
"mcp-vision": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp-vision"],
"env": {}
}
}
When running on CPU, the default large-size object detection model make take a long time to laod and run inference. Consider using a smaller model as DEFAULT_OBJDET_MODEL (you can tell Claude directly to use a specific model too).
(Beta) It is possible to run the public docker image directly without building locally, however the download time may interfere with Claude’s loading of the server.
"mcpServers": {
"mcp-vision": {
"command": "docker",
"args": ["run", "-i", "--rm", "--runtime=nvidia", "--gpus", "all", "groundlight/mcp-vision:latest"],
"env": {}
}
}
Tools
The following tools are currently available through the mcp-vision server:
- locate_objects
- Description: Detect and locate objects in an image using one of the zero-shot object detection pipelines available through HuggingFace (list for reference [https://huggingface.co/models?pipeline_tag=zero-shot-object-detection&sort=trending]).
- Input:
image_path(string) URL or file path,candidate_labels(list of strings) list of possible objects to detect,hf_model(optional string), will use"google/owlvit-large-patch14"by default, which could be slow on a non-GPU machine - Returns: List of dicts in HF object-detection format
- zoom_to_object
- Description: Zoom into an object in the image, allowing you to analyze it more closely. Crop image to the object bounding box and return the cropped image. If many objects are present in the image, will return the ‘best’ one as represented by object score.
설치
docker run -i --rm --runtime=nvidia --gpus all mcp-vision설정
"mcpServers": {
"mcp-vision": {
"command": "docker",
"args": ["run", "-i", "--rm", "--runtime=nvidia", "--gpus", "all", "mcp-vision"],
"env": {}
}
}