Skip to content

Commit 7ab8b6a

Browse files
committed
Bump MCP java sdk to 0.13.1
1 parent 56ef1ab commit 7ab8b6a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Bump MCP java sdk to 0.13.1
6+
57
## 0.57.0
68

79
- Greatly reduce token consuming of `eca_directory_tree`

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
org.clojure/core.async {:mvn/version "1.8.741"}
44
org.babashka/cli {:mvn/version "0.8.65"}
55
com.github.clojure-lsp/jsonrpc4clj {:mvn/version "1.0.2"}
6-
io.modelcontextprotocol.sdk/mcp {:mvn/version "0.12.1"}
6+
io.modelcontextprotocol.sdk/mcp {:mvn/version "0.13.1"}
77
borkdude/dynaload {:mvn/version "0.3.5"}
88
babashka/fs {:mvn/version "0.5.26"}
99
babashka/process {:mvn/version "0.6.23"}

src/eca/features/tools/mcp.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
[com.fasterxml.jackson.databind ObjectMapper]
1111
[io.modelcontextprotocol.client McpClient McpSyncClient]
1212
[io.modelcontextprotocol.client.transport HttpClientStreamableHttpTransport ServerParameters StdioClientTransport]
13+
[io.modelcontextprotocol.json McpJsonMapper]
1314
[io.modelcontextprotocol.spec
1415
McpSchema$CallToolRequest
1516
McpSchema$CallToolResult
@@ -74,7 +75,7 @@
7475
:uri
7576
shared/uri->filename)
7677
(config/get-property "user.home"))]
77-
(proxy [StdioClientTransport] [(.build b)]
78+
(proxy [StdioClientTransport] [(.build b) (McpJsonMapper/getDefault)]
7879
(getProcessBuilder [] (-> (ProcessBuilder. ^List pb-init-args)
7980
(.directory (io/file work-dir))))))))
8081

0 commit comments

Comments
 (0)