Immich Photo Manager

v2.0.11
io.github.drolosoft/immich-photo-manager Checked 15 hours ago Published 2 months ago

Photo management for self-hosted Immich: search, albums, duplicates, faces, PDF reports.

Values you need

VariableWhat it is
IMMICH_BASE_URLrequired 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_KEYrequired secret Immich API key
MCP_ALLOWED_HOSTSoptional 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.11
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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, ….
  5. 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