• v0.1.1-dev.5 ebe0a1b09c

    v0.1.1-dev.5
    All checks were successful
    Corn Release / release-1 (push) Successful in 4s
    Corn Release / release (push) Successful in 0s
    Corn CI / release-check-1 (push) Successful in 14s
    Corn CI / release-check (push) Successful in 0s
    Corn CI / host (push) Successful in 18s
    Corn CI / test (push) Successful in 4m6s
    Architecture Wiki / publish architecture (push) Successful in 4m26s
    Corn CI / release (push) Successful in 32s
    Pre-release

    john released this 2026-11-27 02:58:12 +00:00 | 23 commits to main since this release

    v0.1.1-dev.5

    REST APIs as per-user upstreams, generated from a bundled OpenAPI spec. Forgejo is the first.

    • openapi upstreams. A CORN_UPSTREAM_MCP_SERVERS entry may set openapi: {spec, base_url, operations} instead of url. Corn filters the bundled OpenAPI 3 document to the allowlisted operationIds and serves the generated tools through the existing per-user proxy (UserScopedMcpProxy): same namespacing (forgejo_*), session pool, list cache and error handling as MCP servers. No new provider type.
    • Personal-token auth. auth: {"type": "token", "header"?, "prefix"?} lets each user paste a personal access token under Connections → Linked accounts (CSRF-bound form; replace or remove later). Stored encrypted under provider upstream_token; never refreshed, never shown again. Works for openapi and remote MCP entries.
    • Bundled Forgejo spec. src/corn/specs/forgejo.json (Forgejo 17.0.1, 512 operations, converted from Swagger 2.0). scripts/vendor_openapi.py regenerates it reproducibly.
    • Safety. Unknown operationIds or a missing spec stop start-up. Only allowlisted operations become tools. Each user's calls carry only that user's token; caller request headers are stripped before any upstream request. Generated output schemas are permissive (real APIs return values strict format checks reject).

    Existing OAuth MCP entries (Coder, PocketSmith) are unchanged. Forgejo is not enabled until an entry is added to CORN_UPSTREAM_MCP_SERVERS (see deploy/README.md).

    Source commit ebe0a1b09cec1d5989dfddeff9249b32b419fed7.

    Downloads