Skip to main content
Use https://tuckthis.app/api/mcp with Streamable HTTP. A client that supports OAuth signs in when it connects. A script sends a token as Authorization: Bearer <your-token>. In the tables below, “this token” also means a signed-in connection. Set up Hosted MCP first. Available on Pro, Tucker, and Founder.

Sign in with OAuth

An MCP client that supports OAuth needs only the server URL. Tuck is both the MCP server and its own authorization server.
  • Discovery. A request to /api/mcp without valid credentials returns 401 with a WWW-Authenticate header that points to the resource metadata. The metadata documents are at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server on tuckthis.app. Read the endpoints from there instead of hard-coding them.
  • Registration. Clients register with Dynamic Client Registration (RFC 7591), or use a Client ID Metadata Document URL as the client ID. Only public clients are supported, so there’s no client secret.
  • Authorization. PKCE with S256 is required. The person signs in to Tuck, sees the app’s name, where they’ll be sent back, and the brains they’ve published, then chooses Read only or Read and add and Allow. Their account needs Pro, Tucker, or Founder.
  • Redirects. A redirect URI can be https, http on loopback, or an app’s own scheme. It has to match a registered redirect exactly, except that a loopback redirect can use any port.
  • Tokens. An access token lasts 1 hour. Refresh tokens rotate on each use and last 90 days after the last use. Sending a refresh token that was already replaced revokes the connection.
Each sign-in is one row under Connections in Settings → Hosted MCP. Signing in again from the same app adds another row and leaves the first in place. Write queues, write limits, and webhooks belong to that row, the same as a token’s.

Write lifecycle

Every write takes a caller-generated requestId. Reuse it only when retrying that same action. Deduplication is scoped to the token, so a different token does not share its request IDs. The limit is 30 write requests per 60 seconds per token. A write queues a plaintext command. An unlocked device must apply and encrypt it before it becomes part of the vault. Keep the web app visible and unlocked and allow about 20 seconds for the processing pass, plus sync and network time. Locked devices leave writes queued without an expiry. Call get_write with requestId until it reports sealed, discarded, or failed. queued is not completion. A write that sealed without changing anything, for example because its todo was deleted or its Await already ended, says why in noChange: todo_missing, not_active, already_waiting, already_done, not_done (an uncomplete_todo whose todo isn’t done), or body_clipped (an edit to a thought whose text is longer than the 64,000-character limit, which the device leaves unchanged). Only the web app applies writes. An unlocked browser claims each write before applying it, so two open browsers don’t both apply the same write. The iPhone and Mac apps can list and discard queued writes, but they don’t apply them, so a write stays queued until the web app is open and unlocked. A missing, deleted thought can produce failed with reason: "thought_missing"; that request ID stays failed. A device that has not loaded the target yet may leave the write queued. list_pending lists queued writes only. If a write waits 3 days, the account owner gets an email saying changes are waiting, and one more 7 days later. Writes don’t expire. create_thought and create_brain return their resulting thoughtId or brainId through get_write after sealing; those IDs are null beforehand. Check tool errors as well as transport success.

Reading and discovery

Use the returned pagination cursor rather than constructing one. A published empty brain is valid; an unpublished brain ID is rejected without revealing whether it exists. Read access covers the account’s published personal brains; write selections do not restrict reads. The change feed uses kind values: create, edit, delete, move, todo_complete, todo_uncomplete, todo_proposed, todo_delete, and tag_remove, plus these for Awaits: await_start, await_got_it, await_drop, await_todo, await_follow_up (the person checked again), and await_edit (an active Await’s check-on date, Needed by date, or what it waits on changed). Got it is reported as await_got_it, not todo_complete. The feed is distinct from webhook events.

Writing thoughts

All rows below also require requestId. Append, replace, and delete thought calls, plus existing-thought todo calls, also accept an optional brainId guard. When supplied, it must match the thought’s brain. When brainId is omitted on creation, the default Inbox must be published and writable. A /brain token inside text does not reroute the request. For replacement, read all available text pages before composing the new text; appending avoids replacing text the assistant has not seen.

Writing todos

These tools require requestId and thoughtId. Existing-todo tools also require the stable todoId returned by reads. Repeat schedules are readable through recurrence, repeat, and repeatLabel. repeat can describe daily, weekly, monthly, weekdays (0 is Sunday), intervals, times-per-period quotas, or custom schedules. A quota does not roll a due date. These write tools do not expose a repeat-rule argument.

When completing a todo archives its thought

Tuck archives a thought that is only a title when its one plain todo is completed, unless the person has turned that off. See When checking off a todo archives its thought. This applies to complete_todo too. Archived thoughts aren’t published, so the thought leaves search and read_thought. The token that completed the todo can still undo it. uncomplete_todo with the same thoughtId and todoId is queued when both of these are true:
  • This token completed that todo, within the last 30 days and among its last 100 completions.
  • The thought’s brain is still published and writable by this token.
