Commit Graph
7 Commits
Author SHA1 Message Date
claudeandClaude Opus 5 2bba426cee feat(mcp): migrate to mcp 2.x (MCPServer), replacing the <2 ceiling
Pilot for moving the fleet off mcp 1.x before it goes away. The port is
three mechanical changes plus docs:

  - import:      mcp.server.fastmcp.FastMCP -> mcp.server.mcpserver.MCPServer
  - constructor: transport options moved off it; MCPServer(name) only
  - run():       host/port/stateless_http/transport_security are now kwargs,
                 and `mcp.settings` no longer exists

`@mcp.tool()` is unchanged — all six tools keep their decorators and
signatures untouched.

Verified, not assumed:

1. tools/list is byte-for-byte identical between mcp 1.27.1 and 2.x
   (6 tools, same names, same inputSchema properties and required lists,
   dumped with by_alias=True so the comparison is in wire format). This
   was the real risk: 2.x switched the protocol types to snake_case
   internally, and tool schemas are what decide routing.
2. The server boots for real over streamable-http with stateless_http=True
   and DNS-rebinding protection disabled, and answers initialize 200 with
   the same capability set.
3. CI now runs `import docs_mcp.server` inside the built image before push.

One behavior change: an unversioned server reports serverInfo.version ""
under 2.x instead of the SDK version, so Drawbar will see an empty version
string. Cosmetic — left as-is rather than inventing a version scheme.

Dependency note: 2.x has no [fastmcp] extra, replaces httpx with httpx2,
and requires opentelemetry-api. Our own httpx>=0.27 pin is unaffected —
httpx2 is a separate distribution.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FnVuG79cYPcRLTp4pC8ujR
2026-09-10 14:22:00 -04:00
claude e5ec32bff6 fix(deps): pin mcp<2 — prod has been crash-looping since 2026-09-01 (#22)
Image rebuild (skip scrape) / build (push) Successful in 6m5s
Co-authored-by: claude <[email protected]>
2026-09-10 14:06:29 -04:00
claude 953e0f10f9 fix(ci): image tag was empty on scheduled runs (#20)
Co-authored-by: claude <[email protected]>
2026-09-01 11:19:08 -04:00
claude a54fac240f Add university-extension trials: Illinois VT + Iowa ICPT + Ohio OCPT (+123 cross-vendor trial docs) (#19)
Image rebuild (skip scrape) / build (push) Successful in 5m54s
Co-authored-by: claude <[email protected]>
Co-committed-by: claude <[email protected]>
2026-06-10 08:36:19 -04:00
claude 0bac06b7b6 Add RobSeeCo (Rob-See-Co + Innotech): 130 corn/soy varieties from the seed-guide PDF (#18)
Image rebuild (skip scrape) / build (push) Successful in 4m48s
Co-authored-by: claude <[email protected]>
Co-committed-by: claude <[email protected]>
2026-06-09 23:29:38 -04:00
claude 84ad2b1de6 Add 4 independent seed brands: Latham + Stine + 1st Choice + Burrus (+623 varieties) (#17)
Image rebuild (skip scrape) / build (push) Successful in 4m44s
Co-authored-by: claude <[email protected]>
Co-committed-by: claude <[email protected]>
2026-06-04 21:58:07 -04:00
claude 22e8092faf Add ProHarvest Seeds: 119 varieties + 161 cross-vendor plot reports (#16)
Image rebuild (skip scrape) / build (push) Successful in 5m46s
Co-authored-by: claude <[email protected]>
Co-committed-by: claude <[email protected]>
2026-06-04 21:05:30 -04:00