Skip to main content

AI & MCP Server

Connect 2Do for Mac to ChatGPT, Claude, Codex, Gemini, or any other AI assistant that supports local MCP (Model Context Protocol) servers. Ask your assistant to find tasks, plan projects, organize sections, adjust dates and alarms, read attached images, or transcribe voice notes without writing a script.

In 2Do, this integration is also called Claude Co-Work, but the server is not limited to Claude. It runs locally on the same Mac as 2Do and works with any desktop app, CLI, or coding assistant that supports local STDIO MCP servers, while Claude Desktop can also install the same bundle as an extension.

Ask Your Assistant to Set It Up​

The simplest way to connect 2Do is to let your AI assistant set it up for you. You do not need to work through the manual steps first. Copy and paste this short prompt into ChatGPT, Claude, Codex, Gemini, or any MCP-capable assistant:

Set up 2Do's local MCP server on this Mac using this guide:
https://www.2doapp.com/docs/macos/mcp.md

Handle the download and configuration for me where you can.
If a step needs my input, tell me exactly what to do.
Then list my 2Do lists to check that the connection works.

An assistant with access to files and MCP settings on your Mac can read the guide, download the server, and configure the connection for you. If a step needs your input, it will tell you what to do. Make sure 2Do is open and unlocked before testing; once your assistant lists your 2Do lists, try the examples below.

The manual instructions for ChatGPT, Claude Desktop, and other AI assistants (Codex, Gemini, and other STDIO clients) are optional. Use them if your assistant needs help with setup or you prefer to configure the connection yourself.

Requirements​

  • 2Do for Mac with the 2Do Automation Suite. You can check for this suite in 2Do's AppleScript dictionary. Voice note and image attachment tools require 2Do for Mac 2026.4.7 or later.
  • The 2Do MCP bundle (2do.<version>.mcpb). Extension version 0.2.0 or later adds sections, 0.3.0 or later adds sorting and Focus Mode, and 0.4.0 or later adds attachment reading and transcription.
  • Any AI app or CLI on the same Mac that supports local MCP servers over STDIO, such as ChatGPT, Claude Desktop for Mac, Codex, Gemini, or another MCP client.

Keep 2Do running while your assistant uses the server. If the app or a password-protected list is locked, unlock it in 2Do before asking your assistant to access that data.

Manual Setup for ChatGPT​

Use the ChatGPT desktop app on your Mac. These steps use its local MCP settings, as described in OpenAI's MCP guide.

Download and unpack the server​

  1. Download the latest 2do.<version>.mcpb file from the 2Do extension releases page into your Downloads folder.

  2. Open Terminal and run these commands, replacing <version> with the downloaded file's version (for example, 2do.0.4.1.mcpb). They unpack the server into a folder you can keep and print the full path you will use in ChatGPT:

    mkdir -p "$HOME/Applications/2DoMCP"
    ditto -x -k "$HOME/Downloads/2do.<version>.mcpb" "$HOME/Applications/2DoMCP"
    chmod +x "$HOME/Applications/2DoMCP/dist/TwoDoMCPBridge"
    printf '%s\n' "$HOME/Applications/2DoMCP/dist/TwoDoMCPBridge"

Keep the whole 2DoMCP folder in place, including tool-metadata.json beside TwoDoMCPBridge inside dist. ChatGPT starts the server from this location.

Add the server in ChatGPT​

  1. Open Settings > MCP servers, then select Add server.
  2. Enter 2Do as the name and choose STDIO.
  3. For the command, paste the full path printed by Terminal. It will look like /Users/yourname/Applications/2DoMCP/dist/TwoDoMCPBridge. Leave the arguments empty.
  4. Save the server, then select Restart.
  5. Make sure 2Do is open on your Mac, start a new chat, type /mcp to check that 2Do is connected, then ask: List my 2Do lists.

Once your lists appear, try the examples below. No Node.js or Python runtime is needed for the 2Do server.

ChatGPT on the web

ChatGPT on the web uses remote MCP connections and does not read the desktop app's local MCP configuration. The steps above are for the desktop app on the Mac where 2Do is installed. If you do not see MCP servers in its settings, check OpenAI's current setup instructions.

