Repository navigation
Things Cloud MCP v4.0.0 — bounded reads
Things Cloud MCP v4.0.0
Published Docker images
Release workflow passed on f3537c2dbcfc28ef8e3248a58ebf019e7bd2b71f. Both platform manifests were read back from GHCR and their version/source labels verified.
Multi-platform image to pin:
ghcr.io/pachamaker/things-cloud-mcp@sha256:b43bd7c419b46fc1d7f607bf68417d4ae0884aa8572b06ecec3677f477f52f75
| Platform | Manifest digest |
|---|---|
| linux/amd64 | sha256:2c2401acae2bd1e728e8ea9df474014d685a9178518005c1234dc2e347797d42 |
| linux/arm64 | sha256:d13f8c9a392f0ff17caf2983a893ea102823053770e1500500729ed341d618c1 |
The image is also available as ghcr.io/pachamaker/things-cloud-mcp:v4.0.0.
Breaking: bounded, paginated MCP reads
Large task lists no longer return an unlimited array with full notes. All 14 collection tools (things_list_* and things_search_tasks) return compact page objects, with 25 items by default, a maximum of 100, and a 24 KiB cap on each compact JSON text response including metadata and escaping. A page may contain fewer items because of the byte cap. This bounds a response, not the total conversation or token count.
{
"items": [{"uuid": "example-task", "title": "Review estimate", "status": "open", "type": "task", "has_note": true}],
"returned": 1,
"total": 2,
"has_more": true,
"next_offset": 1,
"revision": "opaque-revision-from-server",
"today": "2026-11-15",
"timezone": "Europe/Moscow",
"page_limited_by": "bytes"
}- Read
itemsfor the current page,returnedfor its size andtotalfor the complete filtered selection. Never treat a default page as the entire list. - Notes are omitted from collection summaries;
has_noteindicates whether a note exists. limit=0no longer means unlimited: valid collection limits are 1–100.- For another page, use the returned
next_offsetandrevision, keeping the same tool and filters. Revision is required foroffset > 0. - Sync changes, mirror rebuilds, process restarts and owner-day rollover may invalidate a revision. On
stale_page, discard the accumulated pages, restart at offset zero and replace the earlier results. Do not append a new iteration to stale pages.
Other changes
- Search supports
scope=open|completed|alland pagination. It matches title/note substrings without returning full notes;allmeans open plus completed, excluding canceled, trashed and hidden recurrence templates. - Completed-task and checklist lists are pageable too. Completion-date filters retain inclusive
completed_afterand exclusivecompleted_beforeboundaries. things_get_taskstill returns normal-sized full detail. Oversized text is explicitly marked intruncated_fields, with retrieval instructions.- New
things_get_task_textretrieves a task'snoteortitlein Unicode code-point chunks: default 4,000, maximum 8,000, also subject to the 24 KiB JSON cap. Follow its ownnext_offsetandrevision; do not reuse a list revision. Never overwrite stored text with a truncated preview. - Go and the digest-pinned Docker builder are upgraded to 1.26.11, addressing the reachable GO-2026-6859 finding from the previous toolchain.
- Legacy shell checks now handle complete paginated collections, including sandbox markers and tasks on later pages. Their offline regressions run in ordinary CI.
Migration from v3.x (or v2.0.1)
- Record your current image digest and configuration. Pause scheduled consumers while their array assumptions are migrated. Back up the mirror with the container stopped or using SQLite's supported backup mechanism; do not copy a live WAL-backed database file alone.
- After this release is published and its image build succeeds, select the v4.0.0 image and pin its published digest:
In your existing deployment, set only
docker pull ghcr.io/pachamaker/things-cloud-mcp:v4.0.0 docker image inspect ghcr.io/pachamaker/things-cloud-mcp:v4.0.0 --format '{{json .RepoDigests}}'THINGS_MCP_IMAGEto the selectedghcr.io/pachamaker/things-cloud-mcp@sha256:…value, then rundocker compose up -d. Keep existing credentials, OAuth settings, volume, timezone and intendedENABLE_WRITESsetting. See the VPS guide. - Update list consumers. Change
result[]toresult.items[]. Removelimit=0. Usehas_more,next_offsetandrevisionfor complete selections. Count withtotal, notlen(items).Ordinary assistant requests should fetch additional pages only when needed. Full reviews must traverse all required pages.# Pseudocode: read_tool returns decoded JSON text, or raises its domain error. def read_all(read_tool, tool, filters): for attempt in range(3): items, args = [], dict(filters) # filters omit offset/revision try: while True: page = read_tool(tool, args) items.extend(page["items"]) if not page["has_more"]: return items args = dict(filters, offset=page["next_offset"], revision=page["revision"]) except StalePage: continue # discard this iteration, retry from zero raise RuntimeError("Data keeps changing; retry the complete read later")
- Refresh client tools and start a new conversation. In ChatGPT, use Refresh tools/Refresh on the connection, verify
things_get_task_textand therevisioninputs are present, then start a new chat. Refresh/update the tool catalog in other MCP clients using that client's procedure. OAuth sign-in alone is not a tool-schema refresh. - Smoke-test your deployment. Read a two-item page and a continuation; retrieve a task and reconstruct a short title with text chunks. If you enable writes, verify create/edit/trash using one disposable ordinary QA task only. Read it back after each mutation. Do not test recurrence writes.
- Resume migrated consumers. If rollback is needed, restore the previous pinned image/configuration and refresh the client schemas/instructions again: old versions return arrays and do not offer
things_get_task_text.
There are no intentional persistent mirror-schema or Things Cloud write-protocol changes in this feature. Container/mirror rollback to the pinned v2.0.1 image and re-upgrade passed on a disposable live sandbox mirror. This does not establish rollback of every deployment configuration or OAuth/ChatGPT connection.
VPS deployment smoke — 2026-11-15
v4.0.0 is deployed on the maintainer's personal VPS using the immutable multi-platform digest listed above. The container is healthy, writes are enabled, and OAuth protection remains intact (unauthenticated MCP requests return HTTP 401).
- ✅ Reading: paginated Today with continuation and no duplicate UUIDs; full title reconstructed from bounded text chunks.
- ✅ Writing: created one disposable ordinary QA task, read it back, edited its title/notes/start date, and verified Today membership.
- ✅ Cleanup: trashed that QA task; search no longer returns it, the VPS mirror confirms its trash flag, and the owner confirmed it is in Trash in the official Things app.
- ✅ Rollback retained: the previous image archive, deployment configuration, a consistent mirror snapshot and a rollback script are saved privately. Archive integrity was checked.
No existing personal tasks were modified. This deployment smoke used the connected Things Cloud app in Codex; it is distinct from the owner-reported ChatGPT read checks below. Rollback was exercised separately on sandbox, not on the personal VPS. No personal task content or account identifiers are published here.
Verification and limitations
- CI on main passed on
f3537c2dbcfc28ef8e3248a58ebf019e7bd2b71f: tidy, build, vet, race tests, staticcheck, govulncheck and 14 offline Python tests. The vulnerability scan reports zero reachable vulnerabilities; it still lists advisories in imported/required code without reachable calls. - Synthetic HTTP tests cover all read entry points, 247/10,000-item walks, byte limits, Unicode reconstruction and invalidated revisions.
- Live sandbox: all 12 live subtests, seed checks and cleanup passed.
- Sandbox rollback: candidate → pinned v2.0.1 → candidate preserved mirror schema/logical data and seed detail; old/new list contracts were verified.
- The owner reported successful ChatGPT pagination, task detail and title reconstruction after refreshing tools. A separate connected-app smoke verified ordinary create/edit/trash. These are scoped checks, not certification of every MCP client.
Known limits:
- A connected-app wrapper may show
structuredContent.error_code=INVALID_ARGUMENTwhile the server JSON incontent[].textcontainserror.code=stale_page. Inspect the domain error payload; the generic wrapper code alone is insufficient. - Automatic ChatGPT recovery after a naturally occurring revision change was not verified. Explicit invalid-revision rejection and manual recovery were verified.
- Query/mirror costs are not bounded by the response limit: the current read model still loads full selections. This release primarily reduces context payloads, not initial sync cost.
- Unsupported oversized metadata returns
item_too_largewith an entity/field diagnostic. Inspect such entities in Things. - Creating/editing recurring tasks remains unsupported; repeat templates and instances remain protected from writes. The legacy REST API was already removed in v3.0.0.