Immich MCP Server
Enables MCP-compatible clients to interact with an Immich photo management instance, providing access to users, assets, API keys, and partners through standardized resources and tools.
README
Immich MCP Server
This project provides a Model Context Protocol (MCP) server for the Immich photo management system. It allows you to interact with your Immich instance using MCP-compatible clients.
Features
The server exposes the following MCP resources and tools:
Resources
user://me: Get details about the current user.users://list: Get a list of all users on the Immich instance.partners://list: Get a list of all partners.asset://{asset_id}: Get details for a specific asset (photo or video) by its ID.apikey://me: Get details about the API key currently being used.apikeys://list: Get a list of all API keys.apikey://{api_key_id}: Get details for a specific API key by its ID.
Tools
ping(): A simple tool to check if the server can successfully connect to the Immich instance. Returns"pong"on success.
Deployment (Recommended)
The easiest way to deploy the Immich MCP server is by using Docker. A docker-compose.yml file is provided for your convenience.
-
Create a
.envfile: Copy the provided.env.exampleto a new file named.env:cp .env.example .envThen, edit the
.envfile to set the required environment variables. -
Run the server:
docker-compose up -dThe server will be available at
http://localhost:8000.
You can view the server logs with:
docker-compose logs -f
Official container images are available on Docker Hub and ghcr.io.
Configuration
The server is configured using environment variables:
| Variable | Description | Default | Required |
|---|---|---|---|
IMMICH_BASE_URL |
The base URL of your Immich instance (e.g., http://immich.local:2283). |
Yes | |
IMMICH_API_KEY |
Your Immich API key. | Yes | |
IMMICH_MCP_PORT |
The port on which the server will listen. | 8626 |
No |
IMMICH_MCP_TIMEOUT |
The keep-alive timeout for the server in seconds. | 5 |
No |
TZ |
Sets the timezone inside the container to ensure timestamps are correct. | UTC |
No |
Note on TZ: While the application does not directly use this variable, it is a standard in containerized environments to ensure that any timestamps (e.g., in logs) are correctly aligned with your local time.
When running with docker-compose, these variables are loaded from the .env file.
Installation (for Development)
For development purposes, you can install and run the server locally.
It is recommended to use a virtual environment.
# Install the package in editable mode with development dependencies
pip install -e ".[dev]"
Running the Development Server
The recommended way to run the development server is with uv:
# First, ensure uv is installed
pip install uv
# Run the server
uv run mcp dev src/immich_mcp/server.py
For Developers
- The MCP initialization handshake is documented in
docs/INITIALIZATION.md. - Functional tests that run against a real Immich instance are documented in
tests/functional/README.md.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。