Skip to content

Commit 73685ed

Browse files
committed
Prepare for the v0.1.0-alpha release.
1 parent fe82da0 commit 73685ed

File tree

8 files changed

+61
-9
lines changed

8 files changed

+61
-9
lines changed

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types:
6+
- published # reacts to releases and pre-releases, but not their drafts
7+
8+
jobs:
9+
10+
test-and-release:
11+
12+
name: Validate, Jar and Deploy
13+
14+
timeout-minutes: 60
15+
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: lts/hydrogen
24+
25+
- name: Setup Clojure
26+
uses: DeLaGuardo/setup-clojure@master
27+
with:
28+
cli: latest
29+
30+
- name: Install dependencies for unit tests
31+
run: npm ci
32+
33+
- name: Unit tests
34+
run: ./bin/kaocha
35+
36+
- name: Build the jar and update pom.xml's version
37+
run: clojure -X:jar
38+
39+
- name: Deploy the jar and pom files to Clojars
40+
run: clojure -X:deploy
41+
env:
42+
CLOJARS_USERNAME: green-coder
43+
CLOJARS_PASSWORD: "${{ secrets.CLOJARS_DEPLOY_TOKEN }}"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
Versions prior to v0.1.0 are considered experimental, their API may change.
77

88
## [Unreleased]
9+
10+
## v0.1.0-alpha
11+
12+
Added:
13+
- First release 🎉

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This library is a very unofficial MCP SDK in Clojure.
99
It handles the communication between MCP clients and MCP servers, and attempts to provide
1010
a Clojure-ish experience to developers working on expending the MCP ecosystem.
1111

12-
Status: **"work in progress"**
12+
Status: **alpha quality**
1313

1414
Tested on Claude Desktop and Claude Code, no problems found for the features implemented.
1515

deps.edn

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
:exec-args {:sync-pom true
3030
:group-id "fi.metosin"
3131
:artifact-id "mcp-toolkit"
32-
:version "0.0.1"
33-
:jar "mcp-toolkit.jar"}}}}
32+
:version "0.1.0-alpha"
33+
:jar "mcp-toolkit.jar"}}
3434

35+
:deploy {:extra-deps {slipset/deps-deploy {:mvn/version "0.2.2"}}
36+
:exec-fn deps-deploy.deps-deploy/deploy
37+
:exec-args {:installer :remote
38+
:artifact "mcp-toolkit.jar"}}}}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<packaging>jar</packaging>
55
<groupId>fi.metosin</groupId>
66
<artifactId>mcp-toolkit</artifactId>
7-
<version>0.0.1</version>
7+
<version>0.1.0-alpha</version>
88
<name>MCP Toolkit</name>
99
<description>Utilities to build MCP clients and servers in Clojure</description>
1010
<inceptionYear>2025</inceptionYear>
@@ -18,7 +18,7 @@
1818
<url>https://github.com/metosin/mcp-toolkit</url>
1919
<connection>scm:git:git://github.com/metosin/mcp-toolkit.git</connection>
2020
<developerConnection>scm:git:ssh://[email protected]/metosin/mcp-toolkit.git</developerConnection>
21-
<tag>v0.0.1</tag>
21+
<tag>v0.1.0-alpha</tag>
2222
</scm>
2323
<dependencies>
2424
<dependency>

src/mcp_toolkit/client.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
on-server-tool-list-changed
316316
on-server-tool-list-updated]
317317
:or {client-info {:name "mcp-toolkit"
318-
:version "0.0.1"}
318+
:version "0.1.0-alpha"}
319319
client-capabilities {:roots {:listChanged true}}
320320
protocol-version "2025-03-26"
321321
on-initialized default-on-initialized

src/mcp_toolkit/server.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
on-client-root-list-updated ;; called after the server updated its data
303303
,]
304304
:or {server-info {:name "mcp-toolkit"
305-
:version "0.0.1"}
305+
:version "0.1.0-alpha"}
306306
logging-level "info"
307307
on-initialized request-root-list
308308
on-client-root-list-changed request-root-list}}]

test/mcp_toolkit/core_test.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@
112112
(is (= [[:-> {:jsonrpc "2.0"
113113
:method "initialize"
114114
:params {:clientInfo {:name "mcp-toolkit"
115-
:version "0.0.1"}
115+
:version "0.1.0-alpha"}
116116
:protocolVersion "2025-03-26"
117117
:capabilities {:roots {:listChanged true}}}
118118
:id 0}]
119119
[:<- {:jsonrpc "2.0"
120120
:result {:serverInfo {:name "mcp-toolkit"
121-
:version "0.0.1"}
121+
:version "0.1.0-alpha"}
122122
:protocolVersion "2025-03-26"
123123
:capabilities {:logging {}
124124
:completions {}

0 commit comments

Comments
 (0)