autodoist
Provides tools for interacting with the Todoist API v1: fetching active tasks grouped by synergy label, batch-capturing tasks with project/duplicate/review guardrails, updating or rescheduling tasks, and completing tasks while logging completion history.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
autodoist
A lean MCP server and mini-backend sitting between an MCP client (e.g. Gemini) and Todoist (API v1), with code-enforced guardrails, OIDC / OAuth 2.1 (RemoteAuthProvider + JWTVerifier), and SQLite completion history.
MCP Tools (6)
get_tasks: Fetch active tasks within allowed projects, sorted by priority/due date. Filters (combined with AND):project,label,due(overdue/today/week/none/all),slot(a routine),needs_triage(inbox orreview-labelled),older_than_days.group_byislabel(first matching synergy label),project,due, ornone;limitdefaults to 50 and the result reportstotalandtruncated. Tasks carryingsomeday_labelare hidden unless requested bylabel.capture_items: Batch-create tasks (enforcing capture project allowlist, duplicate skipping, and thereview_labelif one is configured) or logpost_hoccompletions directly to SQLite (with retry dedup).update_or_reschedule: Rewrite a task'scontent/notes, update labels/priority/project, or change its schedule.new_due_datemoves the date while preserving recurrence and the time of day;due_stringreplaces the whole schedule (e.g.every 2 weeks on thu, orno dateto clear it).reviewis kept unlessclear_review_flag=true.labelsreplaces only labels inallowed_labels; labels set by hand in Todoist are kept.complete_task: Close an allowed task in Todoist and immediately log it incompletion_log. Completing an already completed task is a no-op.drop_task: Delete an allowed task that will not be done. A snapshot is kept in thedropped_tasksSQLite table, and nothing is added to the completion history. Tasks with subtasks are refused.get_completion_history: Query up to 365 days of completion history from SQLite.
Related MCP server: Todoist MCP Server
Server instructions
The server sends MCP instructions generated from [rules]: the allowed projects and labels with their meanings, and the routine slots. They cover vocabulary only. Procedures such as triage or a weekly review are specific to your workflow and belong in client-side skills or prompts, which can refer to the labels and slots the server lists instead of repeating them. For a client that ignores MCP instructions, print the same text and paste it into a Gem, skill, or system prompt:
uv run python -m autodoist.instructionsConfiguration
Non-secret settings live in config.toml (copy from config.example.toml; AUTODOIST_CONFIG overrides the path):
[storage]:db_path(defaultdata/autodoist.db)[auth]:mcp_base_url,oidc_issuer, optionaloidc_jwks_uri,jwt_algorithm(defaultRS256),jwt_audience(required whenAUTH_DISABLED=false),allowed_user_subs[sync]:interval_minutes(default30;0disables background sync)[rules]:allowed_projects,capture_projects,allowed_labels,synergy_labels, optionalreview_labelandsomeday_label,inbox_project(defaultInbox),timezone(defaultUTC)[[rules.routines]]: recurring slots for working through tasks.nameis also the label that assigns a task to the slot (so it must be inallowed_labels); optionaldue_within_daysmakes the slot also include any task due within that window. Optionalpurposeandcapacityare free text for the assistant. The slot times live in your calendar, not here.[rules.project_descriptions]and[rules.label_descriptions]: optional one-line meaning per project and per label.
Projects are allowlisted by name. Todoist lets several projects share a name, so if an allowlisted name matches more than one active project, every tool call that reads or writes Todoist tasks in it is rejected until one of them is renamed. Background sync skips it meanwhile, so completions made in that period are not added to the history.
Secrets live in .env (see .env.example):
TODOIST_API_TOKENAUTH_DISABLED=true(local dev only — never use in production)
Local Development
uv sync
cp config.example.toml config.toml
cp .env.example .env
# Set TODOIST_API_TOKEN and AUTH_DISABLED=true in .env for local testing
uv run uvicorn autodoist.server:create_app --factory --reload --port 8000Trigger a one-off sync manually:
uv run python -m autodoist.sync_workerRun tests, lint, and type-check:
uv run pytest
uv run ruff check .
uv run pyrefly checkDocker Compose Deployment (VPS / Synology NAS)
The HTTP server runs in stateless JSON response mode (stateless_http=True, json_response=True) so it works cleanly behind Synology DSM's Nginx reverse proxy without SSE buffering issues or session drops across container restarts.
Copy
.env.exampleto.envand setTODOIST_API_TOKEN.Copy
config.example.tomltoconfig.tomland setmcp_base_url,oidc_issuer(plusoidc_jwks_uriif your provider does not use/.well-known/jwks.json),jwt_audience,allowed_user_subs, andrules.timezone.Ensure
config.tomlis readable by the container user. If you use a Synology host bind mount instead of the namedautodoist_datavolume, either setuser: "<uid>:<gid>"(e.g.1026:100) incompose.yamlorchown -R 10001:10001 /path/to/data.Start behind an HTTPS reverse proxy pointing at
127.0.0.1:8000:
docker compose up -dIncremental sync runs automatically inside the container every sync.interval_minutes (default 30 min). To run a manual sync immediately:
docker exec autodoist python -m autodoist.sync_workerIn Gemini (Customize -> Connected Apps -> + Custom -> Cloud MCP), add
https://your-domain.example/mcpand complete the OIDC login flow.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Read and write your own Microsoft To Do, Google Tasks or Todoist tasks from any AI agent.
Todoist tasks, projects and labels for AI assistants, plus AI prioritization. Needs a Todoist token.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables natural language task management with Todoist, supporting tasks, projects, sections, labels, smart search, and batch operations for efficient workflow integration with Claude and other MCP-compatible LLMs.19MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Todoist through the MCP interface, providing full CRUD operations for tasks and projects including creating, updating, completing, and filtering tasks with natural language commands.12 npmMIT
- AlicenseBqualityCmaintenanceAn MCP server that integrates with the Todoist REST API v2 to enable AI assistants to manage tasks, projects, sections, comments, and labels. It supports comprehensive operations including batch task creation, history tracking for completed tasks, and organized project management.331ISC
- FlicenseNot gradedqualityFmaintenanceEnables Claude Desktop and other MCP clients to manage Todoist tasks, projects, and labels through natural language.3-