Skip to main content
Glama
README.md
# todone for AI apps

Connect Claude, Gemini CLI, Cursor or any app that speaks MCP (Model Context Protocol) to your
[todone](https://todone.today) lists. Then ask in your own words: "add milk to Groceries", "what's on my plate this
week?", "move the dentist to Friday", "log a run", "can I afford movie night?". The AI reads and changes your lists,
tasks, calendar, goals and rewards itself.

**Your lists stay end-to-end encrypted.** This connector runs on your computer. It unlocks your lists there, the same
way the todone app does in your browser. todone's servers only ever see them encrypted.

## Set it up

1. In todone, open **Account → Connect an AI**, name the connection and enter your password. You get a connection
   code (starts with `tdn_`). It's shown once; keep it like a password.
2. Add todone to your AI app:

| App | How |
| --- | --- |
| Claude Code | `/plugin install todone --marketplace todone-today/todone-mcp`, then paste the code when asked. Or: `claude mcp add todone --env TODONE_CONNECT=tdn_… -- npx -y todone-mcp@0.1.0` |
| Claude Desktop | Settings → Developer → Edit Config, add the block below, restart Claude. |
| Gemini CLI | `gemini extensions install https://github.com/todone-today/todone-mcp`, then paste the code when asked. |
| Cursor and others | Add the block below to the app's MCP settings (Cursor: `~/.cursor/mcp.json`). |

```json
{
  "mcpServers": {
    "todone": {
      "command": "npx",
      "args": ["-y", "todone-mcp@0.1.0"],
      "env": { "TODONE_CONNECT": "tdn_…" }
    }
  }
}
```

Needs Node.js 20 or newer. Remove a connection any time in todone's Account; its code stops working at once.

## What it can do

- **Lists**: see, create, rename, delete (tasks go to the Bin for 7 days), switch end-to-end encryption off or on.
- **Tasks**: add (with dates, repeats, effort, steps, notes), change, tick off (repeats roll forward), move, delete
  to the Bin, search.
- **Calendar**: what's on between two days; put a task on a day or take it off.
- **Goals**: see progress, add, change, log progress, mark reached, delete.
- **Rewards**: see them and your karma points, add, redeem, delete.
- **Teams**: every tool works in a team workspace you belong to.

## What it sends, and where

- It talks only to `https://app.todone.today/api` (or `TODONE_URL` if you set one), with your connection's token.
- It sends your lists encrypted with your key. It decrypts them in memory on your computer to answer your AI app,
  which then sees what it asked for. Whatever your AI app does with that is up to that app and its provider.
- The connection can only read and save lists and fetch the keys to open them. It can't change your password,
  billing, sharing or other connections.
- It stores nothing on disk. `npx` downloads the published `todone-mcp` package from npm when it starts.

## Settings

| Variable | |
| --- | --- |
| `TODONE_CONNECT` | The connection code from todone's Account. Required. |
| `TODONE_URL` | Another todone address (a self-hosted or local one). Default `https://app.todone.today`. |

## Develop

```sh
npm install
npm test          # unit tests
npm run typecheck
npm run build     # dist/todone-mcp.js, one file
TODONE_CONNECT=tdn_… TODONE_URL=http://localhost:3010 node dist/todone-mcp.js
```

Source: `src/main.ts` (the MCP server), `src/tools.ts` (the tools), `src/account.ts` (sign-in, keys, encryption),
`src/ops.ts` (task changes). The Claude plugin is in `claude-plugin/`; the Gemini CLI extension is
`gemini-extension.json` with `GEMINI.md`.

## Licence

GPL-3.0-only. See [LICENSE](LICENSE).