package mcp-kit-eio
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Eio transport adapter for mcp-kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-mcp-v0.2.0.tar.gz
sha256=43c8319a13be91e323ae952a71ab673533fb3295886029eed9d81e5828de5ef7
doc/CHANGELOG.html
Changelog
0.2.0 — 2026-10-02
- Completed the MCP 2026-07-28 server conformance roadmap, including modern stateless requests, Streamable HTTP validation, interactive tools, progress, subscriptions, resource templates, completion, and validated rich content.
- Added a pinned local JSON Schema Draft 2020-12 engine and verified the official required conformance scenarios against a loopback HTTP server.
- Added typed PPX handlers: annotate a classic
let%mcp.toolfunction and derive schemas, decoding, structured output, and text output from OCaml types usingppx_deriving_jsonschemaandppx_deriving_yojson. - Added support for typed lists, arrays, nullable and omitted options, OCaml references, full-range
int64, direct record input, and complex outputs. - Added image, audio, and embedded-resource tool and prompt content.
- Updated user documentation, examples, the PPX playground, and roadmap evidence. The measured production test coverage remains above 80%.
0.1.0 — 2026-10-01
- Validate a missing
_metaobject or missing/non-string protocolVersion before comparing HTTP routing headers, returning JSON-RPC-32602. - Correct modern
initializerejection to JSON-RPC-32601and HTTP 404, preserving legacy initialization. - Added a pinned official MCP 2026 server conformance run against a real loopback HTTP fixture in separate CI, with per-check expected-failure evidence and exact scenario-set regression gates.
- Close HTTP connections immediately after rejected Origin responses, without reading untrusted request bodies.
- Added opt-in MCP 2026 HTTP
subscriptions/listenSSE streams with filtered change notifications, correlated acknowledgment, bounded buffering, idle keepalives, explicit publishers, and graceful shutdown. - Added a pinned, offline JSON Schema Draft 2020-12 engine for tool schemas, including local references, composition, conditionals, tuple validation, and formats. External schema retrieval remains disabled.
- Added MCP 2026-07-28 completed-result metadata, conservative cache hints, per-request stateless dispatch, and
server/discoveralongside the legacy handshake. Missing-resource errors use-32602for modern requests and preserve legacy-32002. - Added modern Streamable HTTP POST validation and status mapping to the Cohttp-Eio adapter, with Origin allowlisting and bounded request bodies.
- Added modern MRTR interactive tool handlers with declared response keys, capability checks, and verification before accepting echoed request state.
- Added typed MCP server core with tools, resources, prompts, stdio and Eio adapters.
- Added mandatory PPX tool declarations.
- Added JSON Schema builders, validation, and output schemas.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page