kotlin-sdk

The official Kotlin SDK for Model Context Protocol servers and clients. Maintained in collaboration with JetBrains

GitHub Stars

1,026

User Rating

Not Rated

Favorites

0

Views

43

Forks

151

Issues

72

Installation
Difficulty
Advanced
Estimated Time
20-45 minutes

Installation

Installation

Prerequisites

Kotlin: 1.5 or higher
Gradle: 7.0 or higher

Installation Steps

1. Add Repository

Add the new repository to your build file:
kotlin
repositories {
    mavenCentral()
}

2. Add Dependency

Add the dependency:
kotlin
dependencies {
    implementation("io.modelcontextprotocol:kotlin-sdk:$mcpVersion")
}

Troubleshooting

Issue: Unable to resolve dependencies Solution: Ensure that Maven Central is correctly configured.