The process is best described in the example-server
and example-client
projects
which are well commented.
It boils down to this:
mcp-toolkit.json-rpc/handle-message
with your message in the context: (json-rpc/handle-message (-> context (assoc :message message))
(client/send-first-handshake-message context)
Can you improve this documentation?Edit on GitHub
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 |