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.
| Data | What it includes |
|---|---|
| Plans | Planned time, as a list or in detail |
| Records | Time you actually spent, as a list or in detail |
| Activities | Activities and categories used to organize timeblocks |
| Review | Statistics comparing plans and records |
| Constraints | Busy 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
- Open Dayopt Settings and go to Integrations.
- Copy the MCP server URL in AI connections (MCP).
- Add that URL to your AI assistant and approve the requested access on Dayopt's consent screen.
Connect Claude
- In Claude, open Customize → Connectors.
- Choose + → Add custom connector and enter the name
Dayoptand the URL copied from Dayopt. - In Advanced settings, set the OAuth Client ID to
claude-ai. Leave the OAuth Client Secret empty. - Choose Add, connect to Dayopt, then review and approve the requested permissions.
- 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.
| Tool | Permission | What it does |
|---|---|---|
timeblocks.list | read | Lists Plans and Records in a range (kind narrows to one; trashed: true lists the trash) |
timeblocks.get | read | Reads one Plan or Record |
activities.list | read | Lists activities and categories |
constraints.get | read | Reads busy time and rules for placing Plans |
review.get | read | Compares Plans and Records for a date range |
timeblocks.create | write | Creates a Plan or Record (kind is required) |
timeblocks.update | write | Updates a Plan or Record |
timeblocks.delete | write | Moves a Plan or Record to the trash |
timeblocks.restore | write | Restores a Plan or Record from the trash |
activities.save | write | Creates an activity, or changes its name, category, or icon |
activities.archive | write | Archives or restores an activity |
categories.save | write | Creates a category, or changes its name or colour |
categories.archive | write | Archives 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.
| Code | What it means |
|---|---|
INSUFFICIENT_SCOPE | The connection was not granted the permission this tool needs |
NOT_FOUND | The item was not found |
INVALID_RANGE | The date range is invalid or too long |
INVALID_CURSOR | The cursor is not valid. Start again without a cursor |
RANGE_TOO_DENSE | The range holds too much data. Request a shorter range |
READ_FAILED | Dayopt could not read the data. Try again |
MUTATION_FAILED | Dayopt could not apply the change. Try again |
NOTE_NOT_OWNED | This 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_ARCHIVED | The activity is archived and cannot be assigned to a Plan or Record |
CONFLICT | Another update conflicted. Read the latest data and try again |
DRAFT_NOT_OWNED | Another app placed this record draft, so this app cannot change it. The user confirms or discards it in Dayopt |
DUPLICATE_NAME | An active activity or category already has this name |
IDEMPOTENCY_KEY_REUSED | The operation ID was already used for a different change |
INVALID_INPUT | The input is invalid |
INVALID_TIME_RANGE | The end time must be after the start time |
RECORD_CONFIRMED | The 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_FUTURE | A Record cannot start in the future |
TIME_OVERLAP | The 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
| Problem | What to check |
|---|---|
| No MCP server URL appears in Dayopt Settings | Sign in to the Dayopt product and open Settings → Integrations. If it is still missing, contact support. |
| The client cannot connect | Copy the URL from Dayopt Settings again and check for extra characters. |
| The consent screen shows an error | Sign in to Dayopt in the same browser, then try again. |
| Tools remain unavailable after a server change | Reconnect and approve the current permissions. |
| You revoked access and want to use the client again | Reconnect from the client and approve a new connection. |
| The client asks you to start a trial or subscribe | Your free trial or subscription has ended. Open Dayopt and subscribe; the same connection works again. |
If the problem continues, contact us.