Memos
An agent for notes, for requests such as “note that the boiler was serviced today”.
| MCP server | built into Memos, from its release 0.27.0 |
| Transport | Streamable HTTP |
| Authentication | bearer: a personal access token of Memos |
Memos serves the MCP server itself, from its release 0.27.0: no separate server runs.
The address
Section titled “The address”Memos answers at /mcp on the port of its web interface, 5230 in its container image, at the
address of the host that runs it, which only the installer knows: write that host in mcp.url
below, such as http://memos:5230/mcp when Memos is a Compose service named memos on a network
it shares with the server of Ambrogio.
Configure the connector
Section titled “Configure the connector”-
Use Memos 0.27.0 or later: its MCP server is built in and needs no setting.
-
Create the token in Memos, under Settings, Access tokens, write it in
.envasMEMOS_TOKEN, and pass the variable to the server of Ambrogio incompose.yaml:services:server:environment:MEMOS_TOKEN: ${MEMOS_TOKEN:?} -
Add the agent file
agents/memos.json, with the address of the Streamable HTTP endpoint of the MCP server inmcp.url:{"description": "Answers the household's requests about notes, with the tools of Memos.","instructions": "You handle the household's requests about notes with the tools of Memos. 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://<memos-host>:5230/mcp","auth": {"type": "bearer","tokenEnv": "MEMOS_TOKEN"}}} -
Restart with
docker compose up -d.
Authentication: a bearer token: a personal access token of Memos, which the agent file names through the variable MEMOS_TOKEN. 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.