-
v0.1.1-dev.4
Pre-releaseAll checks were successfulCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / release-check-1 (push) Successful in 15sCorn CI / release-check (push) Successful in 0sCorn CI / host (push) Successful in 18sCorn CI / test (push) Successful in 4m27sArchitecture Wiki / publish architecture (push) Successful in 5m9sCorn CI / release (push) Successful in 59sreleased this
2026-11-26 03:52:27 +00:00 | 26 commits to main since this releasev0.1.1-dev.4
No one-time OAuth values in the server log.
- FastMCP OAuth proxy redaction. 0.1.1-dev.3 redacted callback queries in the access log, but FastMCP's OAuth proxy still logged the returned
state(its transaction ID) at ERROR when a callback was stale or forged (IdP callback with invalid transaction ID: …). A logger-level filter onfastmcp.server.auth.oauth_proxy.proxynow masks it, and also the debug-level authorization code and transaction messages, at any log level. Other proxy messages (refresh-token prefixes, upstream errors) are unchanged.
No API or behaviour change.
Source commit
f334709cc7eb0be0841d037c13139cc0676ed268.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- FastMCP OAuth proxy redaction. 0.1.1-dev.3 redacted callback queries in the access log, but FastMCP's OAuth proxy still logged the returned
-
v0.1.1-dev.3
Pre-releaseAll checks were successfulCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / release-check-1 (push) Successful in 13sCorn CI / release-check (push) Successful in 0sCorn CI / host (push) Successful in 17sCorn CI / test (push) Successful in 4m1sArchitecture Wiki / publish architecture (push) Successful in 4m24sCorn CI / release (push) Successful in 1m3sreleased this
2026-11-26 03:00:24 +00:00 | 28 commits to main since this releasev0.1.1-dev.3
Simpler batch statuses, and OAuth sign-in codes no longer appear in the access log.
corn_call_tools:invalidis merged intonot_run. Every call now has exactly one of three statuses:ok,error(ran and failed) ornot_run(never ran). Anot_runcall that was itself the problem carrieserror(unknown tool, recursive call) orerrors(field problems); anot_runcall without them was valid and only held back because the batch was rejected. The top-levelinvalidcount is removed;not_runcounts all calls that did not run. Request validation stays strict: unknown keys and copied response fields still reject the whole batch before anything runs.- Access log redaction. uvicorn access-log lines for any
/auth/.../callback(Pocket ID sign-in, console sign-in, linked MCP accounts such as PocketSmith and Coder) now show?<redacted>instead of the one-time authorizationcodeandstate. Other request paths and query strings are logged unchanged.
Behaviour change: clients reading
results[].status == "invalid"or the top-levelinvalidcount should usenot_run(witherror/errors) instead.Source commit
efa7e987759cd46bb0668e396aee408bea6e027e.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.1.1-dev.2
Pre-releaseAll checks were successfulCorn CI / release-check-1 (push) Successful in 2sCorn CI / release-check (push) Successful in 0sCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / host (push) Successful in 17sCorn CI / test (push) Successful in 2m29sCorn CI / release (push) Successful in 2m18sArchitecture Wiki / publish architecture (push) Successful in 54sreleased this
2026-11-26 01:15:04 +00:00 | 30 commits to main since this releasev0.1.1-dev.2
Linked MCP accounts stay signed in, and public OAuth clients such as PocketSmith's hosted MCP work end to end.
- Background credential refresher (generic). A new
corn.refresher.CredentialRefreshersweeps registered credential sources on an interval and renews grants before they expire. Linked MCP accounts (CORN_UPSTREAM_MCP_SERVERS) are the first source; other credential families can register their ownsweep(min_validity). Only one replica sweeps at a time (database leasecredential-refresher). On-demand refresh at call time is unchanged and remains the correctness path.CORN_REFRESH_INTERVAL_SECONDS(default1800,0disables)CORN_REFRESH_MIN_VALIDITY_SECONDS(default2400): grants with less remaining lifetime are refreshed. With the defaults, a one-hour token is renewed before it can expire between two sweeps.
- RFC 8707
resourceon every token request. When an upstream setsresource, Corn now sends it on the authorization-code exchange and on refreshes too, not only on the authorization request, as the MCP authorization spec requires. - Transient refresh failures keep the grant. Network errors,
429and5xxfrom the token endpoint no longer delete the user's linked account; the current token is used while still valid and the tool error says to retry. Only a rejected refresh token (4xx) disconnects. - Grants without a refresh token are used until they expire instead of being deleted early, and the Connections page shows whether each linked account renews automatically.
No configuration change is required; the refresher starts with the defaults.
Source commit
7993f8203070cb752ad444a73ad9f7aaa3ef973d.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Background credential refresher (generic). A new
-
v0.1.1-dev.1
Pre-releaseAll checks were successfulCorn CI / release-check-1 (push) Successful in 2sCorn CI / release-check (push) Successful in 0sCorn CI / host (push) Successful in 9sCorn Release / release-1 (push) Successful in 3sCorn Release / release (push) Successful in 0sCorn CI / test (push) Successful in 3m51sCorn CI / release (push) Successful in 37sArchitecture Wiki / publish architecture (push) Successful in 4m36sreleased this
2026-11-25 03:15:07 +00:00 | 32 commits to main since this releasev0.1.1-dev.1
corn_call_toolschecks the whole request before any call runs, and reports accepted and rejected batches in one shape.- Unknown keys are rejected, not dropped. Previously a call item with
argsinstead ofargumentsran the tool with empty arguments. It is now refused with "did you mean 'arguments'?". Top-level keys copied from a previous response (for examplesucceededortotal_ms) are named as such. - Rejected batches run nothing. They return
status: "rejected",executed: 0and one result per call (invalidwith its field errors, ornot_run), plus batch-level field errors undererror.errors. The response is flaggedisErrorand never echoes submitted values. - Accepted batches add
status(completedorpartial),executed,invalid,not_runand a per-callstatus(ok,error,invalid). Accepted batches are never flaggedisError.
Behaviour change: unknown-tool and recursive calls never run, so they now count as
invalidrather thanfailed.failednow counts only calls that ran and returned an error. Existing fields (results,ok,succeeded,failed,total_ms) remain.Source commit
56e682199485ec289fb6c4dada053529ff9ebfde.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Unknown keys are rejected, not dropped. Previously a call item with
-
v0.1.0
StableAll checks were successfulCorn CI / release-check-1 (push) Successful in 2sCorn CI / release-check (push) Successful in 0sCorn Release / release-1 (push) Successful in 20sCorn Release / release (push) Successful in 0sCorn CI / test (push) Successful in 2m21sArchitecture Wiki / publish architecture (push) Successful in 2m44sCorn CI / release (push) Successful in 34sreleased this
2026-11-24 03:07:38 +00:00 | 40 commits to main since this releaseCorn 0.1.0
Stable promotion of 0.1.0-rc.1. No feature or deployment-selector changes from the candidate. The stable image is published to :latest.
Source commit
42120f49c5859f9fd2ea283277ce1a58dbaac817.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.1.0-dev.42
Pre-releaseAll checks were successfulCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / release-check-1 (push) Successful in 13sCorn CI / release-check (push) Successful in 0sCorn CI / test (push) Successful in 3m43sArchitecture Wiki / publish architecture (push) Successful in 4m5sCorn CI / release (push) Successful in 41sreleased this
2026-11-24 00:24:20 +00:00 | 44 commits to main since this releasev0.1.0-dev.42
The MCP description of
corn_list_toolsadvertises the subtool names visible to the caller. Filtered discovery also returnscallable_subtools, ready to use incorn_call_tools.Source commit
a0edaf0b50e4486ddb88e2071f1b5d137cefd1d6.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.1.0-dev.41
Pre-releaseAll checks were successfulCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / release-check-1 (push) Successful in 14sCorn CI / release-check (push) Successful in 0sCorn CI / test (push) Successful in 4m1sArchitecture Wiki / publish architecture (push) Successful in 4m25sCorn CI / release (push) Successful in 3m18sreleased this
2026-11-23 23:57:14 +00:00 | 46 commits to main since this releasev0.1.0-dev.41
Discover tools with
corn_list_tools; run independent calls together withcorn_call_tools. The previouscorn_listandcorn_batchnames remain callable aliases. Direct tools are unchanged.Source commit
76db593ac9d611630bbe0378537a1541e9289e3f.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.1.0-dev.40
Pre-releaseAll checks were successfulCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / release-check-1 (push) Successful in 13sCorn CI / release-check (push) Successful in 0sCorn CI / test (push) Successful in 3m50sArchitecture Wiki / publish architecture (push) Successful in 4m34sCorn CI / release (push) Successful in 55sreleased this
2026-11-23 21:38:01 +00:00 | 54 commits to main since this releasev0.1.0-dev.40 — Tool discovery (
list) and concurrentbatchexecution (pre-release)Adds
list(corn_list) andbatch(corn_batch) to Corn's MCP surface so
clients that execute top-level tool calls sequentially can still discover all
available tools and run up to 20 Corn or proxied upstream tool calls
concurrently in one MCP round trip.list(corn_list): Surfaces every Corn and connected upstream MCP tool
available to the caller (name,client_name,description,required,
parameters, and optional fullinput_schema), withqueryandprefix
filters. Unconnected upstream servers are omitted.batch(corn_batch): Acceptscalls(1–20{tool, arguments, id?})
andmax_concurrency(1–10, default8), resolves tool names with or
without thecorn_prefix, runs all calls concurrently through
mcp.call_tool(..., run_middleware=True)while blocking recursivebatch
calls, and returns per-item results in input order with isolated error
reporting. Every Corn tool (includingContractToolandlist) and every
connected upstream tool works insidebatch.- Reentrant
identity_request_cache(): Sub-calls inside a batch share the
outer request's resolvedIdentityinstead of re-querying SQLite per item.
No database schema or deployment-file changes.
Source commit
df3e1324b24bbae6a22d9f0ad9f49bd0d73999ee.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.1.0-dev.39
Pre-releaseSome checks failedCode Architecture / inventory (push) Has been skippedCode Architecture / mermaid-comment (push) Has been skippedCode Architecture / review (push) Has been skippedCode Architecture / comment (push) Has been skippedCorn CI / release-check-1 (push) Successful in 2sCorn CI / release-check (push) Successful in 0sCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / test (push) Successful in 2m46sCorn CI / release (push) Failing after 15sCode Architecture / review-1 (push) Successful in 3m42sCode Architecture / analyze (push) Successful in 0sreleased this
2026-11-23 05:30:56 +00:00 | 68 commits to main since this releasev0.1.0-dev.39 — Read-only per-request auth resolution and throttled
last_seen_at(pre-release)Cached
tools/liststill took ~200 ms p50 across Corn's three replicas
because FastMCP'sAuthMiddlewareinvokedIdentityService.resolve()once per
listed tool, and every call unconditionally opened a second SQLite session to
updateusers.last_seen_atand commit. With ~60 tools across Corn and Coder,
onetools/listran 360 SQLite statements (240SELECT, 120UPDATEcommits)
synchronously on the event loop.IdentityService.resolve()now keeps the read-only fast path when an enabled
user's profile claims match andlast_seen_atwas updated within the last
5 minutes (last_seen_interval_seconds=300). Profile claim changes and new
users still persist immediately.ToolTimingMiddleware.on_requestscopes an in-memory per-request identity
cache (identity_request_cache()), soAuthMiddleware's per-tool checks and
UserScopedMcpProxy's user-id checks reuse the first resolution for that
request instead of repeating SQLite queries.- MCP auth checks (
_authenticated,_current_user_id,corn_whoami) and
UserScopedMcpProxy.is_connectedrun SQLite/crypto lookups off the asyncio
event loop viaasyncio.to_thread().
Local measurement (60-tool
FastMCP+AuthMiddleware+ToolTimingMiddleware):
oneClient.list_tools()drops from 360 SQLite ops (including 120 commits) to
1 read-onlySELECT(~24 ms → ~0.5 ms middleware time).No API, database schema, or deployment-file changes.
Source commit
b47a845076d795be03f137f80bae00ce0bda0f33.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.1.0-dev.38
Pre-releaseAll checks were successfulCode Architecture / inventory (push) Has been skippedCode Architecture / mermaid-comment (push) Has been skippedCode Architecture / review (push) Has been skippedCode Architecture / comment (push) Has been skippedCorn Release / release-1 (push) Successful in 3sCorn Release / release (push) Successful in 0sCorn CI / release-check-1 (push) Successful in 11sCorn CI / release-check (push) Successful in 0sCorn CI / test (push) Successful in 3m55sCorn CI / release (push) Successful in 14sCode Architecture / review-1 (push) Successful in 4m23sCode Architecture / analyze (push) Successful in 0sreleased this
2026-11-22 09:31:51 +00:00 | 81 commits to main since this releasev0.1.0-dev.38 — Upstream tool lists served from cache (pre-release)
MCP clients list tools before most calls. Corn forwarded every one of those
listings to the upstream (Coder), and in production a listing took 160–620 ms,
more than most tool calls. Corn now answers listings of upstream tools,
resources, resource templates and prompts from each user's own cache, and only
asks the upstream again once the entry is older than the cache TTL.- One TTL for all upstream list caches:
CORN_UPSTREAM_CACHE_TTL_SECONDS,
default 60 seconds;0disables the cache. Invalid values fail at start-up.
A tool added or removed upstream appears within that window. - The cache stays per user. A user who is not connected, or who disconnects,
is never served a cached list. - Tool calls are unchanged and always go to the upstream.
- Timing lines mark a listing answered from the cache as
session=cached.
Other Corn caches (transit, calendar, fuel and shopping) keep their existing
lifetimes.No API, database or deployment-file changes.
Source commit
a7d80c6a66bf37dd65474cd04412280d6821e501.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- One TTL for all upstream list caches: