Skip to content

Commit 620b958

Browse files
authored
Merge pull request #461 from joreilly/mcp
mcp server updates
2 parents 838fde0 + faf3a94 commit 620b958

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

gradle/libs.versions.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kotlinxSerialization = "1.9.0"
99
androidGradlePlugin = "8.13.1"
1010
koin = "4.1.1"
1111
koin-annotations = "2.3.1"
12-
ktor = "3.2.3"
12+
ktor = "3.3.2"
1313
osmdroidAndroid = "6.1.20"
1414
osmAndroidCompose = "0.0.5"
1515
tiles = "1.6.0-alpha02"
@@ -129,7 +129,9 @@ ktor-client-content-negotiation = { group = "io.ktor", name = "ktor-client-conte
129129
ktor-client-android = { group = "io.ktor", name = "ktor-client-android", version.ref = "ktor" }
130130
ktor-client-darwin = { group = "io.ktor", name = "ktor-client-darwin", version.ref = "ktor" }
131131
ktor-client-java = { group = "io.ktor", name = "ktor-client-java", version.ref = "ktor" }
132-
ktor-client-js = { group = "io.ktor", name = "ktor-client-js", version.ref = "ktor" }
132+
ktor-server-cio = { group = "io.ktor", name = "ktor-server-cio", version.ref = "ktor" }
133+
ktor-server-sse = { group = "io.ktor", name = "ktor-server-sse", version.ref = "ktor" }
134+
133135

134136
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
135137
ktor-serialization = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }

mcp-server/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ plugins {
66
}
77

88
dependencies {
9-
implementation(platform("io.ktor:ktor-bom:3.2.3"))
9+
implementation(libs.ktor.client.java)
1010
implementation(libs.mcp.kotlin)
11+
implementation(libs.koin.core)
12+
implementation(libs.ktor.server.cio)
13+
implementation(libs.ktor.server.sse)
1114
implementation(projects.common)
12-
implementation(libs.ktor.client.core)
13-
implementation(libs.ktor.client.java)
14-
implementation("io.ktor:ktor-server-core")
15-
implementation("io.ktor:ktor-server-cio")
16-
implementation("io.ktor:ktor-server-sse")
1715
}
1816

1917
java {

mcp-server/src/main/kotlin/server.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ fun configureServer(): Server {
2727
),
2828
ServerOptions(
2929
capabilities = ServerCapabilities(
30-
prompts = ServerCapabilities.Prompts(listChanged = true),
31-
resources = ServerCapabilities.Resources(subscribe = true, listChanged = true),
3230
tools = ServerCapabilities.Tools(listChanged = true)
3331
)
3432
)

0 commit comments

Comments
 (0)