MCP 2026-07-28 protocol types, JSON-RPC codec and SEP-2243 header validation. No dependencies.
moon add marianoguerra/mcp| Package | Purpose |
|---|---|
| @jsonrpc | JSON-RPC 2.0 frames, request-id generation, the modern error codes (-32020 HeaderMismatch, -32021 MissingRequiredClientCapability, -32022 UnsupportedProtocolVersion) |
| @meta | The _meta envelope every modern request carries, resultType classification (complete / input_required), and the reserved io.modelcontextprotocol/* keys |
| @base64 | Standard base64 over bytes, both ways — the codec behind the =?base64?…?= header sentinel and behind every resources/read blob |
| @xmcpheader | SEP-2243 x-mcp-header scanning: RFC 9110 token validation, static-reachability, the =?base64?…?= sentinel, and the tool-exclusion rule |
| @hypermedia | The org.marianoguerra.mcp/hypermedia extension: HTTP-shaped metadata on results — content type, disposition, RFC 9457 problem details, RFC 8288 links — and the resolution that says what a content block holds and where that answer came from. See docs/hypermedia.md |
| @transport | The Transport and ResponseStream traits, so you can plug in your own I/O |
MCP 2026-07-28 protocol types, JSON-RPC codec and SEP-2243 header validation. No dependencies.