modelcontextprotocol / modelcontextprotocol/kotlin-sdk

Support a strongly typed InputSchema

Open
#300 9 comments 3 reactions 1 assignee View on GitHub

@kpavlov is already working on this.

Since Feb 12, 2026.

api enhancement help wanted P3
Dominant language
Kotlin
Stars
1.5k
Forks
248
Avg merge
1d 20h
Merged PRs (30d)
23

Description

Is your feature request related to a problem? Please describe.

The input schema is currently a json object, leaving the user to bang their head against the wall to figure out what should be passed in.

Describe the solution you'd like

A strongly typed InputSchema, with properties, required, additionalProperties.

Describe alternatives you've considered

Generating a type from a class would be nice, but I think it should generate an InputSchema object, not a json object.

Additional context

No additional context.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.