Skip to content

Conversation

kpavlov
Copy link
Contributor

@kpavlov kpavlov commented Sep 30, 2025

#298 Refactor SDK core:

Use generated Role, Prompt, and ToolAnnotations and move to shared "models" package. Update references, tests, and OpenAPI generator settings.

Motivation and Context

Moving towards model classes generation from MCP JSON Schema.

How Has This Been Tested?

  • Unit tests updated
  • Regression tests

Breaking Changes

  • Role, Prompt, and ToolAnnotations and move to "models" package. Other models should move from io.modelcontextprotocol.kotlin.sdk to io.modelcontextprotocol.kotlin.sdk.models anyway (in a separate PR)

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

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

…olAnnotations` to shared models package. Update references, tests, and OpenAPI generator settings.
@kpavlov kpavlov changed the title #298 Refactor SDK module structure: migrate Role, Prompt, and `To… #298 Use generated Role, Prompt, and ToolAnnotations. Move them to models package Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant