add new sample: kotlinlang mcp server with 2 tools - search - get_page ## How Has This Been Tested? inspector/unit ## Breaking Changes none ## Checklist - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [x] I have added appropriate error handling - [x] I have added or updated documentation as needed
31 lines
1.9 KiB
TOML
31 lines
1.9 KiB
TOML
[versions]
|
|
kotlin = "2.3.20"
|
|
ktor = "3.3.3"
|
|
mcp-kotlin = "0.11.1"
|
|
serialization = "1.10.0"
|
|
coroutines = "1.10.2"
|
|
logback = "1.5.32"
|
|
shadow = "9.4.1"
|
|
|
|
[libraries]
|
|
ktor-bom = { group = "io.ktor", name = "ktor-bom", version.ref = "ktor" }
|
|
ktor-server-netty = { group = "io.ktor", name = "ktor-server-netty" }
|
|
ktor-server-sse = { group = "io.ktor", name = "ktor-server-sse" }
|
|
ktor-server-content-negotiation = { group = "io.ktor", name = "ktor-server-content-negotiation" }
|
|
ktor-server-cors = { group = "io.ktor", name = "ktor-server-cors" }
|
|
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio" }
|
|
ktor-client-content-negotiation = { group = "io.ktor", name = "ktor-client-content-negotiation" }
|
|
ktor-serialization-kotlinx-json = { group = "io.ktor", name = "ktor-serialization-kotlinx-json" }
|
|
mcp-kotlin-server = { group = "io.modelcontextprotocol", name = "kotlin-sdk-server", version.ref = "mcp-kotlin" }
|
|
mcp-kotlin-client = { group = "io.modelcontextprotocol", name = "kotlin-sdk-client", version.ref = "mcp-kotlin" }
|
|
mcp-kotlin-testing = { group = "io.modelcontextprotocol", name = "kotlin-sdk-testing", version.ref = "mcp-kotlin" }
|
|
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "serialization" }
|
|
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
|
|
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
|
|
ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock" }
|
|
|
|
[plugins]
|
|
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
|
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
|
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
|