Skip to content

Commit 4aa0bc0

Browse files
committed
Migrate to plumcp
1 parent ef7120c commit 4aa0bc0

7 files changed

Lines changed: 266 additions & 824 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,11 @@ jobs:
319319
- name: Install MSVC
320320
uses: ilammy/msvc-dev-cmd@v1
321321

322-
- name: Install GraalVM
323-
uses: DeLaGuardo/setup-graalvm@master
322+
- uses: graalvm/setup-graalvm@v1
324323
with:
325-
graalvm: 22.2.0
326-
java: java17
327-
328-
- name: Install native-image component
329-
run: |
330-
gu.cmd install native-image
324+
java-version: '24'
325+
distribution: 'graalvm'
326+
github-token: ${{ secrets.GITHUB_TOKEN }}
331327

332328
# see https://github.com/oracle/graal/issues/4340
333329
- name: GraalVM workaround to support UPX compression

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+
- Replace MCP Java SDK with plumcp for MCP client communication. SSE transport is no longer supported (deprecated in MCP spec 2025-03-26).
6+
57
## 0.112.1
68

79
- Fix MCP OAuth credentials cache not invalidating when the server URL changes.

deps-lock.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,26 @@
10521052
"mvn-repo": "https://repo.clojars.org/",
10531053
"hash": "sha256-RLTLjpPU9rJiwE7Qdx1w3WbnbUXX/HVYIGcaYmVcVDk="
10541054
},
1055+
{
1056+
"mvn-path": "io/github/plumce/plumcp.core-json-cheshire/0.2.0-beta2/plumcp.core-json-cheshire-0.2.0-beta2.jar",
1057+
"mvn-repo": "https://repo.clojars.org/",
1058+
"hash": "sha256-m7kV4sKUFMzNhjiLpIWqdbU9h4038urAnCsWFHy7BHk="
1059+
},
1060+
{
1061+
"mvn-path": "io/github/plumce/plumcp.core-json-cheshire/0.2.0-beta2/plumcp.core-json-cheshire-0.2.0-beta2.pom",
1062+
"mvn-repo": "https://repo.clojars.org/",
1063+
"hash": "sha256-4lwPaipx5jhyog8/irYDq9jqp1DUXAY9ASVgxL5R8Y8="
1064+
},
1065+
{
1066+
"mvn-path": "io/github/plumce/plumcp.core/0.2.0-beta2/plumcp.core-0.2.0-beta2.jar",
1067+
"mvn-repo": "https://repo.clojars.org/",
1068+
"hash": "sha256-eOwf4xkhsLcbpAvFF2mH8tQ/P7YKxqbOlYrsgoORSUQ="
1069+
},
1070+
{
1071+
"mvn-path": "io/github/plumce/plumcp.core/0.2.0-beta2/plumcp.core-0.2.0-beta2.pom",
1072+
"mvn-repo": "https://repo.clojars.org/",
1073+
"hash": "sha256-6HEfDI5KnfLepGxDrVz69SrD5VsgqXot9rjnFr45bs8="
1074+
},
10551075
{
10561076
"mvn-path": "io/methvin/directory-watcher/0.17.3/directory-watcher-0.17.3.jar",
10571077
"mvn-repo": "https://repo1.maven.org/maven2/",
@@ -3477,6 +3497,16 @@
34773497
"mvn-repo": "https://repo1.maven.org/maven2/",
34783498
"hash": "sha256-D1omWgYzGwBJ41K+MsoyLeGLF/PU27cGNdQNppLjWC8="
34793499
},
3500+
{
3501+
"mvn-path": "org/yaml/snakeyaml/2.4/snakeyaml-2.4.jar",
3502+
"mvn-repo": "https://repo1.maven.org/maven2/",
3503+
"hash": "sha256-73ea9dKand6MxwzgNB9cb3c14j7f+Whc6qnTU1m3u38="
3504+
},
3505+
{
3506+
"mvn-path": "org/yaml/snakeyaml/2.4/snakeyaml-2.4.pom",
3507+
"mvn-repo": "https://repo1.maven.org/maven2/",
3508+
"hash": "sha256-4VSjIxzWzeaKq/J0/RiWTUmpwaX16e079HHprnvfCOY="
3509+
},
34803510
{
34813511
"mvn-path": "progrock/progrock/0.1.2/progrock-0.1.2.jar",
34823512
"mvn-repo": "https://repo.clojars.org/",

deps.edn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
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.17.2"}
6+
io.github.plumce/plumcp.core-json-cheshire {:mvn/version "0.2.0-beta2"}
7+
org.yaml/snakeyaml {:mvn/version "2.4"} ;; used by eca.shared for YAML parsing
78
borkdude/dynaload {:mvn/version "0.3.5"}
89
selmer/selmer {:mvn/version "1.12.69"}
910
babashka/fs {:mvn/version "0.5.26"}

resources/META-INF/native-image/eca/eca/native-image.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Args=-J-Dborkdude.dynaload.aot=true \
44
-J-Dclojure.spec.skip-macros=true \
55
--enable-url-protocols=jar,http,https \
66
--enable-all-security-services \
7+
--add-modules=jdk.httpserver \
78
--initialize-at-build-time=com.fasterxml.jackson \
89
--initialize-at-build-time=org.yaml.snakeyaml \
910
--initialize-at-build-time=io.opentelemetry.api.common.AttributeType \

0 commit comments

Comments
 (0)