Pure Clojure definitions for JSON-RPC 2.0 and MCP protocol messages.
Pure Clojure definitions for JSON-RPC 2.0 and MCP protocol messages.
(call-tool-request id name arguments)Builds the MCP tools/call request.
Builds the MCP tools/call request.
(initialize-request id client-name client-version capabilities)Builds the MCP initialize request payload.
Builds the MCP initialize request payload.
(initialized-notification)Builds the MCP initialized notification.
Builds the MCP initialized notification.
(json->map json-str)Safely parse JSON string to Clojure map with keyword keys.
Safely parse JSON string to Clojure map with keyword keys.
(list-tools-request id)Builds the MCP tools/list request.
Builds the MCP tools/list request.
(map->json m)Serialize Clojure map to JSON string.
Serialize Clojure map to JSON string.
(notification method params)Builds a JSON-RPC notification map (no id).
Builds a JSON-RPC notification map (no id).
(request id method params)Builds a JSON-RPC request map.
Builds a JSON-RPC request map.
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 |