Connect Claude to Dayopt with MCP

Connect an AI assistant to your Dayopt account through MCP (Model Context Protocol). Each client uses OAuth. Review the access shown on Dayopt's consent screen before you approve it.

MCP connections are available while your Dayopt account is in its free trial or has a subscription.

What an assistant can read

An authorized client can read the Dayopt data included in its granted permissions.

DataWhat it includes
PlansPlanned time, as a list or in detail
RecordsTime you actually spent, as a list or in detail
ActivitiesActivities and categories used to organize timeblocks
ReviewStatistics comparing plans and records
ConstraintsBusy time and rules used when placing plans

Read and write permissions

On Dayopt's side, any client can read and write once you approve it on the consent screen. Depending on the client's plan, it may still be limited to reading (see the ChatGPT section). While Dayopt has paused writes, a connection receives read access only, and the consent screen will show read access only.

The consent screen lists the permissions for your connection. There are two. read lets the client read your Plans, Records, activities, categories, trash, and reviews. write lets it create and change Plans, activities, and categories, move Plans to the trash and restore them, and archive or restore activities and categories. For Records, write only lets it place drafts that you confirm in Dayopt, change or discard its own drafts, and add text to the end of a Record's note. On Plans you created, it can only add text to the end of the note, too. Added text goes under the note as a heading line, > [Claude · 12/2 14:30], followed by lines that start with >. Dayopt adds the name and time. Items in the trash can be restored for 30 days. Permanent deletion is not available through MCP. Review each permission before you approve it.

With write permission, a write action changes Plans, activities, and categories directly. Records are placed as drafts and do not become Records until you confirm them in Dayopt. The consent screen does not confirm each change for you. Check whether your client lets you review each write action before it runs.

Find your MCP server URL

  1. Open Dayopt Settings and go to Integrations.
  2. Copy the MCP server URL in AI connections (MCP).
  3. Add that URL to your AI assistant and approve the requested access on Dayopt's consent screen.

Connect Claude

  1. In Claude, open Customize → Connectors.
  2. Choose + → Add custom connector and enter the name Dayopt and the URL copied from Dayopt.
  3. In Advanced settings, set the OAuth Client ID to claude-ai. Leave the OAuth Client Secret empty.
  4. Choose Add, connect to Dayopt, then review and approve the requested permissions.
  5. In a chat, choose + → Connectors and enable Dayopt for the conversation.

See Anthropic's remote MCP connector guide for current Claude instructions.

Use ChatGPT

To connect ChatGPT, follow OpenAI's guide. In ChatGPT, you can add Dayopt as a custom MCP app in developer mode. On the Pro plan, you can use read access only. Write actions, such as creating plans or records, are available only on ChatGPT Business, Enterprise, and Edu plans. See OpenAI's ChatGPT MCP guide for current availability and setup steps.

Try a read and write flow

Select Dayopt in a chat. Use separate read tools to review Plans and Records:

List my Plans and Records separately for [date], from [start of date] to [start of next date] in [time zone]. Keep planned and completed time separate.

If the consent screen grants write, first ask for a draft without calling a Dayopt write tool:

Draft one future Plan called [title] for [activity] from [start time] to [end time]. Use full ISO 8601 date-times with the correct UTC offset. Do not call a Dayopt write tool yet. Show me the title, activity, start time, and end time so I can review them.

After you review the draft, give a separate instruction to create it. The client applies the change when it calls timeblocks.create with kind: "plan". Check that the Plan appears in the Dayopt calendar.

If the consent screen grants write, use the same two-step process after an activity has happened:

Draft one Record called [title] for [activity] from [past start time] to [past end time]. Use full ISO 8601 date-times with the correct UTC offset. Do not call a Dayopt write tool yet. Show me the title, activity, start time, and end time so I can review them.

After you review the draft, give a separate instruction to create it. When the client calls timeblocks.create with kind: "record", Dayopt saves it as a record draft (status: "draft"). It appears as a dashed card in the Record lane of the calendar. Press ✓ on the card, or open it and save, to make it a Record. Until then it is not counted in your totals. A Record must start at or before the current time. Dayopt rejects a Record that starts in the future; create a Plan for future time instead. For example, 2026-10-05T09:00:00+09:00 is an ISO 8601 date-time with a UTC offset.

