---
name: obair-tasks
description: Use the user's Obair TaskFlow MCP to find and manage personal tasks, subtasks, and task notes. Apply to Obair task requests, not repository issues or project code work.
---

# Obair tasks

Use the authenticated Streamable HTTP MCP server at `https://tasks.obair.tech/mcp`. The user must approve each new client through TaskFlow's OAuth consent screen. The public connection guide is `https://tasks.obair.tech/docs/mcp`.

## First-time Codex connection

If the MCP server is not registered, run `codex mcp add obair-tasks --url https://tasks.obair.tech/mcp`. Then run `codex mcp login obair-tasks`. Open the authorization URL printed by Codex, sign in to the account whose tasks should be available, and approve the client on TaskFlow's `/oauth/consent` screen. The user must make that consent decision. Check `codex mcp list` for `obair-tasks` with a logged-in status; if tools still are not available in the current session, start a new Codex session. Do not copy authorization URLs, codes, or tokens into chat.

## Connect and read

- Discover the Obair/TaskFlow MCP tools in the active session. If absent or unauthenticated, explain the connection or consent step; do not claim to have read or changed tasks. Never request or print the user's password, access token, or test-account credentials.
- Use `list_tasks` to find candidates and `get_task` to inspect an exact task. `list_tasks` supports `completed`, `scheduled`, `updatedSince`, and `limit` (1–200, default 100). A limit-bound result does not establish that no other matching tasks exist.
- Use the returned `sync_id` for task, subtask, and note identities. Resolve ambiguous names before a write.

## Write safely

- Available tools: `create_task`, `update_task`, `delete_task`, `create_subtask`, `update_subtask`, `delete_subtask`, `create_note`, `update_note`, `delete_note`.
- `create_task` requires a title and an ISO 8601 `date` with timezone offset. For an ordinary unscheduled task with no date specified, use the current date in the user's timezone, matching the TaskFlow app default. Ask when a requested schedule or deadline is unclear.
- Read the current `revision_id` immediately before updating or deleting a task, subtask, or note. Pass it as `revisionId`. The task aggregate returned by child mutations contains the latest state.
- Generate a fresh UUID `operationId` for each distinct create or delete. Updates may also supply one. Reuse an operation ID only to retry the exact same request after an uncertain outcome.
- If a write returns a stale-revision conflict, inspect the current aggregate and reconcile the user's requested change with it before retrying. Do not overwrite concurrent edits blindly.
- Re-read after a write when the tool result does not prove the requested final state. Report the changed item and any unresolved conflict.

Calendar Log notes are system managed and unavailable for agent edits. Scheduling changes can update linked calendar entries, so use the user's intended schedule and timezone.