Manual Setup for Claude Desktop​

Use these steps to install or update the 2Do extension manually in Claude Desktop.

Step 1: Download the extension​

Download the latest 2do.<version>.mcpb file from the 2Do extension releases page.

Step 2: Install it in Claude Desktop​

In Claude Desktop, open Settings > Extensions > Advanced settings, click Install Extension…, and select the downloaded .mcpb file.

If your organization manages Claude Desktop, its settings may limit which extensions you can install. See Claude's desktop extension guide for installation and administrator settings.

Step 3: Review the installation prompt​

Claude Desktop may show a broad access warning for a manually installed extension. The 2Do extension provides tools to read and change data in 2Do and to open items in the app. Read Privacy and Security for how that data reaches your assistant, then click Install to continue.

Step 4: Try a request​

Open 2Do, start a new chat in Claude Desktop, and try:

"List my 2Do lists."

Once Claude returns your lists, try the requests below. After updating the app or extension, start a new chat so Claude loads the current tools.

note

When testing an unreleased version, use the extension package supplied with that app build. An older app may reject commands or arguments added by a newer extension.

Manual Setup for Other AI Assistants​

Codex, Gemini, and any other AI app, CLI, or coding tool can use 2Do if it supports local MCP servers over STDIO on macOS. Follow Download and unpack the server, then register the server in your client using these settings:

SettingValue
Name2Do
TransportSTDIO
CommandThe full path to 2DoMCP/dist/TwoDoMCPBridge printed by Terminal.
ArgumentsNone.

For clients that configure MCP servers with a JSON file, add an entry like this (replacing yourname with your macOS username):

{
"mcpServers": {
"2do": {
"command": "/Users/yourname/Applications/2DoMCP/dist/TwoDoMCPBridge"
}
}
}

Save the configuration, restart your assistant's MCP connection as its instructions require, keep 2Do open on your Mac, and ask your assistant to list your 2Do lists. The client must be able to run the server on the same Mac as 2Do; a client that accepts only remote server URLs cannot use this local setup directly.

What You Can Do​

Describe what you want to do and name the relevant list, section, or task. For example:

  • "Show me the first 10 unfinished tasks due this week, with the earliest due first."
  • "Create a packing checklist in my Travel list, with tasks for my passport, charger, and medication."
  • "Create Bookings and Packing sections in my Travel list, then put the packing checklist in Packing."
  • "Move the Packing section above Bookings."
  • "Move the Packing section and its tasks to my Summer Trip list."
  • "Pause my Waiting tag, then show me which tasks it hides."

Your assistant can also find List Groups, Smart Lists, tags, tag groups, and locations; edit task dates, notes, priorities, alarms, recurrence, and actions; and complete, duplicate, or delete tasks. It can open a task in 2Do or select a list or built-in Focus view.

Each command that changes data is one Edit > Undo step in 2Do, including commands that change several tasks. A command that makes no change adds no undo step.

Voice Notes and Images​

Ask your assistant to review an image attached to a task, or transcribe a voice note and turn the ideas into tasks. Attachment tools require 2Do for Mac 2026.4.7 or later and MCP extension 0.4.0 or later. After updating both, start a new chat to load the new tools.

For example:

  • "Transcribe the voice note attached to my Brainstorming task and summarize the main ideas."
  • "Turn those ideas into tasks in my Work list."
  • "Read the image attached to my Trip planning task and summarize it."

Transcription runs on your Mac using its current language. It requires macOS 26 or later, supported hardware, and a language supported by Apple's on-device speech service. The first request may take longer while macOS downloads the speech model. The recording must be available locally and no larger than 64 MiB.

The transcription command returns text without changing the recording or task notes. Ask your assistant to save the transcript or summary in the task's notes, or to create tasks from it, when that is what you want.

For clients making tool calls directly:

  1. Find the task with query_tasks or get_task and use its task_id.
  2. Call list_attachments with that task_id. It returns attachment records in saved order, including each attachment_id, kind, and local available state.
  3. For an audio attachment, call transcribe_attachment with both IDs. The result includes transcript, task_id, and attachment_id.
{
"name": "transcribe_attachment",
"arguments": {"task_id": "task-uid", "attachment_id": "attachment-uid"}
}

Use read_attachment with the same two IDs to read an image or audio file up to 8 MiB. It returns the media in a native MCP image or audio block, with attachment, mime_type, and byte_count in the result metadata. The client decides which media formats it can process. Mac voice notes can use CAF audio; use transcribe_attachment when the client cannot read the recording itself.

These commands do not download missing attachments or follow attachment links. Locked lists and deleted attachments remain unavailable. For all attachment fields and AppleScript examples, see the attachment command reference.

Sorting and Focus Mode​

Ask your assistant to change how tasks appear in a list, project, or checklist. For example, "Keep my Course lessons project sorted by title" or "Turn on Focus Mode for my Work list." These controls require extension version 0.3.0 or later and a 2Do build that supports sorting and Focus Mode automation.

Use get_list_settings to read a list's saved sorting and Focus Mode state, or update_list_settings to change them. Supply exactly one target: a list_id from list_lists, a smart_list_id from list_smart_lists, or focus with all, today, starred, scheduled, or done. An update needs sorting, focus_enabled, or both.

For a client making tool calls directly, these tools/call parameters sort Today by due date and enable its Focus Mode:

{
"name": "update_list_settings",
"arguments": {
"focus": "today",
"sorting": {"field": "due_date", "direction": "ascending"},
"focus_enabled": true
}
}

focus_enabled turns the list's existing Focus Filter on or off. It leaves the chosen conditions unchanged. Done does not support Focus Mode updates. You can change these list view settings even when the list's task content is read-only.

For a project or checklist, use get_task to read its sorting. Pass a sorting object to create_task or update_task to set it. Each object needs both field and direction; see the sorting field reference for the choices each type supports. Normal tasks and child records inside subtasks do not accept sorting.

When creating a project or checklist, or converting a normal task into one, 2Do uses your Default Sorting preferences unless the request includes sorting. To choose defaults for future lists, projects, and checklists, use those settings in 2Do.

The sort argument on query_tasks and list_subtasks only orders the returned results. Use sorting when you want to change the saved order shown in 2Do.

Organizing Tasks into Sections​

Sections group tasks within a normal list. You can ask your assistant to create a section, add tasks to it, move tasks to another section, reorder the sections, or move a whole section to another list. These tools require extension version 0.2.0 or later and a 2Do build that supports section automation.

Create a section and add tasks​

Ask your assistant to create the section in a named list, then create or move tasks into it. A section can have a title and an optional description. Titles do not have to be unique, so the tools use the section_id returned by 2Do to identify each section.

For clients making tool calls directly:

  1. Use list_lists to get the list's list_id.
  2. Call create_section with that list_id and a title, or call list_sections to find an existing section.
  3. Pass its section_id to create_task or move_task. The section already identifies the destination list; do not also pass list_id or parent_task_id.

move_task accepts one task_id or a batch of task_ids. Moving a project or checklist keeps its children together. Moving a sub-task into a section makes it a top-level task.

Change or clear a task's section​

Use move_task with the destination section_id to move tasks between sections, including sections in different lists.

For a top-level task staying in its current list, update_task also accepts section_id. Send section_id:null to remove the task from its section while keeping it in the list. Omit the field to leave the section unchanged. Moving a task to its current list_id leaves its section unchanged too.

Reorder or move whole sections​

To reorder sections, call list_sections, then pass every returned section_id exactly once to reorder_sections, in the desired order. This changes the section order; tasks keep their membership and follow the list's sort setting. The unsectioned area and Done area are not entries in this array.

To move a section to another list, call move_section with its section_id and the destination list_id. The section is placed after that list's existing sections. All its tasks move with it, including completed and paused tasks and project or checklist children. The section keeps its title, description, and section_id. Calling it again with the same destination makes no further change.

Task IDs can change during a move between lists. Use query_tasks with the section's ID to read the current top-level members, then list_subtasks for their children. Include paused_filter:"include" and include_completed:true when you want all members.

Available Tools​

You do not need to remember tool names during a chat. The tables below help you review your assistant's actions or write your own MCP client. MCP and AppleScript use the same command names, arguments, and validation rules. For workflows in the Shortcuts app, see Shortcuts actions.

