Commit graph

55 commits

Author SHA1 Message Date
Leonid Stashevsky
0f3adfdd14
Release 0.4.0 (#61) 0.4.0 2025-03-26 11:36:43 +00:00
Pavel Gorgulov
68faa51235
Remove CompletableDeferred (#57)
Co-authored-by: Leonid Stashevsky <e5l@users.noreply.github.com>
2025-03-26 11:31:22 +00:00
이용진
1fbf819ac5
Change ErrorCodeSerializer descriptor kind (#54)
* Change descriptor to INT for correct serialization

* Remove @OptIn(ExperimentalSerializationApi::class)

bacause The opt-in annotation is redundant: no matching experimental API is used

---------

Co-authored-by: Leonid Stashevsky <e5l@users.noreply.github.com>
2025-03-26 09:05:43 +00:00
Abdullatif Ghajar
be4f9c37e0
Test and fix #52 (#53)
* Add test to reproduce #52

* Solve issue #52 by improving url handling in SseClientTransport

* Remove unnecessary url processing

---------

Co-authored-by: Abdullatif.Ghajar <abdullatif.ghajar@jetbrains.com>
2025-03-26 08:29:48 +00:00
Leland Takamine
b0532d9e9b
Support consumers that require Java 8 (#60) 2025-03-26 08:23:09 +00:00
Pavel Gorgulov
58f2bbab0c
add client sample (#55)
* add mcp Client example

* Add sample links for weather-stdio-server and kotlin-mcp-client to main readme
2025-03-18 17:49:04 +00:00
Adithya Kamath
7d2e993b96
Remove the double bang operator and replace it with a null check instead. (#49)
2. add try catch in the block for transport send in acatch block

Co-authored-by: Leonid Stashevsky <e5l@users.noreply.github.com>
2025-03-12 09:48:21 +00:00
Pavel Gorgulov
0a6490c7f3
Add Kotlin Weather STDIO server sample (#50)
* Add Kotlin Weather STDIO server sample

* Update gradle build command in Readme to exclude tests
2025-03-11 08:16:28 +00:00
Sebastian Aigner
c57c56e18f
Change sample tool name to conform to Claude's naming conventions, do not emit any text on stdout when running in stdio mode (#48) 2025-03-07 14:28:26 +00:00
Jose Flores
164d276336
Update sample project to use library version 0.3.0 (#47)
Co-authored-by: Leonid Stashevsky <e5l@users.noreply.github.com>
2025-02-25 08:20:17 +00:00
Jose Flores
78ef0f9e2b
Process JSONRPCRequest with default param (#42) (#46) 2025-02-23 08:40:05 +00:00
Kazik Pogoda
0d6fa860cd
Add support for testing JSON serialization of the mcp API (#45)
* Add kotest-assertions-json dependency + ToolSerializationTest

* ToolSerializationTest update
2025-02-21 17:21:14 +00:00
Alexander Sysoev
cd7de7a7a2
Enable auto-merge instead of merge queue (#44) 2025-02-18 17:53:50 +01:00
Alexander Sysoev
8a9dc558f7
Fix merge queue config (2) (#39)
* Fix merge queue config

* apiDump
2025-01-27 08:56:15 +00:00
Alexander Sysoev
0549c51f86
Fix merge queue config (#38) 2025-01-24 12:47:29 +00:00
Alexander Sysoev
de5ef4460f
Modify SSE config for server (#23)
* Fixed compilation

* Added `mcp` Ktor server route alongside Application extension

* Fix AbstractTransport to not skip messages
2025-01-24 12:31:32 +00:00
Alexander Sysoev
d9ab85f245
Add merge queue rules (#37) 2025-01-24 13:17:09 +01:00
Leonid Stashevsky
8426228bf8
Migrate to kotlin style callbacks. Close #14 (#36) 2025-01-14 16:24:55 +01:00
Kazik Pogoda
c2c0df5992
Add org.jetbrains.kotlinx.binary-compatibility-validator plugin (#35) 2025-01-08 09:12:56 +01:00
leonid.stashevsky
ff0eaa6084 Release 0.3.0 0.3.0 2025-01-07 10:32:28 +01:00
Pavel Gorgulov
e8c2f007a5
Migrate project to Multiplatform (KMP) (#22)
* Migrate to Kotlin multiplatform

* Fix publication

* Switch to using `alias` for the AtomicFu plugin

---------

Co-authored-by: Alexander Sysoev <Alexander.Sysoev@jetbrains.com>
2025-01-07 10:26:16 +01:00
Sergey Ignatov
67d1f7775a
Cleanup API (#29) 2024-12-23 17:14:24 +01:00
Sergey Ignatov
be6e47391f
Rewrite properties in idiomatic Kotlin, fix #21 (#28) 2024-12-23 09:05:12 +01:00
Sergey Ignatov
772195b5e6
Drop generics from Protocol class (#30)
The generic types in the Protocol class were not providing significant value and made
the code more complex. This change simplifies the API by removing these generic
parameters while maintaining the same functionality.
2024-12-23 09:04:06 +01:00
Sergey Ignatov
9931b1e666
Fix the difference in error handling between Kotlin and Typescript implementations in onClose (#31)
Makes the error handling behavior consistent between Kotlin and TypeScript
implementations when handling connection closure events.
2024-12-23 09:03:35 +01:00
Sergey Ignatov
d8a8f89465
0.2.0 (#27) 0.2.0 2024-12-22 11:58:23 +01:00
Sergey Ignatov
16f60b4bc4
Accept requestID as a string #25 (#26) 2024-12-22 08:43:46 +01:00
Konstantin Aleev
512e7b65aa
Add required field to tool input (#24) 2024-12-21 20:38:19 +01:00
leonid.stashevsky
c9b90290df Update sample to 0.1.0 2024-12-17 20:19:11 +01:00
leonid.stashevsky
c0f404eb7b Update publication config 0.1.0 2024-12-17 19:50:27 +01:00
leonid.stashevsky
507cf6c964 Change repository path 2024-12-17 19:42:05 +01:00
leonid.stashevsky
8101c97970 Cleanup gradle configuration 2024-12-17 17:43:08 +01:00
leonid.stashevsky
1f32a72b6c Change content permission and ignore wesocket test 2024-12-17 16:41:20 +01:00
leonid.stashevsky
081b4eb406 Provide github token 2024-12-17 16:26:34 +01:00
leonid.stashevsky
d738f5dd34 Change publishing task to avoid creating GitHub release 2024-12-17 16:07:22 +01:00
Leonid Stashevsky
98410df7af
Introduce jreleaser to make the release (#19) 2024-12-17 15:55:27 +01:00
Leonid Stashevsky
74dbce4fcf
Disable test to make the release (#18) 2024-12-17 13:29:45 +01:00
Leonid Stashevsky
ac3c9b1e43
Setup sign and publishing configuration (#15)
* Setup publishing configuration

* Update signing properties and action name

* Update token name

* Align property names

* Rename step
2024-12-17 12:39:33 +01:00
Alexander Sysoev
0bd1e355cc
Fix package name in README (#16) 2024-12-17 09:48:10 +01:00
Leonid Stashevsky
215effb7d6
Update package name across the project (#2)
* Change package name

* Update publication

* Update docs

* Update settings.gradle.kts, README and CONTRIBUTING

* Cleanup leftovers
2024-12-17 07:28:51 +01:00
Alexander Sysoev
9e71ab0b21
fix compilation (#1) 2024-12-16 21:30:17 +01:00
leonid.stashevsky
62d2b2839d Update license 2024-12-16 21:20:35 +01:00
Alexander Sysoev
852a4a3d5e
Enable Explicit Api (#21) 2024-12-16 20:59:53 +01:00
Pavel Gorgulov
a63ee76ff6
add contribution guide and code of conduct (#11) 2024-12-16 14:47:01 +01:00
Alexander Sysoev
5d1854723b
Added Space Packages Publication (#9) 2024-12-16 14:38:53 +01:00
Leonid Stashevsky
4922c2cd5c
Update README.md (#10) 2024-12-16 14:33:57 +01:00
Leonid Stashevsky
42f560e665
Add server sample (#8)
* Change required dependencies from implementation to api

* Add kotlin mcp server sample

Fixes #6

* Add explicit nop logger to clean CLI

* Update readme with reference
2024-12-16 13:27:00 +01:00
Pavel Gorgulov
7c0eeaf081
Add documentation generated by dokka (#7) 2024-12-16 13:15:44 +01:00
Sergey Ignatov
76e5c334f3
Create LICENSE (#2) 2024-12-15 22:19:11 +01:00
Sergey Ignatov
063a69f257
Update README.md 2024-12-15 21:12:09 +01:00