BI

barryw/immichmcp

Developer tools

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

59 stars 15 forks 품질 80 트렌드 8MIT

barryw/immichmcp는 MCP 서버 후보로 https://github.com/barryw/immichmcp.에서 가져온

개요

barryw/immichmcp는 MCP 서버 후보로 https://github.com/barryw/immichmcp.에서 가져온

개요(AI 번역)

Immich의 모델 Context Protocol (MCP) 서버 - 자체 호스팅 사진 및 비디오 관리 솔루션. 이 서버는 Immich 라이브러리를 관리하기 위한 일류 AI 인터페이스를 제공합니다.

특징

  • Asset Management: 검색, 검색, 업로드, 업데이트, 삭제 사진/비디오
  • **직접 로컬 업로드 **: 짧은 라이브, 업로드 전용 URL을 승인하고 Immich로 로컬 폴더를 스트림 - API 키 노출, 아무것도 설치 curl, 콘텐츠 dedup에 의해 resumable
  • Smart Search: ML-powered semantic search using CLIP (예: 해변에서 “sunset”)
  • Metadata Search: 날짜, 위치, 카메라, 사람들 등에 의한 필터
  • Albums: 사진 앨범 생성, 관리, 공유 -People: 얼굴 인식 클러스터 보기 및 관리
  • 태그: 사용자 정의 태그로 자산 구성
  • ** 공유 링크**: 앨범 및 자산에 대한 공유 가능한 URL 생성
  • 액티비티: 코멘트를 추가하고 앨범/assets와 같은

요구 사항

  • .NET 10.0 SDK 지원
  • Immich v3.0 또는 더 새로운 서버 인스턴스
  • Immich API 키

호환성

ImmichMCP 3.x 표적 Immich v3 APIs. Immich v2 서버를 위한 오래된 ImmichMCP 방출을 사용하십시오.

통합 시험

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

README

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

ImmichMCP

A Model Context Protocol (MCP) server for Immich - the self-hosted photo and video management solution. This server provides a first-class AI interface to manage your Immich library.

Features

  • Asset Management: Search, browse, upload, update, and delete photos/videos
  • Direct Local Upload: Authorize a short-lived, upload-only URL and stream a local folder straight to Immich — no API key exposed, nothing to install beyond curl, resumable by content dedup
  • Smart Search: ML-powered semantic search using CLIP (e.g., “sunset at the beach”)
  • Metadata Search: Filter by date, location, camera, people, and more
  • Albums: Create, manage, and share photo albums
  • People: View and manage face recognition clusters
  • Tags: Organize assets with custom tags
  • Shared Links: Create shareable URLs for albums and assets
  • Activities: Add comments and likes to albums/assets

Requirements

  • .NET 10.0 SDK
  • Immich v3.0 or newer server instance
  • Immich API key

Compatibility

ImmichMCP 3.x targets Immich v3 APIs. Use an older ImmichMCP release for Immich v2 servers.

Integration Tests

Read-only integration tests can run against an existing Immich server without deploying ImmichMCP:

export IMMICH_BASE_URL="http://127.0.0.1:2283"
export IMMICH_API_KEY="your-api-key"
export IMMICH_INTEGRATION_TESTS=true
dotnet test ImmichMCP.Tests/ImmichMCP.Tests.csproj --filter "Category=Integration"

Mutation coverage (create/update/delete paths) is disabled by default. Enable it explicitly to also run the full 49-tool smoke:

export IMMICH_INTEGRATION_MUTATION_TESTS=true
dotnet test ImmichMCP.Tests/ImmichMCP.Tests.csproj --filter "Category=Integration"

(If your Immich runs somewhere not directly reachable, point IMMICH_BASE_URL at it however you normally reach it — e.g. a port-forward or tunnel — before running the tests.)

With mutation coverage enabled, ToolCoverageIntegrationTests exercises all 49 tools against the live server. It is strictly non-destructive to existing data: every mutation runs on throwaway fixtures the test creates (uploaded PNGs, an album, a tag, shared links, an activity) and teardown deletes only those; the two tools that would mutate real, un-creatable data (immich_people_update, immich_people_merge) are exercised with bogus IDs only and must refuse safely.

Deployment

ImmichMCP is published as a container image at ghcr.io/barryw/immichmcp. Run it wherever you host containers — Docker, Docker Compose, or Kubernetes.

  • Set IMMICH_BASE_URL and IMMICH_API_KEY (see Environment Variables).
  • Expose the HTTP port (default 5000). The MCP endpoint is served at /mcp. Two health endpoints are available: /health (liveness, use for restarts) and /health/ready (readiness, pings Immich and returns 503 if unreachable, use for traffic routing).
GitHub에서 전체 README 보기

설치

docker run -i --rm -e IMMICH_BASE_URL=https://photos.example.com -e IMMICH_API_KEY=your-api-key ghcr.io/barryw/immichmcp:latest --stdio
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "immich": { "command": "dotnet", "args": ["run", "--project", "/path/to/ImmichMCP/ImmichMCP", "--", "--stdio"], "env": { "IMMICH_BASE_URL": "https://photos.example.com", "IMMICH_API_KEY": "your-api-key" } } } }