Prerelease 0.7.2-alpha1 (#278)

## Motivation and Context
- test new publish plugin
- add package.kt to kotlin-sdk umbrella module to resolve klib
generation errors during Maven publishing


## Breaking Changes
no

## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## 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
- [ ] I have added appropriate error handling
- [ ] I have added or updated documentation as needed
This commit is contained in:
Pavel Gorgulov 2025-09-18 15:18:12 +02:00 • committed by GitHub
commit 77357a1d22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 27 additions and 3 deletions

View file

@ -6,7 +6,7 @@ plugins {
allprojects { allprojects {
group = "io.modelcontextprotocol" group = "io.modelcontextprotocol"
version = "0.7.2-SNAPSHOT" version = "0.7.2-alpha1"
} }
dependencies { dependencies {

View file

@ -5,7 +5,6 @@ plugins {
} }
mavenPublishing { mavenPublishing {
signAllPublications()
publishToMavenCentral(automaticRelease = true) publishToMavenCentral(automaticRelease = true)
pom { pom {

View file

@ -20,7 +20,7 @@ kotest = "6.0.3"
awaitility = "4.3.0" awaitility = "4.3.0"
# Samples # Samples
mcp-kotlin = "0.7.2-SNAPSHOT" mcp-kotlin = "0.7.2-alpha1"
anthropic = "2.7.0" anthropic = "2.7.0"
shadow = "8.1.1" shadow = "8.1.1"

View file

@ -0,0 +1,25 @@
@file:Suppress("ktlint:standard:no-empty-class-body", "ktlint:standard:kdoc")
/**
* # MCP Kotlin SDK
*
* A Kotlin Multiplatform implementation of the Model Context Protocol (MCP).
*
* This is the main SDK module that provides a convenient single dependency
* for all MCP functionality including:
*
* - Core protocol types and utilities ([kotlin-sdk-core])
* - Client implementations ([kotlin-sdk-client])
* - Server implementations ([kotlin-sdk-server])
*
* ## Usage
*
* Add this dependency to your project to get access to all MCP Kotlin SDK functionality:
*
* ```kotlin
* implementation("io.modelcontextprotocol:kotlin-sdk:$version")
* ```
*
* This will transitively include all core, client, and server components.
*/
package io.modelcontextprotocol.kotlin.sdk