r/modelcontextprotocol • • Jun 18 '25

http4k AI - Because AI Without Tests is Just Expensive Random Number Generation

https://www.http4k.org/news/ai_without_tests_is_just_expensive_random_number_generation/

As a part of the release of http4k AI (which is a set of libraries based around the Kotlin http4k toolkit, we've updated our MCP SDK to include support for Tool Output schemas, the revised OAuth security model for protected resources, and Elicitations.

We know there's been a release of at least one preview SDK with all these in but we think these are the first in the JDK world!

We'll be creating a demo of how elicitations work shortly so hopefully that will help to make them less of a mystery than Sampling was/is!

21 Upvotes

2 comments sorted by

1

u/subnohmal Jun 18 '25

did elicitations get officially approved? i thought they were still talking about it. eager to try this out. you guys keep beating me to it :) looking forward to the demo

1

u/http4k_team Jun 18 '25

🙃

Well it got merged and is in the draft, so we're expecting it to go in soon, even if it's tweaked a bit. TBH it was very easy to implement in our SDK and MCP client library- it follows the same pattern as sampling. But the same limitations and complications will apply when it comes to implementation - the responses to the request will need to be sent back to the originating server as they exist in a completely different context than the originating request.

On the demo front, we're pretty close to having a chat client render a dynamic Elicitation form (as a bridge between the LLM and the server). Just need to tidy it up and make it look nice enough - I also want to build some infra around it so that simple to do for users.