uploads-v0.36.0
Minor Changes
-
e2d9fd2: Adopt MCP spec
2026-07-28by replacing the hand-rolled protocol core in
@buildinternet/uploads/mcpwith@modelcontextprotocol/server. The stdio
server (uploads mcp) now speaks both the modern2026-07-28revision and
the legacy2025-erainitializehandshake, negotiated per session.Breaking: the
McpServerinterface exported from the@buildinternet/uploads/mcp
subpath no longer has ahandleLine(line)method — the SDK owns JSON-RPC
dispatch and transport, so a consumer drivinghandleLinedirectly must move
to the SDK's transport instead (e.g.serveStdio).createMcpServeralso
gains avalidatoroption for the injected JSON Schema validator; callers
outside this repo's own CLI and worker builds need to pass one explicitly.