sample: kotlinlang mcp server (#713)
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
This commit is contained in:
parent
bf8dc6d6b1
commit
c946dfc3c2
1 changed files with 2149 additions and 0 deletions
25
samples/kotlinlang-mcp-server/settings.gradle.kts
Normal file
25
samples/kotlinlang-mcp-server/settings.gradle.kts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
rootProject.name = "kotlinlang-mcp-server"
|
||||
|
||||
plugins {
|
||||
// Apply the foojay-resolver plugin to allow automatic download of JDKs
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
versionCatalogs {
|
||||
create("libs") {
|
||||
val mcpKotlinVersion = providers.gradleProperty(
|
||||
"mcp.kotlin.overrideVersion",
|
||||
).orNull
|
||||
if (mcpKotlinVersion != null) {
|
||||
logger.lifecycle("Using the override version $mcpKotlinVersion of MCP Kotlin SDK")
|
||||
version("mcp-kotlin", mcpKotlinVersion)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue