Skip to main content
Glama
build.gradle.ktsโ€ข1.23 kB
plugins { kotlin("jvm") version "1.9.22" id("com.github.johnrengelman.shadow") version "8.1.1" application } group = "com.example" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") implementation("com.google.code.gson:gson:2.10.1") implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.6") testImplementation("org.jetbrains.kotlin:kotlin-test") testImplementation("org.jetbrains.kotlin:kotlin-test-junit5") } kotlin { jvmToolchain(21) } application { mainClass.set("MainKt") } tasks.named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") { archiveBaseName.set("kotlin-sidecar") archiveClassifier.set("") archiveVersion.set("") // Ensure all dependencies are included mergeServiceFiles() // Set main class manifest { attributes(mapOf("Main-Class" to "MainKt")) } } tasks.build { dependsOn(tasks.shadowJar) } tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { kotlinOptions { jvmTarget = "21" freeCompilerArgs = listOf("-Xjsr305=strict") } } tasks.test { useJUnitPlatform() }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/normaltusker/kotlin-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server