Use timeblocks.list to read Plans and Records together; each row carries kind (plan or record) and status (draft for a record draft waiting for your confirmation, otherwise confirmed). Passing kind or status narrows the list. Every read tool needs read. Use activities.list when you need to choose an activity. review.get compares Plans and Records for a date range of up to 371 days. Pass grain (day or week) to get per-day or per-week totals in your timezone, and groupBy: category to total by category. timeblocks.list returns pages: follow nextCursor until it is null to read every block in a range. With since, the first page also lists blocks moved to the trash since then, as kind, id, and deletedAt only; when deletedNextCursor is not null, pass it as deletedCursor with the same since to read the rest. activities.list includes each activity's usual length (usualMinutes) and lists your categories too.

With write, you can also ask the client to reorganise your categories and activities. Pass the updatedAt returned by activities.list as expectedUpdatedAt; if the item changed elsewhere in the meantime, the change stops with CONFLICT. Colours are limited to the app's 10 colours, and icons to the ones the app offers.

If the consent screen did not show write, that connection can use the read tools only.

Tools and permissions

Each tool requires one permission. A client sees and can call only the tools that its granted permissions allow.

ToolPermissionWhat it does
timeblocks.listreadLists Plans and Records in a range (kind narrows to one; trashed: true lists the trash)
timeblocks.getreadReads one Plan or Record
activities.listreadLists activities and categories
constraints.getreadReads busy time and rules for placing Plans
review.getreadCompares Plans and Records for a date range
timeblocks.createwriteCreates a Plan or Record (kind is required)
timeblocks.updatewriteUpdates a Plan or Record
timeblocks.deletewriteMoves a Plan or Record to the trash
timeblocks.restorewriteRestores a Plan or Record from the trash
activities.savewriteCreates an activity, or changes its name, category, or icon
activities.archivewriteArchives or restores an activity
categories.savewriteCreates a category, or changes its name or colour
categories.archivewriteArchives or restores a category

Plans and Records in the trash are permanently removed 30 days after deletion and can no longer be restored.

Error codes

When a tool fails, it returns an error code and whether trying again can help.

CodeWhat it means
INSUFFICIENT_SCOPEThe connection was not granted the permission this tool needs
NOT_FOUNDThe item was not found
INVALID_RANGEThe date range is invalid or too long
INVALID_CURSORThe cursor is not valid. Start again without a cursor
RANGE_TOO_DENSEThe range holds too much data. Request a shorter range
READ_FAILEDDayopt could not read the data. Try again
MUTATION_FAILEDDayopt could not apply the change. Try again
NOTE_NOT_OWNEDThis Plan's note belongs to the user: an app can only add text to the end of it; it cannot rewrite or clear it
ACTIVITY_ARCHIVEDThe activity is archived and cannot be assigned to a Plan or Record
CONFLICTAnother update conflicted. Read the latest data and try again
DRAFT_NOT_OWNEDAnother app placed this record draft, so this app cannot change it. The user confirms or discards it in Dayopt
DUPLICATE_NAMEAn active activity or category already has this name
IDEMPOTENCY_KEY_REUSEDThe operation ID was already used for a different change
INVALID_INPUTThe input is invalid
INVALID_TIME_RANGEThe end time must be after the start time
RECORD_CONFIRMEDThe user confirmed this record. An app can only add text to the end of its note; it cannot change its time, activity or fulfillment, delete it or restore it
RECORD_IN_FUTUREA Record cannot start in the future
TIME_OVERLAPThe time range overlaps with an existing item

Revoke or reconnect

To revoke Dayopt access, open Settings → Integrations → AI connections (MCP) in Dayopt and revoke access for that client. You can also remove the connector in the client. Removing it from the client does not replace revoking access in Dayopt.

To reconnect, start the connection again from the client, sign in to Dayopt, and review the current permissions before you approve them.

Resetting your password revokes every AI connection. To keep using Dayopt from an AI assistant, connect it again the same way. Changing your password in Settings does not revoke them.

Troubleshooting

ProblemWhat to check
No MCP server URL appears in Dayopt SettingsSign in to the Dayopt product and open Settings → Integrations. If it is still missing, contact support.
The client cannot connectCopy the URL from Dayopt Settings again and check for extra characters.
The consent screen shows an errorSign in to Dayopt in the same browser, then try again.
Tools remain unavailable after a server changeReconnect and approve the current permissions.
You revoked access and want to use the client againReconnect from the client and approve a new connection.
The client asks you to start a trial or subscribeYour free trial or subscription has ended. Open Dayopt and subscribe; the same connection works again.

If the problem continues, contact us.