Read and Discovery​

ToolWhat it does
list_listsList normal lists. Set include_archived:true to include archived lists.
list_sectionsList saved sections in a normal list, in manual order. Requires list_id.
list_list_groupsList List Groups.
list_smart_listsList saved Smart Lists. has_additional_filters tells you whether a list has saved filter settings outside its text query. See Smart List discovery.
get_list_settingsRead saved sorting and Focus Mode for a normal list, Smart List, or built-in Focus List. See Sorting and Focus Mode.
list_tagsList tags and their paused state. Optionally filter by tag_group_id.
list_tag_groupsList tag groups.
list_locationsList task locations.
get_default_task_destinationReturn the editable list used for new tasks by default, with its destination_id, list_id, and title.
get_taskGet one task, project, checklist, or sub-task by task_id.
list_attachmentsList a task's active attachment metadata in saved order. Requires task_id.
read_attachmentRead an audio or image attachment up to 8 MiB. Requires task_id and attachment_id.
transcribe_attachmentReturn an on-device transcript of a voice note up to 64 MiB. Requires both IDs and a supported Mac and language on macOS 26 or later.
query_tasksFind tasks in a section, list, List Group, Smart List, or Focus view. With no target, uses All. Supports search, date filters, sorting, and pagination.
list_subtasksList a task's children. Supports paused_filter, sort, and include_completed.
selected_tasksReturn the tasks selected in the Mac app.

query_tasks accepts at most one of section_id, list_id, list_group_id, smart_list_id, or focus. The Focus values are all, today, starred, scheduled, and done. A List Group query uses the same dynamic task view as selecting that group in the sidebar. A section query returns its top-level tasks.

Use search for a literal phrase of 1 through 256 characters. It matches task titles, notes, tag names, and location names without regard to case or accents. It does not interpret query operators or Boolean expressions.

Filter dates with due_on_or_after, due_on_or_before, start_on_or_after, and start_on_or_before. These fields use yyyy-MM-dd and include both endpoints. A task without the relevant date does not match that filter.

Use sort to order results by title, due date, start date, priority, duration, creation date, modification date, or completion date. Use offset and limit to request a page of results; offset starts at zero and limit must be at least 1. Responses include item_count for the returned page and total_count for all matches. include_completed defaults to true; set it to false for unfinished tasks only.

Changes​

ToolWhat it does
update_list_settingsChange a list's saved sorting, Focus Mode state, or both. See Sorting and Focus Mode.
create_sectionCreate a section at the end of a normal list. Requires list_id and title; accepts description.
move_sectionMove a section and all its tasks to another list. Requires section_id and destination list_id.
reorder_sectionsSet a list's section order. Requires list_id and all its section_ids in the desired order.
create_taskCreate a task, project, checklist, or sub-task in a list, section, or parent task.
update_taskChange task fields, including section membership within the current list.
update_task_actionSet, replace, or clear the task action.
delete_taskDelete a task or a batch of tasks.
duplicate_taskDuplicate a task.
move_taskMove a task or batch to a list, section, or parent task. A move can give tasks new IDs, so use the IDs in the returned records for later calls. Batch records follow the same order as task_ids.
complete_taskMark a task or batch complete.
uncomplete_taskMark a completed task or batch incomplete.
pause_tagPause a tag.
unpause_tagUnpause a tag.

Complete, uncomplete, delete, and move accept either one task_id or up to 100 unique task_ids. 2Do validates the whole batch before applying it in order.

Delete, complete, and uncomplete also accept recursive, which defaults to true and includes children. Uncomplete accepts update_parent:true to update a completed parent too; this requires recursive:true.

Completing a recurring task advances it to its next occurrence. Repeating that command advances it again, so clients must not automatically retry recurring completion as though it made no further change.

ToolWhat it does
select_listSelect a normal list in the Mac app.
select_list_groupSelect a List Group's dynamic task view.
select_smart_listSelect a saved Smart List.
select_focusSelect All, Today, Starred, Scheduled, or Done.
open_taskOpen or focus a task in the Mac app.

Quick Reference for AI Clients​

If you are an AI assistant or building an MCP client for 2Do, follow these rules when calling tools:

TopicContract
Transport & binaryLocal STDIO via 2DoMCP/dist/TwoDoMCPBridge with dist/tool-metadata.json kept beside it. No Node.js or Python runtime is required. Negotiates MCP 2025-11-25 or 2025-06-18; tool catalog is fixed per process. 2Do must be open and unlocked.
Dates & timesLocal values only: yyyy-MM-dd, HH:mm, and absolute alarm triggers yyyy-MM-dd HH:mm. Never send timezone names, Z suffixes, or UTC offsets.
Clearing fields with nullOnly due_date, due_time, start_date, start_time, and section_id (in update_task) accept null. Omit other optional fields to leave them unchanged. Clear recurrence with {"frequency":"none"} and alarms with [].
Exclusive targetsquery_tasks accepts at most one of section_id, list_id, list_group_id, smart_list_id, or focus. When passing section_id to create_task or move_task, do not also pass list_id or parent_task_id.
IDs after cross-list movesmove_task and move_section can assign new task_id values when crossing lists. Reuse returned IDs or re-query with query_tasks and list_subtasks.
Recurring completioncomplete_task on a recurring task advances it to the next occurrence and is not idempotent. Never retry it automatically.
Query defaultsquery_tasks and list_subtasks default to paused_filter: "hide" and include_completed: true.
LimitsBatch operations accept up to 100 unique task_ids (all-or-nothing validation). read_attachment supports up to 8 MiB; transcribe_attachment supports up to 64 MiB on macOS 26+.
Version gatesSections require extension 0.2.0+; sorting and Focus Mode require 0.3.0+; attachments and transcription require 2Do 2026.4.7+ and extension 0.4.0+.

Task Editing Support​

Your assistant can create or update these task fields:

FieldNotes
title, notesTask title and notes.
starredWhether the task is starred.
task_typenormal, project, or checklist. When creating a task, this applies only to a top-level task.
sortingSaved sort field and direction for a project or checklist. See Sorting and Focus Mode.
section_idCreate or move a task into a section. In update_task, assign a top-level task to a section in the same list, or use null to clear membership.
due_date, due_timeDate as yyyy-MM-dd; time as HH:mm. Use null to clear.
start_date, start_timeDate as yyyy-MM-dd; time as HH:mm. Use null to clear.
duration_secondsEstimated duration, from 0 through 2147483647 seconds.
prioritynone, low, medium, or high.
tag_updateAn operation (set, append, or remove) and tag_ids.
location_updateAn operation (set, append, or remove) and location_ids.
alarmsSound alarms. Omit to leave unchanged, send an empty array to clear, or send an array to replace. A task can have at most 10 total alarms.
recurrenceDaily, weekly, monthly, yearly, weekdays, or custom recurrence.
actionnone, call, message, mail, visit, url, or google.

For an action alone, use update_task_action. For example, ask your assistant to "change this task to call Sarah."

To create a project or checklist with children, pass subtasks to create_task with a list_id or section_id. Include 1 through 100 children, each with a non-empty title. Children do not have their own section membership.

Project children can have their own dates, priorities, tags, locations, alarms, recurrence, and actions. Child records cannot include section_id, other destinations, task_type, sorting, or nested subtasks. Checklist children inherit scheduling from their parent, so they cannot set due or start fields, duration, recurrence, or relative alarms. They can have absolute sound alarms.

Paused Tags​

Pause a tag to hide matching tasks from normal task views; unpause it to show them again. pause_tag and unpause_tag take a tag_id and return the current tag record. Repeating either command leaves the tag in the requested state.

When reading tasks with query_tasks or list_subtasks, choose how to treat paused tasks:

paused_filterBehavior
hideDefault. Hide tasks paused by tags.
includeInclude paused and unpaused tasks.
onlyReturn only paused tasks.

For example, ask your assistant to "include paused tasks when you review my Work list" or "show only tasks hidden by paused tags."

Dates, Alarms, and Recurrence​

Use these formats when making tool calls directly:

  • Dates: yyyy-MM-dd, such as 2026-10-20.
  • Times: HH:mm, such as 09:30.
  • Absolute alarm triggers: yyyy-MM-dd HH:mm, such as 2026-10-20 09:15.
  • Relative alarm triggers: seconds, such as -900 for 15 minutes before. Offsets range from -63071999 through 63071999.

Dates and times are local values. Do not include timezone names, Z suffixes, or UTC offsets. Relative alarms require a due date or start date.

Recurrence also requires a due date or start date. To clear recurrence, send {"frequency":"none"}. A recurrence rule uses based_on (due_date or completion) and an end_rule; an after_count end rule accepts an occurrence_count from 1 through 99.

In task write requests, only the date and time fields above accept null, plus section_id in update_task. Omit other optional fields when you want to leave them unchanged.

See the AppleScript task reference for complete field rules and examples. MCP uses the same arguments as JSON objects instead of AppleScript records; use JSON null where an AppleScript example uses missing value.

Privacy and Security​

The server communicates with 2Do locally on your Mac. It returns requested data and command results to your connected assistant, which processes that information under your assistant provider's privacy terms. The server does not add another network relay.

Reading an attachment returns the requested image or audio to the connected client. Transcription runs on your Mac and returns the transcript instead of the audio. The client handles returned files and text under its own privacy terms.

Automation uses the app's current unlocked session. Locked app data and locked password-protected lists remain unavailable. The API does not accept account passwords or sync credentials.

Troubleshooting​

Your assistant says 2Do is not available​

Open 2Do for Mac and keep it running while your assistant uses its tools. Unlike some services that auto-launch, 2Do must already be open and unlocked.

ChatGPT or another STDIO client cannot start the server​

Check that the command is the full path to TwoDoMCPBridge, not the downloaded .mcpb file or this guide's web address. Keep tool-metadata.json in the same dist folder as the server. If your client reports a permission error when starting it, repeat the chmod +x command in Download and unpack the server, then restart the MCP connection.

Your assistant cannot find a list, section, or tag​

Ask your assistant to list the relevant items first. list_sections needs the containing list's list_id. Your assistant should use the returned IDs in later calls, especially when several items share a name. Unlock any password-protected list you want your assistant to access.

Your assistant reports an invalid argument or does not offer a tool​

Check that your app and extension support the command, then start a new chat to reload the tool definitions. Unknown argument names and unsupported values are rejected. Section tools require extension version 0.2.0 or later. Sorting and Focus Mode controls require 0.3.0 or later. Attachment tools require 2Do 2026.4.7 or later and extension version 0.4.0 or later. Each feature needs a 2Do build that supports the corresponding commands.

Your assistant reports "automation socket isn't available"​

The server could not connect to 2Do. Check these steps in order:

  1. Confirm 2Do is running and includes MCP support.
  2. Quit and reopen 2Do.
  3. Restart your AI app or reconnect its MCP server, then try again in a new chat.

If the problem continues, 2Do's support logs show the socket path selected at launch. The protocol notes below include paths for local diagnostics.

Advanced Protocol Note​

The native TwoDoMCPBridge executable runs as a local stdio MCP server. It negotiates MCP 2025-11-25 or 2025-06-18 through the initialize / notifications/initialized handshake. Its tool catalog stays fixed for the life of that process.

The bridge forwards calls to a Unix-domain socket in 2Do's App Group container. The app removes stale socket files at startup and creates its socket with 0600 permissions. The normal release path is:

~/Library/Group Containers/EKT6323JY3.com.guidedways/Automation/2do-mcp.sock

If the full path exceeds the Unix socket length limit, 2Do uses:

~/Library/Group Containers/EKT6323JY3.com.guidedways/mcp

Debug and internal builds use their matching App Group. For direct socket diagnostics, send one JSON object followed by a newline:

{"command":"query_tasks","arguments":{"paused_filter":"include","sort":{"field":"due_date","direction":"ascending"},"limit":10}}

A successful response contains result:

{"ok":true,"result":{"tasks":[],"item_count":0,"total_count":0}}

An error response contains a code and message:

{"ok":false,"error":{"code":"invalid_arguments","message":"Unknown argument 'id' for get_task."}}

Use the published MCP tools or AppleScript API for normal automation. The socket examples above describe the app connection, not MCP request envelopes.