skip to content

Todoist

An agent for the to-do list, for requests such as “add ‘call the plumber’ to my list”.

MCP server github.com/Doist/todoist-mcp, run by the installer
Transport Streamable HTTP
Authentication none

Whoever installs Ambrogio runs this MCP server, where the server of Ambrogio can reach it.

The MCP server of Todoist runs on a computer of the home, started by hand with Node.js, with the API token of the Todoist account, created in Todoist under Settings, Integrations, Developer:

Terminal window
TODOIST_API_KEY=<API token> HOST=0.0.0.0 PORT=3000 ALLOWED_HOSTS=<todoist-mcp-host> \
npx -y -p @todoist/mcp@17.4.1 todoist-mcp-http

It serves Streamable HTTP on port 3000 at /mcp. ALLOWED_HOSTS names the host name Ambrogio uses for that computer, which its protection against DNS rebinding requires when it listens on every interface; write the same name in mcp.url below. Every request runs as the Todoist account of that token, and the server asks Ambrogio for no token: keep its port inside the home network.

  1. Run the MCP server, as Run the MCP server shows.

  2. Add the agent file agents/todoist.json, with the address of the Streamable HTTP endpoint of the MCP server in mcp.url:

    {
    "description": "Answers the household's requests about the to-do list, with the tools of Todoist.",
    "instructions": "You handle the household's requests about the to-do list with the tools of Todoist. 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://<todoist-mcp-host>:3000/mcp"
    }
    }
  3. 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.