Optional MCP resource contribution contract, independent of IAddon.
Optional MCP resource contribution contract, independent of IAddon.
(list-resources this)Return dynamically enumerated MCP resource descriptors with :uri, :name, optional :description/:mimeType, and a JVM-local :handler (fn [uri] ...).
Return dynamically enumerated MCP resource descriptors with :uri, :name, optional :description/:mimeType, and a JVM-local :handler (fn [uri] ...).
(read-resources this uri)Read the descriptor selected by the host. Called only for an advertised URI.
Read the descriptor selected by the host. Called only for an advertised URI.
(read-resource addon uri)Read only a URI advertised by this addon; never invoke an undeclared handler.
Read only a URI advertised by this addon; never invoke an undeclared handler.
(resources addon)Host accessor. Legacy addons have no resources. Invalid descriptors are refused before they can be advertised or invoked.
Host accessor. Legacy addons have no resources. Invalid descriptors are refused before they can be advertised or invoked.
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 |