Immich Photo Manager
v2.0.11Photo management for self-hosted Immich: search, albums, duplicates, faces, PDF reports.
Values you need
| Variable | What it is | |
|---|---|---|
IMMICH_BASE_URL | required | URL of your Immich server. Optional at start: without it every tool answers with the fix and one update_credentials call connects the container. |
IMMICH_API_KEY | required secret | Immich API key |
MCP_ALLOWED_HOSTS | optional | Extra hostnames the container may be reached under (a reverse proxy, another container). DNS-rebinding protection stays on. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add immich-photo-manager -e 'IMMICH_API_KEY=<IMMICH_API_KEY>' -e 'IMMICH_BASE_URL=<IMMICH_BASE_URL>' -- uvx immich-photo-manager==2.0.11Add to
claude_desktop_config.json{
"mcpServers": {
"immich-photo-manager": {
"args": [
"immich-photo-manager==2.0.11"
],
"command": "uvx",
"env": {
"IMMICH_API_KEY": "<IMMICH_API_KEY>",
"IMMICH_BASE_URL": "<IMMICH_BASE_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"immich-photo-manager": {
"args": [
"immich-photo-manager==2.0.11"
],
"command": "uvx",
"env": {
"IMMICH_API_KEY": "<IMMICH_API_KEY>",
"IMMICH_BASE_URL": "<IMMICH_BASE_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "IMMICH_API_KEY",
"id": "immich-api-key",
"password": true,
"type": "promptString"
},
{
"description": "IMMICH_BASE_URL",
"id": "immich-base-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"immich-photo-manager": {
"args": [
"immich-photo-manager==2.0.11"
],
"command": "uvx",
"env": {
"IMMICH_API_KEY": "${input:immich-api-key}",
"IMMICH_BASE_URL": "${input:immich-base-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.immich-photo-manager]
command = "uvx"
args = ["immich-photo-manager==2.0.11"]
env = { "IMMICH_API_KEY" = "<IMMICH_API_KEY>", "IMMICH_BASE_URL" = "<IMMICH_BASE_URL>" }For AI agents
- Ask the user for: IMMICH_BASE_URL, IMMICH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ping, get_server_version, get_capabilities, get_statistics, update_credentials, get_asset_info, update_asset_metadata, update_assets_metadata, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json