Immich
An agent for photos, for requests such as “how many photos did we take in Rome?”.
| MCP server | github.com/drolosoft/immich-photo-manager |
| Transport | Streamable HTTP |
| Authentication | none |
Run the MCP server
Section titled “Run the MCP server”In Compose, beside the server of Ambrogio:
services: immich-mcp: image: ghcr.io/drolosoft/immich-photo-manager:2.0.14 environment: MCP_TRANSPORT: http IMMICH_BASE_URL: http://<immich-host>:2283 IMMICH_API_KEY: ${IMMICH_API_KEY:?} MCP_ALLOWED_HOSTS: immich-mcpIt serves Streamable HTTP on port 8626 at /mcp, so the server of Ambrogio reaches it at http://immich-mcp:8626/mcp, the name of its Compose service on a network the two share; from another host, use the name or address of the host that runs it, with the same port and path.
MCP_ALLOWED_HOSTS names the host name Ambrogio uses for it.
IMMICH_API_KEY is how the MCP server signs in to Immich: an API key, created in Immich under
Account Settings, API Keys. The MCP server asks Ambrogio for no token: keep its port inside the
network of Compose or of the home.
Configure the connector
Section titled “Configure the connector”-
Run the MCP server, as Run the MCP server shows.
-
Add the agent file
agents/immich.json, with the address of the Streamable HTTP endpoint of the MCP server inmcp.url:{"description": "Answers the household's requests about photos, with the tools of Immich.","instructions": "You handle the household's requests about photos with the tools of Immich. Requests may come from speech recognition and contain misheard words; interpret them in context. Answer briefly.","llm": {"provider": "mistral","model": "mistral-medium-latest","apiKeyEnv": "MISTRAL_API_KEY"},"maxToolCalls": 4,"mcp": {"url": "http://immich-mcp:8626/mcp"}} -
Restart with
docker compose up -d.
Authentication: none: the MCP server asks for no token, so the agent file has no mcp.auth. The description, the instructions, the language model and
maxToolCalls are an example: adapt them to the household. See
Agents for every field of the file.