When the device applies it, the todo reopens and the thought is unarchived. If the todo is gone or is no longer done, the write seals with noChange set to todo_missing, not_active, or not_done. If the brain has been unpublished in the meantime, the device discards the write. For any other thought that isn’t published, uncomplete_todo is refused as before. Got it on an Await isn’t covered, so an ended Await still can’t be reopened.

Awaits

An Await is something the person is waiting on from someone else. It’s stored as a todo row with kind: "await" and kept off todo surfaces. Write tools here require requestId. Use the stable todoId from reads to target an existing todo or Await. Only create an Await when the person asks for one. Don’t turn prose into an Await on a guess. When a device applies wait_on with an event, it matches the title against the calendar: the next matching event that isn’t over yet, otherwise the last one that ended. If the calendar doesn’t have it, the title is kept as a label. list_awaits rows include id and todoId (the same value, under the name the write tools take), waitingOn (people, event, thing, or parked), followUpAt, the Needed by date, checkReason (date, event, or null), followUpCount, and lastFollowUpAt.
  • checkOnBy keeps only active Awaits due a check by then, because the check-on date came or the event ended.
  • includeHistory adds ended Awaits (got_it, dropped, made_todo) with endedAt.
  • person matches a whole name in any case. Part of a name doesn’t match.
  • Only sealed Awaits are listed. A queued write shows in get_write and list_pending until it seals.
With Event times on for a brain, waitingOn for an event includes startAt and endAt, and the row has eventOver. The event title is never published. checkReason: event needs published event times, so a brain without them only gets date or null. read_thought, and search when Awaits are included, show kind, followUpAt, and waitingOn on an Await row. Ending an Await with uncomplete_todo or dismiss_todo is refused with “That is an Await. Use resolve_await.”

Tags, people, and brains

All tools require requestId in addition to these arguments. No tool archives or deletes a brain. To delete one, use Tuck.

Capture text without surprises

Explicit todo grammar, a line that starts with todo:, [ ], or - [ ], creates one open todo per line. A line starting with * is a bullet, and /todo is an ordinary /brain reference. App-inferred actionable suggestions are proposed. Plain prose passed to create_thought is not automatically a todo. Structured todos default to open unless you explicitly set proposed. A relative time such as in 2 hours makes a todo only in a short, one-line thought of up to 200 characters, such as call Sam in 2 hours. In a longer thought it stays text. A todo line keeps its own relative due. create_thought dates a thought from a full calendar date with a year in its first line, such as 2026-11-24, November 24, 2026, Nov. 24th, 2026, or 11/24/2026. A title like Daily Activity Briefing - November 24, 2026 is dated that day. These leave the thought undated: a date in the body, a date without a year, a relative word such as tomorrow or Monday, a date inside code, and a first line that is a todo. An explicit !YYYY-MM-DD still sets the date. A line starting with await: or waiting: starts an Await on the people that line mentions, and park: parks one. An explicit Await line wins over a structured todo with the same title. Capture supports #tags, @people, !YYYY-MM-DD, and repeat markers such as ~daily, ~weekly, and ~monthly. MCP append and edit also process explicit todo lines. A todo line leaves the thought’s text, because the todo becomes its only copy. edit_thought keeps the first line as the title, and append_to_thought drops every todo line from the appended text. Syntax inside inline code or fenced code blocks is left as written, and markdown pipe tables are shown as formatted tables. ~~text~~ shows as struck-through text on the web, iPhone, and Mac, and reads back as ~~text~~. A single tilde, as in ~5 mins, stays as typed. To keep a pair of tildes as typed, escape them as \~\~. Indented bullet and numbered lists keep their nesting, with two-space, four-space, or tab indents. When grammar and a structured todo have the same title (ignoring case), Tuck merges them into one todo. Supplied structured due dates and status take precedence. A grammar !date normally sets the thought’s datedAt too. If the matching structured todo supplies a different calendar day, Tuck clears the conflicting thought date. It does not move that structured date onto the thought. For example, pass these arguments to create_thought with a writable brain ID:
After sealing, this produces one proposed todo due October 23 and no thought date. Without the structured override, the grammar produces an open todo due October 22 and dates the thought October 22.

Dates and time zones

Write dueAt accepts a calendar date (YYYY-MM-DD), an ISO timestamp with an offset, or Unix milliseconds. For edits, null clears the due date. A date-only due is saved at the account’s reminder hour. Reads return dateOnly: true, dueDate as its calendar day, and dueAt as the stored ISO UTC instant. A deliberately chosen time, including noon, has dateOnly: false. Date-only dueBy and dueAfter filters use the account time zone. whoami.timeZone is null when unset, in which case filtering falls back to UTC. Thought-date filters datedAfter and datedBefore use UTC day boundaries for date strings. Use offset-bearing timestamps when you mean a precise instant. Your account time zone is initially seeded from a device and can be changed in Account settings. Traveling does not silently reset it.