modelcontextprotocol / modelcontextprotocol/kotlin-sdk
support generating json schema for tools
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.5k
- Forks
- 248
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 23
Description
the mcp docs for tools contain this:
Best practices
When implementing tools:
...
Use detailed JSON Schema definitions for parameters
..
and the typescript sdk examples just dynamically create json schema from the zod types that the typescript examples use. it would be great if the kotlin sdk has something like this too, or an example how to do it. (the current example is very bare bones)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Kotlin SDK's current tool example and compare it with the TypeScript SDK examples that dynamically create JSON Schema from Zod types. Review the MCP tools documentation for the required schema behavior. Done means the Kotlin SDK either supports generating tool parameter schemas or provides a complete documented example showing how to do so.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100