MCP 2026-07-28 wire-format helpers for JSON-RPC and tools.
MCP 2026-07-28 wire-format helpers for JSON-RPC and tools.
(error-response id code message)(error-response id code message data)(header-annotations schema)Return [{:name header-name :path property-path :type property-type}] or throw if an x-mcp-header annotation is invalid.
Return [{:name header-name :path property-path :type property-type}]
or throw if an x-mcp-header annotation is invalid.(header-decode value)(header-encode value)(header-type-matches? type value)(header-value v)(integer-number? v)(notification? msg)(parse-json s)(request id method params)(request id method params {:keys [client-info capabilities]})(request-client-capabilities msg)(request-client-info msg)(request-version msg)(request? msg)(response id result server-info)(response? msg)(server-info msg)(tool->openai tool)(write-json x)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |