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 is a website building & hosting documentation for Clojure/Script libraries
× close