MCP Image Extractor
MCP 이미지 추출기
LLM 분석을 위해 이미지를 추출하고 base64로 변환하는 MCP 서버입니다.
이 MCP 서버는 AI 어시스턴트에게 다음과 같은 도구를 제공합니다.
로컬 파일에서 이미지 추출
URL에서 이미지 추출
base64로 인코딩된 이미지 처리
커서에서 보이는 모습:
적합한 경우:
극작가 테스트 결과 분석: 스크린샷
커서 또는 다른 클라이언트의 경우
수동 설치
지엑스피1
이렇게 하면 mcp-image-extractor 명령을 전역적으로 사용할 수 있습니다.
.cursor/mcp.json 파일 사용
로컬 개발이나 특정 프로젝트에서 작업하는 경우 프로젝트 루트에 .cursor/mcp.json 파일을 추가할 수 있습니다.
{
"mcpServers": {
"image-extractor": {
"command": "node",
"args": ["/full/path/to/mcp-image-extractor/dist/index.js"],
"disabled": false
}
}
}또는 npm 링크를 통해 설치한 경우:
{
"mcpServers": {
"image-extractor": {
"command": "mcp-image-extractor",
"disabled": false
}
}
}커서 사용자를 위한 중요 참고 사항 : "클라이언트 생성 실패" 오류가 표시되면 다음 대안을 시도해 보세요.
옵션 1: GitHub 직접 설치 사용
git clone https://github.com/ifmelate/mcp-image-extractor.git cd mcp-image-extractor npm install npm run build npm link그런 다음
.cursor/mcp.json에서 구성합니다.{ "mcpServers": { "image-extractor": { "command": "mcp-image-extractor", "disabled": false } } }옵션 2: 로컬에서 복제하고 실행
git clone https://github.com/ifmelate/mcp-image-extractor.git cd mcp-image-extractor npm install npm run build그런 다음
.cursor/mcp.json에서 구성합니다.{ "mcpServers": { "image-extractor": { "command": "node", "args": ["/full/path/to/mcp-image-extractor/dist/index.js"], "disabled": false } } }
사용 가능한 도구
파일에서 이미지 추출
로컬 파일에서 이미지를 추출하여 base64로 변환합니다.
매개변수:
file_path(필수): 로컬 이미지 파일 경로
참고: 모든 이미지는 LLM 분석을 위해 최적의 크기(최대 512x512)로 자동 조정되어 base64 출력 크기를 제한하고 컨텍스트 창 사용을 최적화합니다.
URL에서 이미지 추출
URL에서 이미지를 추출하여 base64로 변환합니다.
매개변수:
url(필수): 추출할 이미지의 URL
참고: 모든 이미지는 LLM 분석을 위해 최적의 크기(최대 512x512)로 자동 조정되어 base64 출력 크기를 제한하고 컨텍스트 창 사용을 최적화합니다.
base64에서 이미지 추출
LLM 분석을 위해 base64로 인코딩된 이미지를 처리합니다.
매개변수:
base64(필수): Base64로 인코딩된 이미지 데이터mime_type(선택 사항, 기본값: "image/png"): 이미지의 MIME 유형
참고: 모든 이미지는 LLM 분석을 위해 최적의 크기(최대 512x512)로 자동 조정되어 base64 출력 크기를 제한하고 컨텍스트 창 사용을 최적화합니다.
Related MCP server: MCP URL Fetcher
사용 예
다음은 Claude의 도구를 사용하는 방법의 예입니다.
Please extract the image from this local file: images/photo.jpgClaude는 extract_image_from_file 도구를 자동으로 사용하여 이미지 콘텐츠를 로드하고 분석합니다.
Please extract the image from this URL: https://example.com/image.jpg클로드는 extract_image_from_url 도구를 자동으로 사용하여 이미지 콘텐츠를 가져와 분석합니다.
도커
Docker로 빌드하고 실행:
docker build -t mcp-image-extractor .
docker run -p 8000:8000 mcp-image-extractor특허
MIT
Available Tools
3 toolsextract_image_from_base64A
Extract and analyze images from base64-encoded data. Ideal for processing screenshots from clipboard, dynamically generated images, or images embedded in applications without requiring file system access.
Inputs: base64 (required), max_height, max_width, mime_type, +1 more.
extract_image_from_fileA
Extract and analyze images from local file paths. Supports visual content understanding, OCR text extraction, and object recognition for screenshots, photos, diagrams, and documents.
Inputs: file_path (required), max_height, max_width, resize.
extract_image_from_urlA
Extract and analyze images from web URLs. Perfect for analyzing web screenshots, online photos, diagrams, or any image accessible via HTTP/HTTPS for visual content analysis and text extraction.
Inputs: url (required), max_height, max_width, resize.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose based on the source of the image: base64-encoded data, local file paths, and web URLs. The descriptions reinforce this by specifying different use cases (e.g., clipboard screenshots, local files, online images), leaving no ambiguity for an agent to misselect.
All tool names follow a consistent verb_noun pattern with 'extract_image_from_' as a prefix, followed by the source type (base64, file, url). This predictable naming scheme makes it easy for agents to understand and navigate the tool set without confusion.
With 3 tools, the server is well-scoped for its purpose of extracting images from different sources. Each tool earns its place by covering a distinct input method (base64, file, URL), providing a complete set for the domain without being overly sparse or bloated.
The tool surface is complete for the domain of image extraction, covering all major input sources: base64 data, local files, and web URLs. There are no obvious gaps, as these three methods encompass the typical ways images are accessed in applications, ensuring agents can handle various scenarios without dead ends.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
OCR, transcription, file extraction, and image generation for AI agents via MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Generate images from Claude, ChatGPT, Cursor and Codex with 12 top AI image models. Up to 4 images per call, SVG vectorization, background removal, upscaling and image-to-video. Remote MCP with OAuth, no API keys.
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables fetching and processing images from URLs, local file paths, and numpy arrays, returning them as base64-encoded strings with proper MIME types.122MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.56MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that converts diverse file types, including PDFs, images, audio, and Office documents, into Markdown format. It also transforms web content like YouTube transcripts and Bing search results into readable text for model consumption.13MIT
- FlicenseNot gradedqualityDmaintenanceA powerful Model Context Protocol (MCP) server for image processing, designed to empower AI models with advanced image manipulation capabilities.1-