Mealie
An agent for recipes and the shopping list, for requests such as “find the lasagne recipe”.
| MCP server | github.com/rldiao/mealie-mcp-server |
| Transport | Streamable HTTP |
| Authentication | none |
Run the MCP server
Section titled “Run the MCP server”mealie-mcp-server publishes no image and no release: Compose builds it from the Dockerfile of a fixed commit, beside the server of Ambrogio:
services: mealie-mcp: build: https://github.com/rldiao/mealie-mcp-server.git#86ebf379536cf2b3a07c2007798db02894c51f21 image: mealie-mcp-server:86ebf37 environment: MEALIE_BASE_URL: http://<mealie-host>:9000 MEALIE_API_KEY: ${MEALIE_API_KEY:?} MCP_TRANSPORT: streamable-http MCP_HOST: 0.0.0.0 MCP_PORT: "8765"It serves Streamable HTTP on port 8765 at /mcp, so the server of Ambrogio reaches it at http://mealie-mcp:8765/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.
MEALIE_API_KEY is how the MCP server signs in to Mealie: an API token, created in your profile of
Mealie under API Tokens. 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/mealie.json, with the address of the Streamable HTTP endpoint of the MCP server inmcp.url:{"description": "Answers the household's requests about recipes and the shopping list, with the tools of Mealie.","instructions": "You handle the household's requests about recipes and the shopping list with the tools of Mealie. 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://mealie-mcp:8765/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.